/* ============================================================
   Noble Build (נובל בניה) — Main Stylesheet
   Brand reference: docs/brandbook.md
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700;900&family=Playfair+Display:ital,wght@0,700;1,400&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colors */
  --color-primary-dark: #1a1a1a;
  --color-secondary-dark: #0d0d0d;
  --color-warm-white: #f5f0eb;
  --color-copper: #b08d57;
  --color-copper-dark: #8f7040;
  --color-copper-light: #c9a96e;
  --color-text-on-dark: #e8e2db;
  --color-text-on-light: #2a2a2a;
  --color-border-subtle: #d4cdc4;
  --color-border-dark: #2e2e2e;
  --color-overlay-hero: rgba(0, 0, 0, 0.52);
  --color-overlay-cta: rgba(10, 10, 10, 0.72);

  /* Typography */
  --font-primary: 'Heebo', 'Arial', sans-serif;
  --font-display: 'Playfair Display', 'Georgia', serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-xxl: 10rem;
  --container-max: 1280px;
  --container-pad: clamp(1.5rem, 5vw, 5rem);

  /* Transitions */
  --transition-base: 0.3s ease;
  --transition-slow: 0.7s ease;

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

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

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

body {
  font-family: var(--font-primary);
  background-color: var(--color-warm-white);
  color: var(--color-text-on-light);
  direction: rtl;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   FOCUS STYLES
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--color-copper);
  outline-offset: 3px;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-copper);
  margin-bottom: 1rem;
}

.section-heading {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-heading--light {
  color: var(--color-text-on-dark);
}

.section-heading--dark {
  color: var(--color-text-on-light);
}

/* Fade-in animation class (applied by JS) */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.nav--transparent {
  background-color: transparent;
}

.nav--solid {
  background-color: rgba(15, 15, 15, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.nav__container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav__logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition-base);
}

.nav__logo:hover img {
  opacity: 0.85;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(232, 226, 219, 0.85);
  letter-spacing: 0.04em;
  transition: color var(--transition-base);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  left: auto;
  width: 0;
  height: 1px;
  background-color: var(--color-copper);
  transition: width var(--transition-base);
}

.nav__link:hover {
  color: var(--color-copper);
}

.nav__link:hover::after {
  width: 100%;
}

/* CTA nav button */
.nav__cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  background-color: var(--color-copper);
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  letter-spacing: 0.04em;
  transition: background-color var(--transition-base), transform var(--transition-base);
}

.nav__cta:hover {
  background-color: var(--color-copper-dark);
  transform: translateY(-1px);
  color: #ffffff;
}

.nav__cta::after {
  display: none;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  z-index: 1100;
}

.nav__hamburger-line {
  width: 24px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.35s ease;
  transform-origin: center;
}

/* Hamburger → X */
.nav__hamburger.is-open .nav__hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.is-open .nav__hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger.is-open .nav__hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.nav__mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(13, 13, 13, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.nav__mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile-link {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-text-on-dark);
  letter-spacing: 0.06em;
  transition: color var(--transition-base);
}

.nav__mobile-link:hover {
  color: var(--color-copper);
}

.nav__mobile-cta {
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background-color: var(--color-copper);
  padding: 1rem 2.5rem;
  border-radius: 2px;
  transition: background-color var(--transition-base);
}

.nav__mobile-cta:hover {
  background-color: var(--color-copper-dark);
}

@media (max-width: 767px) {
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__mobile-menu {
    display: flex;
  }
}

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

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/5.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: scale(1.05);
  transition: transform 0.1s linear;
}

