/* ============================================================
   FOVERO — style.css
   Premium interior civil contracting website
   UAE
   ============================================================ */


/* ============================================================
   1. CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Colors */
  --color-dark:        #231f20;
  --color-dark-card:   #2d2829;
  --color-dark-hover:  #322d2e;
  --color-red:         #ed1b24;
  --color-red-dark:    #c9151d;
  --color-white:       #ffffff;
  --color-cream:       #f8f7f5;
  --color-cream-dark:  #f0eeeb;

  /* Gray Scale */
  --color-gray-100:    #f5f5f5;
  --color-gray-200:    #e8e8e8;
  --color-gray-300:    #d0d0d0;
  --color-gray-400:    #a8a8a8;
  --color-gray-500:    #787878;
  --color-gray-600:    #555555;
  --color-gray-700:    #333333;
  --color-gray-800:    #1e1e1e;

  /* Typography */
  --font-display:      'Cormorant Garamond', Georgia, serif;
  --font-body:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font Sizes — fluid with clamp() */
  --text-xs:           clamp(0.6875rem, 1.5vw, 0.75rem);
  --text-sm:           clamp(0.8125rem, 1.8vw, 0.875rem);
  --text-base:         clamp(0.9375rem, 2vw, 1rem);
  --text-md:           clamp(1rem, 2.2vw, 1.125rem);
  --text-lg:           clamp(1.125rem, 2.5vw, 1.25rem);
  --text-xl:           clamp(1.25rem, 3vw, 1.5rem);
  --text-2xl:          clamp(1.5rem, 3.5vw, 2rem);
  --text-3xl:          clamp(2rem, 4.5vw, 2.75rem);
  --text-4xl:          clamp(2.5rem, 5.5vw, 3.5rem);
  --text-5xl:          clamp(3rem, 7vw, 5rem);
  --text-hero:         clamp(3.5rem, 8vw, 6.5rem);

  /* Spacing (4px base scale) */
  --space-1:           0.25rem;   /* 4px  */
  --space-2:           0.5rem;    /* 8px  */
  --space-3:           0.75rem;   /* 12px */
  --space-4:           1rem;      /* 16px */
  --space-5:           1.25rem;   /* 20px */
  --space-6:           1.5rem;    /* 24px */
  --space-8:           2rem;      /* 32px */
  --space-10:          2.5rem;    /* 40px */
  --space-12:          3rem;      /* 48px */
  --space-16:          4rem;      /* 64px */
  --space-20:          5rem;      /* 80px */
  --space-24:          6rem;      /* 96px */
  --space-32:          8rem;      /* 128px */

  /* Border Radius */
  --radius-sm:         4px;
  --radius-md:         8px;
  --radius-lg:         12px;
  --radius-xl:         16px;

  /* Shadows */
  --shadow-sm:         0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md:         0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg:         0 12px 32px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
  --shadow-xl:         0 24px 48px rgba(0, 0, 0, 0.16), 0 8px 16px rgba(0, 0, 0, 0.08);
  --shadow-dark:       0 8px 24px rgba(0, 0, 0, 0.35);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --transition-bounce: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Nav */
  --nav-height:        72px;

  /* Container */
  --container-max:     1240px;
  --container-pad:     clamp(1.25rem, 5vw, 3rem);
}


/* ============================================================
   2. RESET
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-dark);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}


/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--space-24);
}

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

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

/* Section Tags */
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: var(--space-4);
}

.section-tag-light {
  color: rgba(237, 27, 36, 0.85);
}

/* Section Headings */
.section-heading {
  font-size: var(--text-4xl);
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-dark);
  margin-bottom: var(--space-6);
}

.section-heading em {
  font-style: italic;
  font-weight: 300;
}

.section-heading-light {
  color: var(--color-white);
}

/* Section header (centered layout) */
.section-header {
  margin-bottom: var(--space-16);
}

.section-header-center {
  text-align: center;
}

.section-header-center .section-heading {
  margin-inline: auto;
}

/* Section subtitle */
.section-subtitle {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.7;
}

