/* ============================================================
   KAMMERZELL CONTRACTING - Premium General Contractor
   Production Stylesheet
   ============================================================ */

/* -----------------------------------------------
   0. CSS CUSTOM PROPERTIES
   ----------------------------------------------- */
:root {
  /* Primary - Deep Charcoal/Black */
  --color-primary: #1A1A1A;
  --color-primary-light: #2D2D2D;
  --color-primary-dark: #0D0D0D;
  /* Secondary - Warm Gold/Bronze */
  --color-secondary: #C9A962;
  --color-secondary-light: #D4BC7D;
  --color-secondary-dark: #B8944D;
  /* Accent - Clean White */
  --color-accent: #FFFFFF;
  --color-off-white: #F8F8F6;
  --color-cream: #F5F3EF;
  /* Neutral Grays */
  --color-gray-50: #FAFAFA;
  --color-gray-100: #F5F5F5;
  --color-gray-200: #E5E5E5;
  --color-gray-300: #D4D4D4;
  --color-gray-400: #A3A3A3;
  --color-gray-500: #737373;
  --color-gray-600: #525252;
  --color-gray-700: #404040;
  --color-gray-800: #262626;
  --color-gray-900: #171717;
  /* Functional */
  --color-success: #22C55E;
  --color-error: #EF4444;
  /* Gradients */
  --gradient-dark: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
  --gradient-gold: linear-gradient(135deg, #C9A962 0%, #D4BC7D 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  /* Timing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 0.15s;
  --duration-normal: 0.3s;
  --duration-slow: 0.5s;
  --duration-slower: 0.8s;
}


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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-gray-700);
  background-color: var(--color-accent);
  overflow-x: hidden;
}

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

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}

p {
  overflow-wrap: break-word;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  background-color: var(--color-secondary);
  color: var(--color-primary-dark);
}

:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 3px;
}


/* -----------------------------------------------
   2. TYPOGRAPHY
   ----------------------------------------------- */
.h1, h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.h2, h2 {
  font-size: clamp(2rem, 3.5vw + 0.5rem, 3.25rem);
  letter-spacing: -0.015em;
  line-height: 1.12;
}

.h3, h3 {
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.h4, h4 {
  font-size: clamp(1.25rem, 1.5vw + 0.25rem, 1.5rem);
  line-height: 1.3;
}

.h5, h5 {
  font-size: 1.125rem;
  line-height: 1.4;
}

.h6, h6 {
  font-size: 1rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-body);
  font-weight: 600;
}

.display-1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw + 1rem, 6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.8;
  font-weight: 300;
  color: var(--color-gray-500);
}

.overline {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.overline--light {
  color: var(--color-secondary-light);
}

.text-serif {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
}

.section-heading {
  margin-bottom: 1rem;
}

.section-subheading {
  max-width: 600px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-gray-500);
}

.section-subheading--centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}


/* -----------------------------------------------
   3. LAYOUT & CONTAINER
   ----------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: 900px;
}

.container--wide {
  max-width: 1440px;
}

.container--full {
  max-width: 100%;
  padding: 0;
}

section {
  position: relative;
}

.section {
  padding: 7rem 0;
}

.section--sm {
  padding: 4rem 0;
}

.section--lg {
  padding: 10rem 0;
}

.section--dark {
  background-color: var(--color-primary);
  color: var(--color-gray-300);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5 {
  color: var(--color-accent);
}

.section--dark .overline {
  color: var(--color-secondary-light);
}

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

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

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
}

.col {
  padding: 0 1rem;
  flex: 1;
}

.grid {
  display: grid;
  gap: 2rem;
}

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

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

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

@media (max-width: 640px) {
  .grid--4,
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }
}


/* -----------------------------------------------
   4. NAVIGATION
   ----------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all var(--duration-slow) var(--ease-out-quart);
}

.header.scrolled {
  padding: 0.75rem 0;
  background-color: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  position: relative;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__logo img {
  height: 48px;
  width: auto;
  transition: height var(--duration-normal) var(--ease-in-out);
}

.header.scrolled .header__logo img {
  height: 38px;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.header__logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-secondary);
  margin-top: 2px;
}

/* Desktop Navigation */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-desktop__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop__item {
  position: relative;
}

.nav-desktop__link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--duration-normal) var(--ease-in-out);
  white-space: nowrap;
}

.nav-desktop__link:hover,
.nav-desktop__link.active {
  color: var(--color-secondary);
}

.nav-desktop__link .chevron {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform var(--duration-normal) var(--ease-in-out);
}

.nav-desktop__item:hover .chevron {
  transform: rotate(-135deg);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 260px;
  background-color: var(--color-accent);
  border-radius: 8px;
  box-shadow: var(--shadow-2xl);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--duration-normal) var(--ease-out-quart);
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background-color: var(--color-accent);
  box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.04);
}

.nav-desktop__item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-gray-700);
  transition: all var(--duration-fast) var(--ease-in-out);
}