@media (max-width: 767px) {
  .hero__bg {
    background-attachment: scroll;
    transform: none;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--nav-height) var(--container-pad) 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero__logo {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: heroFadeDown 1.1s ease 0.3s forwards;
}

.hero__tagline {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  max-width: 800px;
  opacity: 0;
  animation: heroFadeUp 1.1s ease 0.5s forwards;
}

.hero__sub {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: var(--color-text-on-dark);
  letter-spacing: 0.02em;
  opacity: 0;
  animation: heroFadeUp 1.1s ease 0.75s forwards;
}

.hero__sub strong {
  color: var(--color-copper);
  font-weight: 600;
}

.hero__cta {
  display: inline-block;
  margin-top: 0.5rem;
  background-color: var(--color-copper);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 1.1rem 3rem;
  border-radius: 2px;
  letter-spacing: 0.05em;
  transition: background-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  opacity: 0;
  animation: heroFadeUp 1.1s ease 1s forwards;
}

.hero__cta:hover {
  background-color: var(--color-copper-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(176, 141, 87, 0.35);
  color: #ffffff;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: heroFadeIn 1s ease 1.5s forwards;
}

.hero__scroll-text {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(232, 226, 219, 0.6);
  text-transform: uppercase;
}

.hero__scroll-chevron {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(232, 226, 219, 0.5);
  border-bottom: 2px solid rgba(232, 226, 219, 0.5);
  transform: rotate(45deg);
  animation: bounce 2s ease-in-out infinite;
}

/* Hero Animations */
@keyframes heroFadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(8px); }
}

/* ============================================================
   ABOUT SECTION (Light background)
   ============================================================ */
.about {
  background-color: var(--color-warm-white);
  padding: var(--space-xl) 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}

.about__image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-border-subtle);
  border-radius: 3px;
  pointer-events: none;
}

.about__image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.about__image-wrap:hover .about__image {
  transform: scale(1.03);
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about__body {
  font-size: 1rem;
  line-height: 1.9;
  color: #4a4540;
}

.about__body p + p {
  margin-top: 1rem;
}

.about__divider {
  width: 48px;
  height: 2px;
  background-color: var(--color-copper);
  margin-top: 0.5rem;
}

@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }

  /* In RTL, image is on the right visually */
  .about__image-wrap {
    order: 2;
  }

  .about__text {
    order: 1;
  }
}

/* ============================================================
   PROCESS SECTION (Dark background)
   ============================================================ */
.process {
  background-color: var(--color-primary-dark);
  padding: var(--space-xl) 0;
}

.process__header {
  text-align: center;
  margin-bottom: 4rem;
}

.process__intro {
  font-size: 1.05rem;
  color: rgba(232, 226, 219, 0.7);
  max-width: 560px;
  margin: 1rem auto 0;
  line-height: 1.8;
}

.process__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
}

@media (min-width: 768px) {
  .process__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Connector line between cards (desktop only) */
@media (min-width: 768px) {
  .process__grid::before {
    content: '';
    position: absolute;
    top: 3.2rem;
    right: calc(16.66% + 1.5rem);
    left: calc(16.66% + 1.5rem);
    height: 1px;
    background: linear-gradient(to left, transparent, var(--color-copper), transparent);
    opacity: 0.4;
    pointer-events: none;
  }
}

.process__card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-dark);
  border-top: 2px solid var(--color-copper);
  border-radius: 3px;
  padding: 2.5rem;
  transition: border-color var(--transition-base), background-color var(--transition-base), transform var(--transition-base);
}

.process__card:hover {
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
  border-top-color: var(--color-copper-light);
}

.process__number {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--color-copper);
  line-height: 1;
  margin-bottom: 1.5rem;
  font-feature-settings: "tnum";
  opacity: 0.9;
}

.process__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-on-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.process__desc {
  font-size: 0.95rem;
  color: rgba(232, 226, 219, 0.7);
  line-height: 1.85;
}

/* ============================================================
   ADVANTAGES SECTION (Light background)
   ============================================================ */
.advantages {
  background-color: var(--color-warm-white);
  padding: var(--space-xl) 0;
}

.advantages__header {
  margin-bottom: 3.5rem;
}

.advantages__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