.section-subtitle-dark {
  color: var(--color-gray-500);
}


/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base), transform var(--transition-fast), box-shadow var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
}

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

.btn:active {
  transform: translateY(0);
}

/* Sizes */
.btn-lg {
  font-size: var(--text-sm);
  padding: var(--space-4) var(--space-8);
}

.btn-full {
  width: 100%;
}

/* Red solid */
.btn-red {
  background-color: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

.btn-red:hover {
  background-color: var(--color-red-dark);
  border-color: var(--color-red-dark);
  box-shadow: 0 6px 20px rgba(237, 27, 36, 0.35);
}

/* Dark solid */
.btn-dark {
  background-color: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
}

.btn-dark:hover {
  background-color: #3a3335;
  border-color: #3a3335;
  box-shadow: var(--shadow-md);
}

/* Ghost / Outline — light (for dark backgrounds) */
.btn-ghost {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* Outline — dark (for light backgrounds) */
.btn-outline {
  background-color: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}

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

/* WhatsApp button */
.btn-whatsapp {
  background-color: #25d366;
  color: var(--color-white);
  border-color: #25d366;
}

.btn-whatsapp:hover {
  background-color: #1da851;
  border-color: #1da851;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}


/* ============================================================
   5. SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ============================================================
   6. NAVIGATION
   ============================================================ */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition-slow), box-shadow var(--transition-slow), backdrop-filter var(--transition-slow);
}

.nav-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  gap: var(--space-8);
}

/* Logo image-based */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-full {
  height: 32px;
  width: auto;
  display: block;
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.logo-icon {
  height: 32px;
  width: auto;
  display: none;
  image-rendering: auto;
}

/* When nav is over hero (transparent/light state): invert logo to white */
.nav-header.nav-light .logo-full,
.nav-header.nav-light .logo-icon {
  filter: brightness(0) invert(1);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-left: auto;
}

.nav-link {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-base);
  padding-bottom: 2px;
}

.nav-header.scrolled .nav-link {
  color: var(--color-gray-600);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-red);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
}

.nav-header.scrolled .nav-link:hover,
.nav-header.scrolled .nav-link.active {
  color: var(--color-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Nav CTA */
.nav-cta {
  flex-shrink: 0;
  margin-left: var(--space-4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  position: relative;
  color: var(--color-white);
}

.nav-header.scrolled .hamburger {
  color: var(--color-dark);
}

.bar {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: all 0.3s ease;
  transform-origin: center;
  border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}

.mobile-menu.open {
  pointer-events: all;
}

.mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(35, 31, 32, 0.6);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mobile-menu.open .mobile-menu-overlay {
  opacity: 1;
}

.mobile-menu-nav {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--color-white);
  padding: 5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-menu.open .mobile-menu-nav {
  transform: translateX(0);
}

.mobile-nav-link {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-dark);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(35, 31, 32, 0.08);
  transition: color 0.2s;
}

.mobile-nav-link:hover {
  color: var(--color-red);
}

.mobile-cta {
  margin-top: 1.5rem;
  text-align: center;
}


/* ============================================================
   7. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-dark);
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Background image */
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  opacity: 0.4;
  display: block;
  will-change: transform;
}

/* CSS Grid pattern overlay */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Red glow top-right */
.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(237, 27, 36, 0.12) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
}

/* Dark gradient overlay */
.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    to bottom,
    rgba(35, 31, 32, 0.55) 0%,
    rgba(35, 31, 32, 0.4) 40%,
    rgba(35, 31, 32, 0.75) 100%
  );
  pointer-events: none;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-inner {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  padding-top: var(--space-24);
  padding-bottom: calc(var(--space-24) + 5rem); /* extra bottom padding to clear scroll indicator */
}

/* Hero Badge */
.hero-badge {
  display: inline-block;
  margin-bottom: var(--space-6);
}

.hero-badge span {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: var(--space-2) var(--space-4);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

/* Hero Heading */
.hero-heading {
  font-size: var(--text-hero);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

.hero-heading em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}

/* Hero Subtext */
.hero-subtext {
  font-size: var(--text-lg);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
}

/* Hero Actions */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Scroll Indicator — fixed at bottom of hero */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.scroll-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  border-radius: 1px;
}