.nav-dropdown__link:hover {
  color: var(--color-secondary-dark);
  background-color: var(--color-cream);
  padding-left: 1.75rem;
}

.nav-dropdown__link i,
.nav-dropdown__link .dropdown-icon {
  width: 20px;
  color: var(--color-secondary);
  font-size: 1rem;
  text-align: center;
}

.nav-desktop__cta {
  margin-left: 0.5rem;
}

/* Hamburger */
.hamburger {
  display: none;
  position: relative;
  z-index: 1001;
  width: 32px;
  height: 24px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger__line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out-quart);
}

.hamburger__line:nth-child(1) {
  top: 0;
}

.hamburger__line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger__line:nth-child(3) {
  bottom: 0;
  width: 60%;
}

/* Hamburger morphs to X */
.hamburger.active .hamburger__line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger.active .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.hamburger.active .hamburger__line:nth-child(3) {
  bottom: 50%;
  width: 100%;
  transform: translateY(50%) rotate(-45deg);
}

/* Mobile Overlay Nav */
.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: var(--color-primary-dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--duration-slow) var(--ease-out-expo);
}

.nav-mobile.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile__list {
  text-align: center;
}

.nav-mobile__item {
  overflow: hidden;
}

.nav-mobile__link {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-accent);
  padding: 0.4em 0;
  transform: translateY(100%);
  transition: transform var(--duration-slower) var(--ease-out-expo),
              color var(--duration-normal) var(--ease-in-out);
}

.nav-mobile.open .nav-mobile__link {
  transform: translateY(0);
}

.nav-mobile.open .nav-mobile__item:nth-child(1) .nav-mobile__link { transition-delay: 0.1s; }
.nav-mobile.open .nav-mobile__item:nth-child(2) .nav-mobile__link { transition-delay: 0.15s; }
.nav-mobile.open .nav-mobile__item:nth-child(3) .nav-mobile__link { transition-delay: 0.2s; }
.nav-mobile.open .nav-mobile__item:nth-child(4) .nav-mobile__link { transition-delay: 0.25s; }
.nav-mobile.open .nav-mobile__item:nth-child(5) .nav-mobile__link { transition-delay: 0.3s; }
.nav-mobile.open .nav-mobile__item:nth-child(6) .nav-mobile__link { transition-delay: 0.35s; }

.nav-mobile__link:hover {
  color: var(--color-secondary);
}

.nav-mobile__sub {
  padding-left: 1rem;
}

.nav-mobile__sub-link {
  display: block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-gray-400);
  padding: 0.4rem 0;
  transition: color var(--duration-normal) var(--ease-in-out);
}

.nav-mobile__sub-link:hover {
  color: var(--color-secondary);
}

.nav-mobile__footer {
  position: absolute;
  bottom: 3rem;
  text-align: center;
}

.nav-mobile__footer a {
  font-size: 0.85rem;
  color: var(--color-gray-500);
  letter-spacing: 0.05em;
}

.nav-mobile__footer a:hover {
  color: var(--color-secondary);
}

@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }
  .hamburger {
    display: block;
  }
}


/* -----------------------------------------------
   5. HERO SECTION
   ----------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-primary-dark);
}

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

.hero__bg--ken-burns {
  animation: kenBurns 25s ease-in-out infinite alternate;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.hero__overline {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 0.3s forwards;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 6vw + 1rem, 5rem);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 0.5s forwards;
}

.hero__title em {
  font-style: italic;
  color: var(--color-secondary);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 0.7s forwards;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out-expo) 0.9s forwards;
}

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

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out-expo) 1.5s forwards;
}

.hero__scroll-text {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.5);
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  position: relative;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.15);
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-secondary);
  animation: scrollLine 2s var(--ease-in-out) infinite;
}

@keyframes scrollLine {
  0% {
    top: -100%;
  }
  50% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}

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


/* -----------------------------------------------
   6. BUTTONS
   ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--duration-normal) var(--ease-out-quart);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background-color: var(--color-secondary);
  color: var(--color-primary-dark);
  border-color: var(--color-secondary);
}

.btn--primary:hover {
  background-color: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 169, 98, 0.35);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(201, 169, 98, 0.25);
}

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

.btn--secondary:hover {
  background-color: var(--color-secondary);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 169, 98, 0.25);
}

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

.btn--white:hover {
  background-color: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.btn--dark {
  background-color: var(--color-primary);
  color: var(--color-accent);
  border-color: var(--color-primary);
}

.btn--dark:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn--sm {
  padding: 0.65rem 1.5rem;
  font-size: 0.75rem;
}

.btn--lg {
  padding: 1.15rem 3rem;
  font-size: 0.85rem;
}

.btn--full {
  width: 100%;
}

.btn--icon {
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: 50%;
}

.btn .btn__arrow {
  transition: transform var(--duration-normal) var(--ease-out-quart);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* Button loading state */
.btn--loading {
  pointer-events: none;
  color: transparent !important;
}

.btn--loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--color-primary-dark);
  border-radius: 50%;
  animation: btnSpin 0.6s linear infinite;
}