.advantage-card {
  background-color: #ffffff;
  border-radius: 3px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border-right: 3px solid var(--color-copper);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(176, 141, 87, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.advantage-card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-card__icon svg {
  width: 100%;
  height: 100%;
}

.advantage-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-on-light);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.advantage-card__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-copper);
  display: block;
  margin-bottom: 0.75rem;
}

.advantage-card__desc {
  font-size: 0.95rem;
  color: #5a5550;
  line-height: 1.85;
}

/* ============================================================
   SPECIFICATIONS SECTION (Dark background)
   ============================================================ */
.specs {
  background-color: var(--color-primary-dark);
  padding: var(--space-xl) 0;
}

.specs__header {
  text-align: center;
  margin-bottom: 3rem;
}

.specs__price-callout {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--color-copper);
  line-height: 1;
  margin: 1.5rem 0 0.75rem;
  font-feature-settings: "tnum";
  display: block;
  text-align: center;
}

.specs__price-label {
  display: block;
  font-size: 1rem;
  color: rgba(232, 226, 219, 0.65);
  text-align: center;
  letter-spacing: 0.08em;
  margin-bottom: 3rem;
}

.specs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .specs__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .specs__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.spec-item {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-dark);
  border-right: 3px solid var(--color-copper);
  border-radius: 3px;
  padding: 1.5rem;
  transition: background-color var(--transition-base);
}

.spec-item:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

.spec-item__category {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-copper);
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.spec-item__desc {
  font-size: 0.9rem;
  color: rgba(232, 226, 219, 0.72);
  line-height: 1.75;
}

.specs__note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: rgba(232, 226, 219, 0.4);
  letter-spacing: 0.04em;
}

/* ============================================================
   GALLERY SECTION (Light background)
   ============================================================ */
.gallery {
  background-color: var(--color-warm-white);
  padding: var(--space-xl) 0;
}

.gallery__header {
  margin-bottom: 3rem;
  text-align: center;
}

.gallery__grid {
  columns: 1;
  column-gap: 1rem;
}

@media (min-width: 640px) {
  .gallery__grid {
    columns: 2;
  }
}

@media (min-width: 1024px) {
  .gallery__grid {
    columns: 3;
    column-gap: 1.2rem;
  }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.gallery-item--large {
  break-inside: avoid;
}

.gallery-item__img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
  object-fit: cover;
}

.gallery-item--large .gallery-item__img {
  height: auto;
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0);
  transition: background var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item__overlay-icon {
  opacity: 0;
  transition: opacity var(--transition-base);
  width: 48px;
  height: 48px;
  background: rgba(176, 141, 87, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item__overlay-icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

.gallery-item:hover .gallery-item__img {
  transform: scale(1.05);
}

.gallery-item:hover .gallery-item__overlay {
  background: rgba(26, 26, 26, 0.35);
}

.gallery-item:hover .gallery-item__overlay-icon {
  opacity: 1;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 2rem;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox.is-open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  transition: background var(--transition-base);
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.2);
}

.lightbox__close:hover {
  background: rgba(176, 141, 87, 0.7);
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background var(--transition-base);
  border: 1px solid rgba(255,255,255,0.2);
}

.lightbox__nav:hover {
  background: rgba(176, 141, 87, 0.7);
}

.lightbox__prev {
  right: 1.5rem;
}

.lightbox__next {
  left: 1.5rem;
}

.lightbox__counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
}

/* ============================================================
   TEAM SECTION (Dark background)
   ============================================================ */
.team {
  background-color: var(--color-primary-dark);
  padding: var(--space-xl) 0;
}

.team__header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.team__intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
  font-size: 1rem;
  color: rgba(232, 226, 219, 0.7);
  line-height: 1.9;
}

.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.team-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-dark);
  border-radius: 3px;
  padding: 3rem 2.5rem;
  text-align: center;
  transition: background-color var(--transition-base), transform var(--transition-base);
}

.team-card:hover {
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
}