.scroll-line-inner {
  width: 100%;
  height: 50%;
  background: rgba(255, 255, 255, 0.5);
  animation: scrollSlide 2s ease-in-out infinite;
}

@keyframes scrollSlide {
  0%   { transform: translateY(-100%); }
  50%  { transform: translateY(100%); }
  100% { transform: translateY(200%); }
}

/* Page load: hero items start visible after JS removes class */
.hero .reveal-up {
  opacity: 0;
  transform: translateY(20px);
}

.hero .reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   8. ABOUT SECTION
   ============================================================ */
.about {
  background-color: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-content .section-tag {
  display: block;
}

.about-content .section-heading {
  font-size: var(--text-4xl);
}

.about-lead {
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.about-body {
  font-size: var(--text-base);
  color: var(--color-gray-500);
  line-height: 1.75;
  margin-bottom: var(--space-8);
}

/* "Why Choose Fovero" feature list */
.about-features {
  padding: var(--space-6) 0;
}

.about-feature-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: var(--space-6);
}

.about-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-gray-200);
  transition: border-color var(--transition-base);
}

.about-feature-item:first-child {
  border-top: 1px solid var(--color-gray-200);
}

.about-feature-item:hover {
  border-color: var(--color-red);
}

.about-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-400);
  transition: color var(--transition-base);
  border-left: 2px solid transparent;
  padding-left: var(--space-2);
  margin-left: -2px;
}

.about-feature-item:hover .about-feature-icon {
  color: var(--color-red);
  border-left-color: var(--color-red);
}

.about-feature-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.about-feature-name {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-dark);
  font-family: var(--font-body);
}

.about-feature-desc {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  line-height: 1.6;
}


/* ============================================================
   9. SERVICES SECTION
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.service-card {
  position: relative;
  background-color: var(--color-dark-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: background var(--transition-base), transform var(--transition-base);
  cursor: pointer;
}

.service-card:hover {
  background-color: var(--color-dark-hover);
  transform: translateY(-2px);
}

.service-card-inner {
  padding: var(--space-8) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: var(--space-4);
}

.service-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.service-number {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.25);
}

.service-icon {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition-base);
  display: flex;
}

.service-card:hover .service-icon {
  color: var(--color-red);
}

.service-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.2;
  margin-top: auto;
}

.service-desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  flex-grow: 1;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.service-price {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.45);
}

.service-price strong {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.service-cta {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-red);
  transition: color var(--transition-base), transform var(--transition-base);
  display: inline-flex;
  align-items: center;
}

.service-card:hover .service-cta {
  transform: translateX(4px);
}

/* Bottom red hover bar */
.service-hover-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--color-red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-base);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.service-card:hover .service-hover-bar {
  transform: scaleX(1);
}


/* ============================================================
   10. PRICING SECTION
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
}

.pricing-card {
  background-color: var(--color-cream);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-gray-200);
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.pricing-card-featured {
  background-color: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
  transform: scale(1.02);
}

.pricing-card-featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: calc(-1 * var(--space-4));
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-red);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-4);
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card-header {
  margin-bottom: var(--space-8);
}

.pricing-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: inherit;
  margin-bottom: var(--space-3);
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1;
  margin-bottom: var(--space-3);
}

.pricing-card-featured .pricing-amount {
  color: var(--color-white);
}

.pricing-amount-custom {
  font-size: var(--text-3xl);
  font-style: italic;
}

.pricing-unit {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-gray-500);
}

.pricing-card-featured .pricing-unit {
  color: rgba(255, 255, 255, 0.5);
}

.pricing-tagline {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  line-height: 1.6;
}

.pricing-card-featured .pricing-tagline {
  color: rgba(255, 255, 255, 0.55);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-gray-600);
  line-height: 1.4;
}

.pricing-card-featured .pricing-feature {
  color: rgba(255, 255, 255, 0.7);
}

.feature-check {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.pricing-btn {
  margin-top: auto;
}

.pricing-disclaimer {
  margin-top: var(--space-10);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-gray-400);
  max-width: 680px;
  margin-inline: auto;
  line-height: 1.7;
}


/* ============================================================
   11. PROJECTS SECTION — 3-Photo Collage
   ============================================================ */