.btn--primary.btn--loading::after {
  border-color: rgba(26, 26, 26, 0.2);
  border-top-color: var(--color-primary-dark);
}

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


/* -----------------------------------------------
   7. SERVICE CARDS
   ----------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  position: relative;
  background-color: var(--color-accent);
  border: 1px solid var(--color-gray-200);
  padding: 3rem 2.5rem;
  transition: all var(--duration-slow) var(--ease-out-quart);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: transparent;
}

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

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  color: var(--color-secondary);
  font-size: 1.75rem;
  background-color: rgba(201, 169, 98, 0.08);
  border-radius: 12px;
  transition: all var(--duration-normal) var(--ease-in-out);
}

.service-card:hover .service-card__icon {
  background-color: var(--color-secondary);
  color: var(--color-primary-dark);
}

.service-card__title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.service-card__text {
  font-size: 0.95rem;
  color: var(--color-gray-500);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary-dark);
  transition: all var(--duration-normal) var(--ease-in-out);
}

.service-card__link .arrow {
  display: inline-block;
  transition: transform var(--duration-normal) var(--ease-out-quart);
}

.service-card:hover .service-card__link .arrow {
  transform: translateX(6px);
}

.service-card__link:hover {
  color: var(--color-secondary);
}

.service-card__number {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-gray-100);
  line-height: 1;
  transition: color var(--duration-normal) var(--ease-in-out);
}

.service-card:hover .service-card__number {
  color: rgba(201, 169, 98, 0.1);
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: 2.25rem 1.75rem;
  }
}


/* -----------------------------------------------
   8. ABOUT / SPLIT LAYOUT
   ----------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

.split__image {
  position: relative;
  overflow: hidden;
}

.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slower) var(--ease-out-expo);
}

.split__image:hover img {
  transform: scale(1.03);
}

.split__image-accent {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 200px;
  height: 200px;
  border: 3px solid var(--color-secondary);
  z-index: -1;
}

.split__content {
  padding: 2rem 0;
}

.split__content .overline {
  margin-bottom: 1.25rem;
}

.split__content h2 {
  margin-bottom: 1.5rem;
}

.split__content p {
  color: var(--color-gray-500);
  line-height: 1.85;
}

.split__list {
  margin-top: 2rem;
}

.split__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: var(--color-gray-600);
}

.split__list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-color: rgba(201, 169, 98, 0.12);
  border-radius: 50%;
  margin-top: 2px;
  position: relative;
}

.split__list li::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: var(--color-secondary);
  border-radius: 50%;
}

.about__signature {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.about__signature img {
  height: 50px;
}

.about__signature-info {
  font-size: 0.9rem;
}

.about__signature-name {
  font-weight: 600;
  color: var(--color-primary);
}

.about__signature-title {
  color: var(--color-gray-400);
  font-size: 0.8rem;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

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

.team-card__image {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  aspect-ratio: 3 / 4;
}

.team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
  filter: grayscale(20%);
}

.team-card:hover .team-card__image img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.team-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 26, 26, 0.85) 100%);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-in-out);
}

.team-card:hover .team-card__overlay {
  opacity: 1;
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.team-card__role {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-secondary);
}

@media (max-width: 1024px) {
  .split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .split--reverse {
    direction: ltr;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }
}


/* -----------------------------------------------
   9. STATS / COUNTER SECTION
   ----------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats--inline {
  padding: 4rem 0;
  border-top: 1px solid var(--color-gray-200);
  border-bottom: 1px solid var(--color-gray-200);
}

.stats--dark {
  border-color: rgba(255, 255, 255, 0.08);
}

.stat {
  padding: 2rem 1rem;
  position: relative;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50%;
  background-color: var(--color-gray-200);
}

.section--dark .stat:not(:last-child)::after {
  background-color: rgba(255, 255, 255, 0.08);
}

.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__suffix {
  font-size: 0.65em;
  font-weight: 400;
}

.stat__label {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray-400);
}

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

@media (max-width: 1024px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .stats {
    grid-template-columns: 1fr;
  }
  .stat::after {
    display: none !important;
  }
  .stat {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--color-gray-200);
  }
  .stat:last-child {
    border-bottom: none;
  }
}


/* -----------------------------------------------
   10. PROJECTS / GALLERY
   ----------------------------------------------- */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.55rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gray-500);
  background: none;
  border: 1px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-in-out);
}

.filter-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-gray-300);
}

.filter-btn.active {
  color: var(--color-primary-dark);
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  font-weight: 600;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.projects-grid--masonry {
  grid-auto-rows: 280px;
}

.projects-grid--masonry .project-card:nth-child(1) {
  grid-row: span 2;
}

.projects-grid--masonry .project-card:nth-child(4) {
  grid-column: span 2;
}

.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-color: var(--color-gray-100);
}

.project-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slower) var(--ease-out-expo);
}

