/* ================================================
   BUILDWISE DESIGN SYSTEM
   BuildWise Design and Construction Inc.
   "Building Your Vision Wisely" — Calgary, AB
   ================================================ */

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

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Color Palette */
  --gold:         #C49A2D;
  --gold-light:   #D4AF45;
  --gold-dark:    #A07E20;
  --charcoal:     #2D3142;
  --charcoal-deep:#1A1E2E;
  --ivory:        #F7F0E3;
  --ivory-dark:   #EDE4D3;
  --white:        #FFFFFF;
  --text-body:    #4A4E5C;
  --text-muted:   #7A7F94;
  --border:       rgba(196,154,45,0.25);
  --border-light: rgba(45,49,66,0.12);

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --section-pad:  80px;
  --section-pad-sm: 56px;
  --container:    1200px;
  --radius:       4px;
  --radius-lg:    12px;

  /* Transitions */
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --duration:     0.3s;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Video elements in media containers fill like images */
.project-feature__image video,
.port-card video,
.service-detail__img video,
.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

ul { list-style: none; }

/* --- Typography Scale --- */
h1, h2, h3, h4.serif {
  font-family: var(--font-heading);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 600; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 500; font-family: var(--font-body); }

p { font-size: 1rem; line-height: 1.75; color: var(--text-body); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

/* --- Layout Utilities --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}

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

.section--dark p { color: rgba(255,255,255,0.72); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section--ivory {
  background: var(--ivory);
}

.section--deepdark {
  background: var(--charcoal-deep);
  color: var(--white);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

/* --- Gold Divider --- */
.gold-rule {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0 32px;
}

.gold-rule--center { margin: 20px auto 32px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  white-space: normal;
  text-align: center;
}

.btn--gold {
  background: var(--gold);
  color: var(--charcoal-deep);
  border-color: var(--gold);
}

.btn--gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,154,45,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

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

.btn--outline-dark:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform var(--duration) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* --- ============================= --- */
/* --- NAVIGATION                    --- */
/* --- ============================= --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--ivory); /* Ivory background per user request */
  padding: 18px 0;
  transition: all 0.4s var(--ease);
  box-shadow: 0 2px 15px rgba(45,49,66,0.08);
}

.nav.scrolled {
  padding: 12px 0;
  background: var(--ivory); /* Keep ivory on scroll */
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav__logo img {
  height: 60px; /* Increased slightly for prominence */
  width: auto;
  transition: all var(--duration) var(--ease);
}

.nav__logo:hover img {
  transform: scale(1.05);
}

.nav.scrolled .nav__logo img { filter: none; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal); /* Dark links on Ivory */
  position: relative;
  padding-bottom: 4px;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--duration) var(--ease);
}

.nav__links a:hover { color: var(--gold-dark); }
.nav__links a:hover::after { width: 100%; }
.nav__links a.active { color: var(--gold-dark); }
.nav__links a.active::after { width: 100%; }

.nav__cta {
  background: var(--gold);
  color: var(--charcoal-deep) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600 !important;
}

.nav__cta:hover {
  background: var(--gold-dark) !important;
}

.nav__cta::after { display: none !important; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal); /* Dark hamburger for light nav */
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

/* Mobile Nav Overlay */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--charcoal-deep);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.nav__mobile.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.nav__mobile a {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--duration) var(--ease);
}

.nav__mobile .btn {
  padding: 12px 28px;
  font-size: 0.75rem;
}

.nav__mobile a:hover { color: var(--gold); }

.nav__mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}

/* --- ============================= --- */
/* --- HERO SECTION                  --- */
/* --- ============================= --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--charcoal-deep); /* fallback while video loads */
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.hero.loaded .hero__bg { transform: scale(1); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26,30,46,0.88) 0%,
    rgba(45,49,66,0.72) 50%,
    rgba(26,30,46,0.55) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero__content h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero__content h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.65;
}

.hero__btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero__scroll svg { width: 20px; height: 20px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* --- ============================= --- */
/* --- TRUST BAR                     --- */
/* --- ============================= --- */
.trust-bar {
  background: var(--charcoal-deep);
  padding: 28px 0;
  border-bottom: 1px solid rgba(196,154,45,0.2);
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 180px;
}

.trust-item__icon {
  width: 42px;
  height: 42px;
  background: rgba(196,154,45,0.12);
  border: 1px solid rgba(196,154,45,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item__icon svg { width: 20px; height: 20px; color: var(--gold); }

.trust-item__text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 2px;
}

.trust-item__text span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.trust-bar__divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* --- ============================= --- */
/* --- SERVICES SECTION              --- */
/* --- ============================= --- */
.services__header {
  text-align: center;
  margin-bottom: 56px;
}

.services__header h2 { color: var(--white); }

.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(196,154,45,0.18);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--duration) var(--ease);
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196,154,45,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196,154,45,0.45);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(196,154,45,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background var(--duration) var(--ease);
}