/* Collage layout */
.projects-collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

/* Photo cells */
.collage-photo {
  position: relative;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(135deg, #2d2829 0%, #1a1718 100%);
}

.collage-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s ease;
}

.collage-photo:hover .collage-img {
  transform: scale(1.05);
}

.collage-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: var(--space-5);
  background: linear-gradient(to top, rgba(35, 31, 32, 0.92) 0%, rgba(35, 31, 32, 0.3) 70%, transparent 100%);
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.collage-photo:hover .collage-overlay {
  transform: translateY(0);
  opacity: 1;
}

/* CTA dark card */
.collage-cta-card {
  position: relative;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: default;
  background-color: var(--color-dark);
  transition: background-color var(--transition-base);
}

.collage-cta-card:hover {
  background-color: #2f2b2c;
}

.collage-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.collage-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(35, 31, 32, 0.82);
  z-index: 1;
  transition: background var(--transition-base);
}

.collage-cta-card:hover .collage-cta-overlay {
  background: rgba(35, 31, 32, 0.72);
}

.collage-cta-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-8);
  gap: var(--space-3);
}

.collage-cta-number {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 600;
  color: var(--color-white);
  line-height: 1;
}

.collage-cta-plus {
  color: var(--color-red);
}

.collage-cta-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.collage-cta-btn {
  display: inline-block;
  margin-top: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition-base), border-color var(--transition-base);
}

.collage-cta-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* Shared overlay project info */
.project-type {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-red);
  background: rgba(237, 27, 36, 0.15);
  display: inline-block;
  padding: 2px var(--space-2);
  border-radius: var(--radius-sm);
  align-self: flex-start;
}

.project-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.2;
}

.project-location {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

.projects-cta {
  text-align: center;
}


/* ============================================================
   12. CONTACT SECTION
   ============================================================ */
.contact {
  background-color: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-info .section-tag {
  display: block;
}

.contact-info .section-heading {
  font-size: var(--text-4xl);
}

.contact-lead {
  font-size: var(--text-md);
  color: var(--color-gray-500);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: rgba(237, 27, 36, 0.06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-detail-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gray-400);
}

.contact-detail-value {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-dark);
}

/* Form */
.contact-form-wrap {
  background-color: var(--color-cream);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-gray-200);
  padding: var(--space-8);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: 0.02em;
}

.form-required {
  color: var(--color-red);
}

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  font-size: var(--text-base);
  color: var(--color-dark);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--color-gray-400);
}

.form-input:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(237, 27, 36, 0.08);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23787878' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Submit button states */
.form-submit-loading {
  display: none;
  align-items: center;
  gap: var(--space-2);
}

.form-submit.is-loading .form-submit-text {
  display: none;
}

.form-submit.is-loading .form-submit-loading {
  display: flex;
}

.spinner {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success state — hidden by default, shown via JS after submission */
.form-success {
  text-align: center;
  padding: var(--space-12) var(--space-8);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.form-success.is-visible {
  display: flex;
}

.form-success-icon {
  display: flex;
  justify-content: center;
}

.form-success-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 500;
  color: var(--color-dark);
}

.form-success-text {
  font-size: var(--text-base);
  color: var(--color-gray-500);
  line-height: 1.65;
  max-width: 320px;
}


/* ============================================================
   13. FOOTER
   ============================================================ */
.footer {
  background-color: var(--color-dark);
  color: rgba(255, 255, 255, 0.6);
  padding-top: var(--space-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
}

/* Footer Logo */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.footer-logo-text {
  color: var(--color-white);
}

.footer-tagline {
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 260px;
}

/* Footer Columns */
.footer-col-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-base);
}

.footer-link:hover {
  color: var(--color-white);
}