.project-card:hover .project-card__image {
  transform: scale(1.08);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0) 0%,
    rgba(26, 26, 26, 0) 40%,
    rgba(26, 26, 26, 0.92) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-in-out);
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.project-card__category {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
  transform: translateY(20px);
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.project-card:hover .project-card__category {
  transform: translateY(0);
}

.project-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  transform: translateY(20px);
  transition: transform var(--duration-slow) var(--ease-out-expo) 0.05s;
}

.project-card:hover .project-card__title {
  transform: translateY(0);
}

.project-card__arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-secondary);
  color: var(--color-primary-dark);
  border-radius: 50%;
  font-size: 1.1rem;
  transform: translate(20px, -20px);
  opacity: 0;
  transition: all var(--duration-slow) var(--ease-out-expo);
}

.project-card:hover .project-card__arrow {
  transform: translate(0, 0);
  opacity: 1;
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-grid--masonry {
    grid-auto-rows: 250px;
  }
  .projects-grid--masonry .project-card:nth-child(4) {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid--masonry {
    grid-auto-rows: 300px;
  }
  .projects-grid--masonry .project-card:nth-child(1) {
    grid-row: span 1;
  }
}


/* -----------------------------------------------
   11. TESTIMONIALS
   ----------------------------------------------- */
.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial {
  text-align: center;
  padding: 2rem 0;
}

.testimonial__quote-mark {
  font-family: var(--font-heading);
  font-size: 6rem;
  line-height: 0.5;
  color: var(--color-secondary);
  opacity: 0.3;
  margin-bottom: 1rem;
  display: block;
}

.testimonial__text {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.65;
  color: var(--color-primary);
  margin-bottom: 2.5rem;
}

.section--dark .testimonial__text {
  color: var(--color-gray-200);
}

.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-secondary);
}

.testimonial__info {
  text-align: left;
}

.testimonial__name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-primary);
}

.section--dark .testimonial__name {
  color: var(--color-accent);
}

.testimonial__role {
  font-size: 0.8rem;
  color: var(--color-gray-400);
}

.testimonial__stars {
  display: flex;
  gap: 0.2rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.testimonial__stars svg,
.testimonial__stars i {
  color: var(--color-secondary);
  font-size: 1rem;
}

/* Slider dots */
.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-gray-300);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-in-out);
}

.slider-dot.active {
  width: 32px;
  border-radius: 4px;
  background-color: var(--color-secondary);
}

.section--dark .slider-dot {
  background-color: var(--color-gray-700);
}


/* -----------------------------------------------
   12. SERVICE AREA
   ----------------------------------------------- */
.service-area {
  position: relative;
}

.service-area__map {
  width: 100%;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  filter: grayscale(80%) contrast(1.1);
  transition: filter var(--duration-slow) var(--ease-in-out);
}

.service-area__map:hover {
  filter: grayscale(30%) contrast(1);
}

.service-area__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.service-area__locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.service-area__location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-gray-600);
}

.service-area__location i,
.service-area__location svg {
  color: var(--color-secondary);
  font-size: 0.85rem;
}


/* -----------------------------------------------
   13. CTA BANNER
   ----------------------------------------------- */
.cta-banner {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
  background-color: var(--color-primary);
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.cta-banner--parallax .cta-banner__bg {
  will-change: transform;
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.92) 0%,
    rgba(45, 45, 45, 0.88) 100%
  );
}

.cta-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.cta-banner__text {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--color-gray-400);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.cta-banner__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cta-banner__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  font-family: var(--font-heading);
}


/* -----------------------------------------------
   14. CONTACT FORM
   ----------------------------------------------- */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-info__item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
  align-items: flex-start;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: rgba(201, 169, 98, 0.08);
  border-radius: 12px;
  color: var(--color-secondary);
  font-size: 1.1rem;
}

.contact-info__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray-400);
  margin-bottom: 0.35rem;
}

.contact-info__value {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 500;
}

.contact-info__value a:hover {
  color: var(--color-secondary);
}

.contact-hours {
  margin-top: 2rem;
  padding: 2rem;
  background-color: var(--color-cream);
  border-radius: 12px;
}

.contact-hours__title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.contact-hours__row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-gray-200);
}

.contact-hours__row:last-child {
  border-bottom: none;
}

.contact-hours__day {
  color: var(--color-gray-600);
}

.contact-hours__time {
  font-weight: 500;
  color: var(--color-primary);
}

/* Form */
.form {
  background-color: var(--color-accent);
  padding: 3rem;
  box-shadow: var(--shadow-2xl);
  border-radius: 4px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form__group {
  position: relative;
  margin-bottom: 2rem;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 1rem 0;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-primary);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--color-gray-300);
  outline: none;
  transition: border-color var(--duration-normal) var(--ease-in-out);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-bottom-color: var(--color-secondary);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

/* Floating labels */
.form__label {
  position: absolute;
  top: 1rem;
  left: 0;
  font-size: 1rem;
  color: var(--color-gray-400);
  pointer-events: none;
  transition: all var(--duration-normal) var(--ease-out-quart);
  transform-origin: left;
}

