/* ============================================
   HERMES EXTERIORS — Custom Styles
   Modern Architectural Editorial Design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400&family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- CSS Variables --- */
:root {
  --color-black: #0a0a0a;
  --color-charcoal: #1a1a1a;
  --color-dark: #222222;
  --color-graphite: #2d2d2d;
  --color-slate: #4a4a4a;
  --color-mid: #6b6b6b;
  --color-muted: #999999;
  --color-light: #d4d4d4;
  --color-off-white: #f0ece6;
  --color-cream: #f7f4ef;
  --color-white: #ffffff;
  --color-accent: #3AA393;
  --color-accent-light: #5BB8AA;
  --color-accent-dark: #2A7D70;
  --color-glass: rgba(255, 255, 255, 0.06);
  --color-glass-border: rgba(255, 255, 255, 0.1);
  --color-glass-hover: rgba(255, 255, 255, 0.1);

  --font-display: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --header-height: 90px;
  --section-padding: clamp(80px, 10vw, 140px);
  --container-width: 1320px;
  --container-padding: clamp(20px, 4vw, 60px);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-elegant: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* --- Accessibility --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: none;
}

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

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

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

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

ul, ol {
  list-style: none;
}

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

h1 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 500;
}

h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
}

h4 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
}

p {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--color-slate);
  max-width: 680px;
}

.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-muted); }
.text-white { color: var(--color-white); }

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

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

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

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

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

/* --- Grain Overlay (subtle texture) --- */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-base);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-glass-border);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.header.scrolled::before {
  opacity: 1;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  position: relative;
  z-index: 1;
}

.header__logo img {
  height: 50px;
  width: auto;
  transition: opacity var(--transition-fast);
}

.header__logo:hover img {
  opacity: 0.8;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__nav a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  position: relative;
  padding: 4px 0;
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--color-accent);
}

.header__cta {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent) !important;
  border: 1px solid var(--color-accent);
  padding: 10px 24px;
  transition: all var(--transition-base);
}

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

.header__cta:hover {
  background: var(--color-accent);
  color: var(--color-black) !important;
}

/* Mobile hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  background: none;
  border: none;
  -webkit-appearance: none;
  appearance: none;
}

.header__hamburger span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--color-white);
  transition: all var(--transition-base);
  transform-origin: center;
}

.header__hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.header__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.9) 0%,
    rgba(10, 10, 10, 0.6) 35%,
    rgba(10, 10, 10, 0.55) 60%,
    rgba(10, 10, 10, 0.65) 100%
  );
  z-index: 1;
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--header-height) var(--container-padding) 80px;
  max-width: var(--container-width);
  margin: 0 auto;
  overflow: hidden;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.3s;
}

.hero__label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--color-accent);
}

.hero__title {
  color: var(--color-white);
  max-width: 900px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards 0.5s;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--color-light);
  max-width: 600px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.7s;
}

.hero__actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.9s;
}

/* Page Hero (shorter, for inner pages) */
.hero--page {
  height: 55vh;
  min-height: 450px;
  align-items: flex-end;
}

.hero--page .hero__overlay {
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.55) 50%,
    rgba(10, 10, 10, 0.6) 100%
  );
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

.btn--primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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

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

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

.btn--accent-outline {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.btn--accent-outline:hover {
  background: var(--color-accent);
  color: var(--color-black);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

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

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  margin-bottom: clamp(40px, 6vw, 80px);
}

.section-header__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.section-header__label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--color-accent);
}

.section-header__title {
  margin-bottom: 20px;
}

.section-header__divider {
  width: 60px;
  height: 1px;
  background: var(--color-accent);
  margin-top: 28px;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-card {
  position: relative;
  height: 500px;
  overflow: hidden;
  cursor: pointer;
}

.service-card__bg {
  position: absolute;
  inset: 0;
}

.service-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card__bg img {
  transform: scale(1.08);
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.2) 60%,
    transparent 100%
  );
  transition: background var(--transition-base);
}

.service-card:hover .service-card__overlay {
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.9) 0%,
    rgba(10, 10, 10, 0.4) 70%,
    rgba(10, 10, 10, 0.2) 100%
  );
}

.service-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  z-index: 2;
}

.service-card__number {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--color-accent);
  margin-bottom: 12px;
  opacity: 0.7;
}

.service-card__title {
  color: var(--color-white);
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.service-card:hover .service-card__title {
  color: var(--color-accent-light);
}

.service-card__desc {
  color: var(--color-light);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.service-card:hover .service-card__desc {
  opacity: 1;
  transform: translateY(0);
}

.service-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base) 0.1s;
}

.service-card:hover .service-card__arrow {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-glass-border);
}

.stat {
  padding: 50px 40px;
  text-align: center;
  background: var(--color-charcoal);
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* ============================================
   ABOUT PREVIEW
   ============================================ */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.about-preview__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}

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