.footer-contact-list {
  gap: var(--space-4);
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contact-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.footer-contact-value {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-block: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.footer-copy {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom-tagline {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.2);
  font-style: italic;
  letter-spacing: 0.04em;
}


/* ============================================================
   14. RESPONSIVE — TABLET (1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --nav-height: 64px;
  }

  /* About */
  .about-grid {
    gap: var(--space-12);
  }

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

  /* Pricing */
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }

  /* Projects */
  .projects-grid {
    grid-auto-rows: 260px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }
}


/* ============================================================
   15. RESPONSIVE — MOBILE (768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  /* Show hamburger, hide desktop nav */
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  /* Logo: show icon only on mobile */
  .logo-full {
    display: none;
  }

  .logo-icon {
    display: block;
  }

  /* Hero */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    text-align: center;
  }

  /* Hero scroll indicator: hide on mobile if space is tight */
  .scroll-label {
    display: none;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  /* Services — horizontal scroll carousel */
  .services-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: var(--space-3);
    padding-bottom: var(--space-4);
    scrollbar-width: none;
  }

  .services-grid::-webkit-scrollbar {
    display: none;
  }

  .service-card {
    flex: 0 0 85vw;
    scroll-snap-align: start;
  }

  /* Pricing — horizontal scroll carousel */
  .pricing-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: var(--space-4);
    padding-bottom: var(--space-4);
    align-items: stretch;
    scrollbar-width: none;
  }

  .pricing-grid::-webkit-scrollbar {
    display: none;
  }

  .pricing-card {
    flex: 0 0 85vw;
    scroll-snap-align: start;
  }

  .pricing-card-featured {
    transform: scale(1);
  }

  .pricing-card-featured:hover {
    transform: translateY(-4px);
  }

  /* Projects collage */
  .projects-collage {
    grid-template-columns: 1fr;
  }

  .collage-photo,
  .collage-cta-card {
    height: 280px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}


/* ============================================================
   16. RESPONSIVE — SMALL (480px)
   ============================================================ */
@media (max-width: 480px) {
  /* Services — already flex on mobile, make cards slightly wider */
  .service-card {
    flex: 0 0 90vw;
  }

  /* Pricing cards */
  .pricing-card {
    flex: 0 0 90vw;
  }

  /* Form row */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   SWIPE HINT — mobile carousel animation
   ============================================================ */

@keyframes swipeHint {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(-40px); }
  40%  { transform: translateX(0); }
  55%  { transform: translateX(-20px); }
  70%  { transform: translateX(0); }
  100% { transform: translateX(0); }
}

.swipe-hint-active {
  animation: swipeHint 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s both;
}

.swipe-hint-label {
  display: none;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .swipe-hint-label { display: block; }
}

/* For pricing section (white bg), use dark text */
#pricing .swipe-hint-label {
  color: rgba(35,31,32,0.35);
}


/* ============================================================
   HERO — responsive picture element + mobile crop
   ============================================================ */

.hero picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  opacity: 0.4;
  display: block;
}

@media (max-width: 768px) {
  .hero-bg-img {
    object-position: center center;
    opacity: 0.35;
  }
}

/* ============================================================
   ABOUT SECTION — VISUAL PHOTO STACK
   ============================================================ */
.about-visual { position: relative; }

.about-photo-stack {
  position: relative;
  width: 100%;
  height: 480px;
}

.about-photo {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-photo-main {
  width: 75%;
  height: 100%;
  right: 0;
  top: 0;
  box-shadow: var(--shadow-xl);
}

.about-photo-secondary {
  width: 50%;
  height: 55%;
  left: 0;
  bottom: 0;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--color-white);
  z-index: 2;
}

.about-stat-badge {
  position: absolute;
  top: var(--space-8);
  left: 0;
  z-index: 3;
  background: var(--color-red);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1;
  color: var(--color-white);
}

.stat-plus { font-size: 0.7em; vertical-align: super; }

.stat-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-align: center;
}

@media (max-width: 1024px) { .about-photo-stack { height: 380px; } }