.form__input:focus ~ .form__label,
.form__input:not(:placeholder-shown) ~ .form__label,
.form__textarea:focus ~ .form__label,
.form__textarea:not(:placeholder-shown) ~ .form__label,
.form__select:focus ~ .form__label,
.form__select:valid ~ .form__label {
  top: -0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-secondary);
}

/* Focus underline animation */
.form__group::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-secondary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.form__group:focus-within::after {
  transform: scaleX(1);
}

/* Custom select */
.form__select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2rem;
}

.form__select-wrapper {
  position: relative;
}

.form__select-wrapper::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-gray-400);
  border-bottom: 2px solid var(--color-gray-400);
  pointer-events: none;
  transition: border-color var(--duration-normal) var(--ease-in-out);
}

.form__select-wrapper:focus-within::before {
  border-color: var(--color-secondary);
}

.form__select option {
  font-family: var(--font-body);
  padding: 0.5rem;
  background-color: var(--color-accent);
  color: var(--color-primary);
}

/* Submit button */
.form__submit {
  margin-top: 1rem;
}

/* Error / success states */
.form__input.error,
.form__textarea.error {
  border-bottom-color: var(--color-error);
}

.form__error {
  font-size: 0.75rem;
  color: var(--color-error);
  margin-top: 0.35rem;
  display: none;
}

.form__input.error ~ .form__error,
.form__textarea.error ~ .form__error {
  display: block;
}

.form__success {
  text-align: center;
  padding: 3rem;
}

.form__success-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background-color: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  color: var(--color-success);
  font-size: 1.75rem;
}

@media (max-width: 1024px) {
  .contact-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .form__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .form {
    padding: 2rem 1.5rem;
  }
}


/* -----------------------------------------------
   15. FOOTER
   ----------------------------------------------- */
.footer {
  background-color: var(--color-primary-dark);
  color: var(--color-gray-400);
  padding-top: 5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__brand {
  padding-right: 2rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer__logo img {
  height: 42px;
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-accent);
}

.footer__description {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-gray-500);
  margin-bottom: 2rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--color-gray-400);
  font-size: 1rem;
  transition: all var(--duration-normal) var(--ease-in-out);
}

.footer__social-link:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-primary-dark);
  transform: translateY(-3px);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 1.75rem;
}

.footer__links li {
  margin-bottom: 0.85rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  transition: all var(--duration-normal) var(--ease-in-out);
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.footer__links a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1px;
  background-color: var(--color-secondary);
  margin-right: 0;
  transition: all var(--duration-normal) var(--ease-out-quart);
}

.footer__links a:hover {
  color: var(--color-secondary);
}

.footer__links a:hover::before {
  width: 12px;
  margin-right: 0.5rem;
}

.footer__contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  align-items: flex-start;
}

.footer__contact-item i,
.footer__contact-item svg {
  color: var(--color-secondary);
  margin-top: 3px;
  flex-shrink: 0;
}

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

/* Footer bottom bar */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copyright {
  font-size: 0.8rem;
  color: var(--color-gray-600);
}

.footer__bottom-links {
  display: flex;
  gap: 2rem;
}

.footer__bottom-links a {
  font-size: 0.8rem;
  color: var(--color-gray-600);
  transition: color var(--duration-normal) var(--ease-in-out);
}

.footer__bottom-links a:hover {
  color: var(--color-secondary);
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}


/* -----------------------------------------------
   16. BLOG LISTING & POST
   ----------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background-color: var(--color-accent);
  border: 1px solid var(--color-gray-200);
  overflow: hidden;
  transition: all var(--duration-slow) var(--ease-out-quart);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.blog-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slower) var(--ease-out-expo);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--color-secondary);
  color: var(--color-primary-dark);
}

.blog-card__body {
  padding: 2rem;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--color-gray-400);
  margin-bottom: 0.75rem;
}

.blog-card__meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  transition: color var(--duration-normal) var(--ease-in-out);
}

.blog-card:hover .blog-card__title {
  color: var(--color-secondary-dark);
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__read-more {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-card__read-more .arrow {
  transition: transform var(--duration-normal) var(--ease-out-quart);
}

.blog-card:hover .blog-card__read-more .arrow {
  transform: translateX(5px);
}

/* Blog post single */
.blog-post {
  max-width: 780px;
  margin: 0 auto;
}

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

.blog-post__tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background-color: rgba(201, 169, 98, 0.12);
  color: var(--color-secondary-dark);
  margin-bottom: 1.5rem;
}

.blog-post__title {
  margin-bottom: 1.5rem;
}

.blog-post__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-gray-400);
}

.blog-post__featured-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 3rem;
}

.blog-post__content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-gray-600);
}

.blog-post__content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.blog-post__content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-post__content p {
  margin-bottom: 1.5rem;
}

.blog-post__content blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--color-secondary);
  background-color: var(--color-cream);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-primary);
}

.blog-post__content ul,
.blog-post__content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.blog-post__content li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

.blog-post__content ol li {
  list-style: decimal;
}