.service-card:hover .service-card__icon { background: rgba(196,154,45,0.2); }

.service-card__icon svg { width: 28px; height: 28px; color: var(--gold); }

.service-card h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.service-card p {
  color: rgba(255,255,255,0.62);
  font-size: 0.93rem;
  line-height: 1.7;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  position: static;
  transition: gap var(--duration) var(--ease);
}

.service-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.service-card__link:hover { gap: 10px; }
.service-card__link svg { width: 14px; height: 14px; }

.services__footer {
  text-align: center;
  margin-top: 48px;
}

/* --- ============================= --- */
/* --- FEATURED PROJECT              --- */
/* --- ============================= --- */
.project-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.project-feature__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  min-height: 480px;
}

.project-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.project-feature:hover .project-feature__image img { transform: scale(1.03); }

.project-feature__badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--gold);
  color: var(--charcoal-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius);
}

.project-feature__content {
  background: var(--charcoal);
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-feature__content h3 { color: var(--white); margin-bottom: 16px; }
.project-feature__content p { color: rgba(255,255,255,0.68); margin-bottom: 36px; }

.project-detail-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.project-detail-list li {
  display: flex;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
}

.project-detail-list li strong { color: rgba(255,255,255,0.85); min-width: 80px; }

/* --- ============================= --- */
/* --- PILLARS SECTION               --- */
/* --- ============================= --- */
.pillars__header {
  text-align: center;
  margin-bottom: 56px;
}

.pillar-card {
  text-align: center;
  padding: 40px 28px;
  position: relative;
}

.pillar-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}

.pillar-card:hover::after { width: 56px; }

.pillar-card__number {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 700;
  color: rgba(196,154,45,0.15);
  line-height: 1;
  margin-bottom: 12px;
  display: block;
  transition: color var(--duration) var(--ease);
}

.pillar-card:hover .pillar-card__number { color: rgba(196,154,45,0.3); }

.pillar-card__icon {
  width: 64px;
  height: 64px;
  background: rgba(196,154,45,0.1);
  border: 1px solid rgba(196,154,45,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all var(--duration) var(--ease);
}

.pillar-card:hover .pillar-card__icon {
  background: var(--gold);
  border-color: var(--gold);
}

.pillar-card__icon svg { width: 28px; height: 28px; color: var(--gold); transition: color var(--duration) var(--ease); }
.pillar-card:hover .pillar-card__icon svg { color: var(--white); }

.pillar-card h3 {
  font-size: 1.6rem;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.pillar-card p { font-size: 0.9rem; color: var(--text-body); }

/* --- ============================= --- */
/* --- PROCESS SECTION               --- */
/* --- ============================= --- */
.process__header {
  text-align: center;
  margin-bottom: 64px;
}

.process__header h2 { color: var(--white); }

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(196,154,45,0.3);
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.process-step__num {
  width: 72px;
  height: 72px;
  background: var(--charcoal);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  position: relative;
  z-index: 1;
  transition: all var(--duration) var(--ease);
}

.process-step:hover .process-step__num {
  background: var(--gold);
  color: var(--charcoal-deep);
}

.process-step h4 {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.process-step p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.65; }

.process__cta {
  text-align: center;
  margin-top: 56px;
}

/* --- ============================= --- */
/* --- TESTIMONIALS                  --- */
/* --- ============================= --- */
.testimonials__header {
  text-align: center;
  margin-bottom: 48px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: all var(--duration) var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(45,49,66,0.1);
  border-color: rgba(196,154,45,0.3);
}

.testimonial-card__quote {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 0.8;
  margin-bottom: 16px;
  opacity: 0.6;
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
}

.testimonial-card__stars svg { width: 16px; height: 16px; color: var(--gold); fill: var(--gold); }

.testimonial-card__text {
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  background: var(--charcoal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.testimonial-card__name { font-weight: 600; font-size: 0.9rem; color: var(--charcoal); }
.testimonial-card__project { font-size: 0.78rem; color: var(--text-muted); }

/* --- ============================= --- */
/* --- CTA BANNER                    --- */
/* --- ============================= --- */
.cta-banner {
  background: var(--gold);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(45,49,66,0.06);
}

.cta-banner__inner { position: relative; z-index: 1; }

.cta-banner h2 {
  color: var(--charcoal-deep);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(45,49,66,0.72);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.cta-banner .btn--outline {
  color: var(--charcoal-deep);
  border-color: var(--charcoal);
}

.cta-banner .btn--outline:hover {
  background: var(--charcoal);
  color: var(--white);
}

/* --- ============================= --- */
/* --- FOOTER                        --- */
/* --- ============================= --- */
.footer {
  background: var(--charcoal-deep);
  padding: 64px 0 32px;
  color: rgba(255,255,255,0.6);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer__logo img {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer__logo p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.45); }

.footer__col h5 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer__col ul { display: flex; flex-direction: column; gap: 10px; }

.footer__col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--duration) var(--ease);
}

.footer__col ul a:hover { color: var(--white); }

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}

.footer__contact-item svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--duration) var(--ease);
}