.about-preview__image::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 1px solid var(--color-accent);
  z-index: -1;
  opacity: 0.3;
}

.about-preview__text h2 {
  margin-bottom: 28px;
}

.about-preview__text p {
  margin-bottom: 20px;
}

.about-preview__text .btn {
  margin-top: 16px;
}

/* ============================================
   PARTNERS
   ============================================ */
.partners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(30px, 5vw, 80px);
  flex-wrap: wrap;
  padding: 20px 0;
}

.partners img {
  height: 40px;
  width: auto;
  opacity: 0.35;
  transition: opacity var(--transition-base), filter var(--transition-base);
  filter: brightness(0) saturate(0);
}

.partners img:hover {
  opacity: 0.75;
}

.partners img[src*="novatech"]:hover,
.partners img[src*="inline"]:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

.section--dark .partners img {
  filter: grayscale(1);
  mix-blend-mode: screen;
  opacity: 0.6;
}

.section--dark .partners img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* ============================================
   GALLERY / PORTFOLIO GRID
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item--wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.gallery-item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

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

.gallery-item:hover .gallery-item__overlay {
  background: rgba(10, 10, 10, 0.4);
}

.gallery-item__icon {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-base);
  color: var(--color-white);
}

.gallery-item:hover .gallery-item__icon {
  opacity: 1;
  transform: scale(1);
}

/* Gallery filter */
.gallery-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.gallery-filter__btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--color-light);
  color: var(--color-slate);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-filter__btn:hover,
.gallery-filter__btn.active {
  background: var(--color-charcoal);
  color: var(--color-white);
  border-color: var(--color-charcoal);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 100px);
}

.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
}

.contact-info__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 4px;
}

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

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

.contact-form {
  display: grid;
  gap: 20px;
}

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

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-slate);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-charcoal);
  background: var(--color-cream);
  border: 1px solid transparent;
  outline: none;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  background: var(--color-white);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 80px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand p {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-top: 20px;
  max-width: 300px;
}

.footer__title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--color-muted);
  transition: color var(--transition-fast);
}

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

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--color-muted);
}

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

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

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

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-muted);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8rem;
  color: var(--color-mid);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox__close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: none;
  transition: all var(--transition-fast);
}

.lightbox__close:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.lightbox__close svg {
  width: 24px;
  height: 24px;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: none;
  transition: all var(--transition-fast);
}

.lightbox__nav:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.lightbox__nav--prev { left: 30px; }
.lightbox__nav--next { right: 30px; }

/* ============================================
   ABOUT PAGE SPECIFICS
   ============================================ */
.about-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}

.about-content__text h3 {
  margin-bottom: 20px;
  color: var(--color-accent-dark);
}

.about-content__text p {
  margin-bottom: 20px;
}

.about-content__image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

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

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.value-card {
  padding: 40px;
  border: 1px solid var(--color-glass-border);
  transition: all var(--transition-base);
}

.section--dark .value-card {
  border-color: rgba(255, 255, 255, 0.08);
}

.value-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
}

.value-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--color-accent);
}

.value-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--color-white);
}

.value-card__desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ============================================
   SERVICES PAGE SPECIFICS
   ============================================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding: var(--section-padding) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail__image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.service-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-detail__image:hover img {
  transform: scale(1.04);
}

.service-detail__content h3 {
  margin-bottom: 20px;
}

.service-detail__content p {
  margin-bottom: 16px;
}

.service-detail__features {
  margin-top: 24px;
}

.service-detail__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--color-slate);
}

.service-detail__features li::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* CTA Banner */
.cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
}

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

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.8);
}

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

.cta-banner__content h2 {
  color: var(--color-white);
  margin-bottom: 20px;
}

.cta-banner__content p {
  color: var(--color-light);
  margin: 0 auto 32px;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all var(--transition-elegant);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all var(--transition-elegant);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all var(--transition-elegant);
}

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

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-elegant);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card:last-child {
    grid-column: span 2;
  }

  .about-preview {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-preview__image {
    aspect-ratio: 16/10;
    order: -1;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-content__image {
    aspect-ratio: 16/10;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

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

  .service-detail,
  .service-detail:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }

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

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

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    background: var(--color-black);
    gap: 32px;
    transition: right var(--transition-base);
  }

  .header__nav.open {
    right: 0;
  }

  .header__nav a {
    font-size: 1.1rem;
    letter-spacing: 0.2em;
  }

  .header__hamburger {
    display: flex;
  }

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

  .service-card,
  .service-card:last-child {
    grid-column: span 1;
    height: 400px;
  }

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

  .gallery-item--wide {
    grid-column: span 1;
    aspect-ratio: 1;
  }

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

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

  .hero {
    min-height: 600px;
  }

  .hero__title {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .hero__content {
    padding-bottom: 40px;
  }

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