.blog-post__content img {
  border-radius: 4px;
  margin: 2rem 0;
}

.blog-post__share {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-gray-200);
}

.blog-post__share-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gray-400);
}

.blog-post__share-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--color-gray-200);
  color: var(--color-gray-500);
  transition: all var(--duration-normal) var(--ease-in-out);
}

.blog-post__share-link:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-primary-dark);
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}


/* -----------------------------------------------
   17. BREADCRUMBS
   ----------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-gray-400);
}

.breadcrumb a {
  color: var(--color-gray-400);
  transition: color var(--duration-normal) var(--ease-in-out);
}

.breadcrumb a:hover {
  color: var(--color-secondary);
}

.breadcrumb__separator {
  color: var(--color-gray-300);
  font-size: 0.65rem;
}

.breadcrumb__current {
  color: var(--color-accent);
}

.section--dark .breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
}

.section--dark .breadcrumb a:hover {
  color: var(--color-secondary);
}


/* -----------------------------------------------
   18. SERVICE PAGE LAYOUT
   ----------------------------------------------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}

.service-detail__content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.service-detail__content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-gray-600);
  margin-bottom: 1.5rem;
}

.service-detail__content ul {
  margin: 1.5rem 0;
  padding-left: 0;
}

.service-detail__content ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  font-size: 0.95rem;
  color: var(--color-gray-600);
  border-bottom: 1px solid var(--color-gray-100);
}

.service-detail__content ul li:last-child {
  border-bottom: none;
}

.service-detail__content ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.service-detail__image {
  margin: 2rem 0;
  border-radius: 4px;
  overflow: hidden;
}

/* Sidebar */
.service-sidebar {
  position: sticky;
  top: 120px;
}

.service-sidebar__nav {
  background-color: var(--color-primary);
  padding: 2rem;
  margin-bottom: 2rem;
}

.service-sidebar__nav-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-secondary);
  margin-bottom: 1.25rem;
}

.service-sidebar__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  font-size: 0.9rem;
  color: var(--color-gray-400);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--duration-normal) var(--ease-in-out);
}

.service-sidebar__nav a:last-child {
  border-bottom: none;
}

.service-sidebar__nav a:hover,
.service-sidebar__nav a.active {
  color: var(--color-accent);
  padding-left: 0.5rem;
}

.service-sidebar__nav a.active {
  color: var(--color-secondary);
}

.service-sidebar__cta {
  background: var(--gradient-gold);
  padding: 2.5rem 2rem;
  text-align: center;
}

.service-sidebar__cta-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
}

.service-sidebar__cta-text {
  font-size: 0.9rem;
  color: rgba(26, 26, 26, 0.7);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-sidebar__cta-phone {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 1.25rem;
}

@media (max-width: 1024px) {
  .service-detail {
    grid-template-columns: 1fr;
  }
  .service-sidebar {
    position: static;
  }
}


/* -----------------------------------------------
   19. FAQ ACCORDION
   ----------------------------------------------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-gray-200);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.75rem 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--duration-normal) var(--ease-in-out);
}

.faq-item__question:hover {
  color: var(--color-secondary-dark);
}

.faq-item__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--color-gray-100);
  position: relative;
  transition: all var(--duration-normal) var(--ease-in-out);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-primary);
  transition: transform var(--duration-normal) var(--ease-out-quart);
}

.faq-item__icon::before {
  width: 12px;
  height: 2px;
}

.faq-item__icon::after {
  width: 2px;
  height: 12px;
}

.faq-item.active .faq-item__icon {
  background-color: var(--color-secondary);
}

.faq-item.active .faq-item__icon::before {
  background-color: var(--color-primary-dark);
}

.faq-item.active .faq-item__icon::after {
  transform: rotate(90deg);
  background-color: var(--color-primary-dark);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out-quart);
}

.faq-item.active .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer-inner {
  padding-bottom: 1.75rem;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--color-gray-500);
}

.faq-item__answer-inner p + p {
  margin-top: 1rem;
}

.section--dark .faq-item {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.section--dark .faq-item__question {
  color: var(--color-accent);
}

.section--dark .faq-item__icon {
  background-color: var(--color-gray-800);
}

.section--dark .faq-item__icon::before,
.section--dark .faq-item__icon::after {
  background-color: var(--color-accent);
}


/* -----------------------------------------------
   20. PAGE HERO (INNER PAGES)
   ----------------------------------------------- */
.page-hero {
  position: relative;
  padding: 12rem 0 5rem;
  background-color: var(--color-primary);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.5) 0%,
    rgba(26, 26, 26, 0.9) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.page-hero__subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--color-gray-400);
  max-width: 600px;
  line-height: 1.8;
}

.page-hero .breadcrumb {
  margin-bottom: 1.5rem;
}

.page-hero--center {
  text-align: center;
}

.page-hero--center .page-hero__subtitle {
  margin: 0 auto;
}

.page-hero--center .breadcrumb {
  justify-content: center;
}

@media (max-width: 640px) {
  .page-hero {
    padding: 9rem 0 3.5rem;
  }
}