.team-card__photo-wrap {
  width: 160px;
  height: 160px;
  margin: 0 auto 2rem;
  position: relative;
}

.team-card__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--color-copper);
  box-shadow: 0 0 0 6px rgba(176, 141, 87, 0.15), 0 8px 32px rgba(0,0,0,0.4);
  transition: box-shadow var(--transition-base);
}

.team-card:hover .team-card__photo {
  box-shadow: 0 0 0 8px rgba(176, 141, 87, 0.25), 0 12px 40px rgba(0,0,0,0.5);
}

.team-card__name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-on-dark);
  margin-bottom: 0.35rem;
}

.team-card__role {
  font-size: 0.85rem;
  color: var(--color-copper);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.team-card__bio {
  font-size: 0.95rem;
  color: rgba(232, 226, 219, 0.68);
  line-height: 1.85;
  text-align: justify;
  margin-bottom: 1.5rem;
}

.team-card__quote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-copper-light);
  line-height: 1.75;
  border-right: 2px solid var(--color-copper);
  padding-right: 1rem;
  margin-top: 1.5rem;
  text-align: right;
}

.team__closing {
  max-width: 700px;
  margin: 4rem auto 0;
  text-align: center;
  font-size: 1.05rem;
  color: rgba(232, 226, 219, 0.75);
  line-height: 1.9;
  padding-top: 3rem;
  border-top: 1px solid var(--color-border-dark);
}

/* ============================================================
   CTA SECTION (Full-width with bg image)
   ============================================================ */
.cta-section {
  position: relative;
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/6.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

@media (max-width: 767px) {
  .cta-section__bg {
    background-attachment: scroll;
  }
}

.cta-section__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay-cta);
}

.cta-section__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.cta-section__heading {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.cta-section__sub {
  font-size: 1.1rem;
  color: rgba(232, 226, 219, 0.8);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-section__button {
  display: inline-block;
  background-color: var(--color-copper);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.2rem 3.2rem;
  border-radius: 2px;
  letter-spacing: 0.05em;
  transition: background-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  margin-bottom: 2rem;
}

.cta-section__button:hover {
  background-color: var(--color-copper-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(176, 141, 87, 0.4);
  color: #ffffff;
}

.cta-section__phone {
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text-on-dark);
  letter-spacing: 0.06em;
  margin-top: 0.5rem;
  direction: ltr;
}

.cta-section__phone:hover {
  color: var(--color-copper);
}

.cta-section__phone-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(232, 226, 219, 0.5);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--color-secondary-dark);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer__top {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer__logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(232, 226, 219, 0.55);
  line-height: 1.75;
  max-width: 320px;
}

.footer__slogans {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.footer__slogan {
  font-size: 0.8rem;
  color: rgba(176, 141, 87, 0.7);
  letter-spacing: 0.04em;
}

.footer__col-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-copper);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__nav-link {
  font-size: 0.9rem;
  color: rgba(232, 226, 219, 0.6);
  transition: color var(--transition-base);
}

.footer__nav-link:hover {
  color: var(--color-copper);
}

.footer__contact-item {
  font-size: 0.9rem;
  color: rgba(232, 226, 219, 0.6);
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.footer__contact-item a {
  color: rgba(232, 226, 219, 0.6);
  transition: color var(--transition-base);
}

.footer__contact-item a:hover {
  color: var(--color-copper);
}

.footer__divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin-bottom: 2rem;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: right;
  }
}

.footer__copyright {
  font-size: 0.82rem;
  color: rgba(232, 226, 219, 0.35);
  letter-spacing: 0.04em;
}

.footer__built {
  font-size: 0.78rem;
  color: rgba(232, 226, 219, 0.2);
  letter-spacing: 0.06em;
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 44px;
  height: 44px;
  background: var(--color-copper);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base), background-color var(--transition-base);
  z-index: 500;
  border: none;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--color-copper-dark);
  transform: translateY(-3px);
}

.scroll-top svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
}