@media (max-width: 768px) {
  .about-photo-stack { height: 300px; }
  .about-photo-secondary { width: 45%; height: 50%; }
  .about-stat-badge { padding: var(--space-3) var(--space-4); }
  .stat-number { font-size: var(--text-2xl); }
}


/* ============================================================
   PARTNER BRANDS STRIP
   ============================================================ */
.brands {
  padding-block: var(--space-10);
  border-top: 1px solid var(--color-gray-200);
  border-bottom: 1px solid var(--color-gray-200);
}

.brands-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.brands-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray-500);
  text-align: center;
}

.brands-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}

.brand-logo-item img {
  width: auto;
  height: 44px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter 0.3s, opacity 0.3s;
}

.brand-logo-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@media (max-width: 768px) {
  .brands-logos { gap: var(--space-5); }
  .brand-logo-item { height: 36px; }
  .brand-logo-item img { max-height: 36px; max-width: 100px; }
}


/* ============================================================
   SERVICE CARD — IMAGE HEADER
   ============================================================ */
.service-card {
  display: flex !important;
  flex-direction: column !important;
}

.service-card-img {
  width: 100%;
  height: 175px;
  overflow: hidden;
  flex-shrink: 0;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.65s ease;
  filter: brightness(0.7);
}

.service-card:hover .service-card-img img {
  transform: scale(1.06);
  filter: brightness(0.6);
}

.service-card-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-desc { flex: 1; }

.services-cta {
  text-align: center;
  margin-top: var(--space-10);
}


/* ============================================================
   STATS STRIP
   ============================================================ */
.stats { padding-block: var(--space-16); }

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
  padding: var(--space-6);
}

.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 600;
  color: var(--color-white);
  line-height: 1;
}

.stat-suffix { color: var(--color-red); font-size: 0.65em; vertical-align: super; }

.stat-desc {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .stats-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .stat-divider { display: none; }
  .stat-item {
    border-bottom: 1px solid rgba(255,255,255,0.07);
    border-right: 1px solid rgba(255,255,255,0.07);
  }
  .stat-item:nth-child(even) { border-right: none; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
}


/* ============================================================
   SHARED PAGE HERO (about, services pages)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 44vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-height);
  padding-bottom: var(--space-12);
  overflow: hidden;
  background-color: var(--color-dark);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(35,31,32,0.5) 0%, rgba(35,31,32,0.85) 100%);
  z-index: 2;
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 3;
  pointer-events: none;
}

.page-hero-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.4;
}

.page-hero-content {
  position: relative;
  z-index: 4;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-3);
}

.page-breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}
.page-breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.page-breadcrumb span:not(a) { color: rgba(255,255,255,0.25); }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.page-hero-sub {
  font-family: var(--font-body);
  font-size: var(--text-md);
  color: rgba(255,255,255,0.6);
  margin-top: var(--space-3);
  max-width: 540px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-hero { min-height: 38vh; padding-bottom: var(--space-8); }
  .page-hero h1 { font-size: var(--text-3xl); }
}


/* ============================================================
   SHARED PAGE CTA
   ============================================================ */
.page-cta { padding-block: var(--space-20); }

.page-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
}

.page-cta-light { background: var(--color-cream); }
.page-cta-light .section-heading { color: var(--color-dark); }
.page-cta-content { flex: 1; }
.page-cta-content h2 { color: var(--color-white); margin-bottom: var(--space-2); }
.page-cta-content p {
  color: rgba(255,255,255,0.55);
  font-size: var(--text-md);
  line-height: 1.6;
  margin-top: var(--space-3);
  max-width: 460px;
}

.page-cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .page-cta-inner { flex-direction: column; text-align: center; }
  .page-cta-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .page-cta-content p { margin-inline: auto; }
}


/* projects page hero subtitle */
.projects-hero-sub {
  font-family: var(--font-body);
  font-size: var(--text-md);
  color: rgba(255,255,255,0.55);
  margin-top: var(--space-3);
  max-width: 500px;
  line-height: 1.6;
}