.footer__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(196,154,45,0.1);
}

.footer__social a svg { width: 16px; height: 16px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

.footer__bottom a { color: var(--gold); }
.footer__bottom a:hover { color: var(--gold-light); }

/* --- ============================= --- */
/* --- STICKY SMS BUTTON             --- */
/* --- ============================= --- */
.sticky-contact {
  position: fixed;
  bottom: 32px;
  right: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.sticky-contact__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--charcoal-deep);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(196,154,45,0.45);
  transition: all var(--duration) var(--ease);
  animation: pulse-glow 3s ease-in-out infinite;
  text-decoration: none;
}

.sticky-contact__btn:hover {
  background: var(--gold-dark);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 36px rgba(196,154,45,0.55);
  animation: none;
  color: var(--charcoal-deep);
}

.sticky-contact__btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 6px 28px rgba(196,154,45,0.45); }
  50% { box-shadow: 0 6px 40px rgba(196,154,45,0.7), 0 0 0 8px rgba(196,154,45,0.1); }
}

.sticky-contact__tooltip {
  background: var(--charcoal-deep);
  color: var(--white);
  font-size: 0.78rem;
  padding: 8px 14px;
  border-radius: var(--radius);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: all var(--duration) var(--ease);
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.sticky-contact:hover .sticky-contact__tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* --- ============================= --- */
/* --- PAGE HERO (inner pages)       --- */
/* --- ============================= --- */
.page-hero {
  padding: 160px 0 80px;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--charcoal-deep) 0%, var(--charcoal) 100%);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Portfolio Grid --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.portfolio-item:hover img { transform: scale(1.06); }

.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,30,46,0.88) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }

.portfolio-item__overlay h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 4px; }
.portfolio-item__overlay span { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 { margin-bottom: 24px; }

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item__icon {
  width: 48px;
  height: 48px;
  background: rgba(196,154,45,0.1);
  border: 1px solid rgba(196,154,45,0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item__icon svg { width: 22px; height: 22px; color: var(--gold); }
.contact-info-item__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 4px; }
.contact-info-item__value { font-size: 1rem; font-weight: 500; color: var(--charcoal); }
.contact-info-item__value a:hover { color: var(--gold); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 8px 48px rgba(45,49,66,0.07);
}

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

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--ivory);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,154,45,0.12);
}

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

/* --- About Team Cards --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  text-align: center;
}

.team-card__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--charcoal);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}

.team-card h4 { font-size: 1.2rem; margin-bottom: 4px; }
.team-card span { color: var(--gold); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.team-card p { font-size: 0.88rem; margin-top: 12px; }

/* --- Animation Classes --- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* --- ============================= --- */
/* --- RESPONSIVE                    --- */
/* --- ============================= --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr 1fr; }
  .process-steps { flex-wrap: wrap; }
  .process-steps::before { display: none; }
  .process-step { flex: 0 0 50%; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .container { padding: 0 18px; }
  .nav { padding: 12px 0; }
  .nav__logo img { height: 44px; }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }

  .project-feature { grid-template-columns: 1fr; }
  .project-feature__image { aspect-ratio: 9/16; min-height: 240px; }
  .project-feature__content { padding: 40px 28px; }

  .testimonials__grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .hero__btns { flex-direction: column; }
  .trust-bar__inner { gap: 20px; }
  .trust-bar__divider { display: none; }

  .process-step { flex: 0 0 100%; }

  .sticky-contact__btn span { display: none; }
  .sticky-contact__btn { padding: 13px 16px; }
}