/* -----------------------------------------------
   21. WHY CHOOSE US
   ----------------------------------------------- */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.why-us-card {
  padding: 3.5rem 2.5rem;
  text-align: center;
  border: 1px solid var(--color-gray-200);
  margin: -0.5px;
  transition: all var(--duration-slow) var(--ease-out-quart);
  position: relative;
}

.why-us-card:hover {
  z-index: 2;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.02);
  box-shadow: var(--shadow-2xl);
}

.why-us-card__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2rem;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  border-radius: 50%;
  transition: all var(--duration-normal) var(--ease-in-out);
}

.why-us-card:hover .why-us-card__icon {
  background-color: var(--color-secondary);
  color: var(--color-primary-dark);
}

.why-us-card__title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  transition: color var(--duration-normal) var(--ease-in-out);
}

.why-us-card:hover .why-us-card__title {
  color: var(--color-accent);
}

.why-us-card__text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--color-gray-500);
  transition: color var(--duration-normal) var(--ease-in-out);
}

.why-us-card:hover .why-us-card__text {
  color: var(--color-gray-400);
}

@media (max-width: 1024px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .why-us-grid {
    grid-template-columns: 1fr;
  }
  .why-us-card {
    padding: 2.5rem 2rem;
  }
}


/* -----------------------------------------------
   22. PROCESS / TIMELINE
   ----------------------------------------------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background-color: var(--color-gray-200);
}

.section--dark .process-steps::before {
  background-color: rgba(255, 255, 255, 0.08);
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step__number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-secondary);
  background-color: var(--color-accent);
  border: 3px solid var(--color-gray-200);
  border-radius: 50%;
  position: relative;
  z-index: 2;
  transition: all var(--duration-normal) var(--ease-in-out);
}

.section--dark .process-step__number {
  background-color: var(--color-primary);
  border-color: var(--color-gray-800);
}

.process-step:hover .process-step__number {
  border-color: var(--color-secondary);
  background-color: var(--color-secondary);
  color: var(--color-primary-dark);
}

.process-step__title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.process-step__text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-gray-500);
}

@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .process-steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}


/* -----------------------------------------------
   23. LOGO BAR / PARTNERS
   ----------------------------------------------- */
.logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding: 3rem 0;
}

.logo-bar img {
  height: 40px;
  opacity: 0.3;
  filter: grayscale(100%);
  transition: all var(--duration-normal) var(--ease-in-out);
}

.logo-bar img:hover {
  opacity: 0.7;
  filter: grayscale(0%);
}


/* -----------------------------------------------
   24. BACK TO TOP BUTTON
   ----------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-secondary);
  color: var(--color-primary-dark);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--duration-normal) var(--ease-out-quart);
  box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-secondary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}


/* -----------------------------------------------
   25. ANIMATIONS & SCROLL REVEAL
   ----------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all var(--duration-slower) var(--ease-out-expo);
}

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

.reveal--left {
  transform: translateX(-40px);
}

.reveal--left.visible {
  transform: translateX(0);
}

.reveal--right {
  transform: translateX(40px);
}

.reveal--right.visible {
  transform: translateX(0);
}

.reveal--scale {
  transform: scale(0.95);
}

.reveal--scale.visible {
  transform: scale(1);
}

.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; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Stagger children */
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.5s; }


/* -----------------------------------------------
   26. PAGINATION
   ----------------------------------------------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination__link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-gray-600);
  border: 1px solid var(--color-gray-200);
  border-radius: 50%;
  transition: all var(--duration-normal) var(--ease-in-out);
}

.pagination__link:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.pagination__link.active {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-primary-dark);
  font-weight: 600;
}

.pagination__link--arrow {
  font-size: 1.1rem;
}


/* -----------------------------------------------
   27. LIGHTBOX / MODAL
   ----------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--duration-normal) var(--ease-in-out);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all var(--duration-normal) var(--ease-in-out);
}

.modal-close:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  transform: scale(0.95);
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}


/* -----------------------------------------------
   28. BODY LOCK (when mobile menu or modal open)
   ----------------------------------------------- */
body.no-scroll {
  overflow: hidden;
}


/* -----------------------------------------------
   29. UTILITY CLASSES
   ----------------------------------------------- */

/* Text alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Text color */
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-white { color: var(--color-accent); }
.text-gray { color: var(--color-gray-500); }
.text-gold { color: var(--color-secondary); }

/* Font weight */
.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* Font size */
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }

/* Spacing */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mt-6 { margin-top: 4rem; }
.mt-8 { margin-top: 6rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mb-6 { margin-bottom: 4rem; }
.mb-8 { margin-bottom: 6rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

.pt-0 { padding-top: 0; }
.pt-4 { padding-top: 2rem; }
.pt-6 { padding-top: 4rem; }

.pb-0 { padding-bottom: 0; }
.pb-4 { padding-bottom: 2rem; }
.pb-6 { padding-bottom: 4rem; }

.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-6 { padding-top: 4rem; padding-bottom: 4rem; }

.px-2 { padding-left: 1rem; padding-right: 1rem; }
.px-4 { padding-left: 2rem; padding-right: 2rem; }

/* Gap */
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* Display */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-inline-flex { display: inline-flex; }

/* Flex */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Width */
.w-full { width: 100%; }
.max-w-sm { max-width: 540px; }
.max-w-md { max-width: 720px; }
.max-w-lg { max-width: 960px; }
.max-w-xl { max-width: 1200px; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }

/* Image */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-grayscale {
  filter: grayscale(100%);
  transition: filter var(--duration-normal) var(--ease-in-out);
}

.img-grayscale:hover {
  filter: grayscale(0%);
}

/* Dividers */
.divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
  border: none;
  margin: 1.5rem 0;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

.divider--white {
  background: var(--color-accent);
  opacity: 0.3;
}

/* Ratio box for images */
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-3x4 { aspect-ratio: 3 / 4; }

/* Border radius */
.rounded { border-radius: 4px; }
.rounded-md { border-radius: 8px; }
.rounded-lg { border-radius: 12px; }
.rounded-full { border-radius: 9999px; }

/* Z-index scale */
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Separator line */
.separator {
  width: 100%;
  height: 1px;
  background-color: var(--color-gray-200);
  border: none;
}

.section--dark .separator {
  background-color: rgba(255, 255, 255, 0.06);
}

/* Responsive visibility */
@media (max-width: 1024px) {
  .hide-tablet { display: none !important; }
}

@media (max-width: 640px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 641px) {
  .show-mobile-only { display: none !important; }
}

@media (min-width: 1025px) {
  .show-tablet-only { display: none !important; }
}


/* -----------------------------------------------
   30. PRELOADER
   ----------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  background-color: var(--color-primary-dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__logo {
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1); }
}


/* -----------------------------------------------
   31. COOKIE BANNER
   ----------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-primary);
  padding: 1.5rem 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-size: 0.85rem;
  color: var(--color-gray-400);
  flex: 1;
}

.cookie-banner__text a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}


/* -----------------------------------------------
   32. NOTIFICATION / TOAST
   ----------------------------------------------- */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 1rem 2rem;
  background-color: var(--color-primary);
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  box-shadow: var(--shadow-2xl);
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.toast.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.toast--success {
  border-left: 4px solid var(--color-success);
}

.toast--error {
  border-left: 4px solid var(--color-error);
}


/* -----------------------------------------------
   33. MISC COMPONENTS
   ----------------------------------------------- */

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
}

.badge--gold {
  background-color: rgba(201, 169, 98, 0.12);
  color: var(--color-secondary-dark);
}

.badge--dark {
  background-color: var(--color-primary);
  color: var(--color-accent);
}

/* Decorative line accent */
.line-accent {
  position: relative;
  padding-left: 1.75rem;
}

.line-accent::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-gold);
  border-radius: 2px;
}

/* Feature list with checkmarks */
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--color-gray-600);
}

.check-list li::before {
  content: '\2713';
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  background-color: var(--color-secondary);
  border-radius: 50%;
  margin-top: 2px;
}

/* Hover card effect for general use */
.hover-lift {
  transition: transform var(--duration-slow) var(--ease-out-quart),
              box-shadow var(--duration-slow) var(--ease-out-quart);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

/* Gold underline link */
.link-underline {
  position: relative;
  display: inline-block;
  color: var(--color-secondary-dark);
  font-weight: 500;
}

.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-secondary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--duration-normal) var(--ease-out-quart);
}

.link-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Image with gold corner accent */
.image-accent-corner {
  position: relative;
  display: inline-block;
}

.image-accent-corner::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 40%;
  height: 40%;
  border-right: 3px solid var(--color-secondary);
  border-bottom: 3px solid var(--color-secondary);
  z-index: -1;
}


/* -----------------------------------------------
   34. RESPONSIVE ADJUSTMENTS
   ----------------------------------------------- */
@media (max-width: 1024px) {
  .section {
    padding: 5rem 0;
  }
  .section--lg {
    padding: 7rem 0;
  }
  .split {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  .section {
    padding: 4rem 0;
  }
  .section--lg {
    padding: 5rem 0;
  }
  .hero__content {
    padding: 0 1.5rem;
  }
  .cta-banner {
    padding: 5rem 0;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 15px;
  }
  .container {
    padding: 0 1.25rem;
  }
  .section {
    padding: 3.5rem 0;
  }
  .hero {
    min-height: 600px;
  }
  .hero__scroll {
    bottom: 1.5rem;
  }
  .form {
    box-shadow: var(--shadow-lg);
  }
}


/* -----------------------------------------------
   35. PRINT STYLES
   ----------------------------------------------- */
@media print {
  .header,
  .nav-mobile,
  .hero__scroll,
  .back-to-top,
  .cookie-banner,
  .footer__social,
  .filter-bar {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  .section {
    padding: 1.5rem 0;
    page-break-inside: avoid;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    color: #666;
  }
}
