/* ========================================
   ZONA STUDIO — Design System
   ======================================== */

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

:root {
  /* Palette */
  --inkwell: #2C3639;
  --lunar: #374F4F;
  --creme: #FA973B;
  --lait: #D0C7C9;

  /* Derived */
  --bg: #2C3639;
  --bg-dark: #232c2e;
  --text: #D0C7C9;
  --text-muted: rgba(208, 199, 201, 0.6);
  --accent: #FA973B;
  --accent-hover: #e8872e;
  --surface: #374F4F;
  --border: rgba(208, 199, 201, 0.12);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'DM Serif Display', 'Georgia', serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  /* Layout */
  --container: 1280px;
  --header-h: 80px;

  /* Motion — durations increased per client request */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --duration: 1.2s;
  --duration-fast: 0.5s;
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ========================================
   LOADER
   ======================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}

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

.loader__inner {
  text-align: center;
}

.loader__anim {
  display: block;
  width: 240px;
  height: auto;
  margin: 0 auto 1.5rem;
}

.loader__line {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 1.5rem;
  animation: loaderLine 1.8s var(--ease) infinite, loaderLineFade 0.8s 0.4s var(--ease) both;
  transform-origin: left;
}

@keyframes loaderLine {
  0% { transform: scaleX(0); opacity: 0.5; }
  50% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(0); opacity: 0.5; transform-origin: right; }
}

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

.loader__text {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  font-weight: 500;
  animation: loaderText 1.6s 0.6s var(--ease) both;
}

@keyframes loaderText {
  0% {
    opacity: 0;
    letter-spacing: 0.6em;
  }
  100% {
    opacity: 1;
    letter-spacing: 0.3em;
  }
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background var(--duration-fast), box-shadow var(--duration-fast);
}

.header--scrolled,
.header--solid {
  background: rgba(44, 54, 57, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.header__logo-img {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

/* Logo social hover dropdown */
.header__logo {
  position: relative;
}

.header__logo-socials {
  position: absolute;
  top: 100%;
  left: 0;
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--duration-fast), visibility var(--duration-fast), transform var(--duration-fast) var(--ease);
}

.header__logo:hover .header__logo-socials {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header__logo-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  transition: color var(--duration-fast), transform var(--duration-fast);
}

.header__logo-socials a:hover {
  color: var(--accent);
  transform: scale(1.15);
}

.header__nav {
  display: flex;
  gap: 2.5rem;
}

.header__link {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 400;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--duration-fast);
}

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

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

.header__link--active {
  color: var(--accent);
}

/* Hamburger */
.header__menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  padding: 4px 0;
  z-index: 101;
}

.header__menu span {
  display: block;
  height: 1.5px;
  background: var(--text);
  transition: transform var(--duration-fast) var(--ease), opacity var(--duration-fast);
}

.header__menu.is-active span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}
.header__menu.is-active span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-fast), visibility var(--duration-fast);
}

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

.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav__link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 400;
  transition: color var(--duration-fast);
}

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

.mobile-nav__footer {
  margin-top: 3rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 2;
}

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__menu { display: flex; }
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 30s var(--ease) forwards;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(44, 54, 57, 0.95) 0%,
    rgba(44, 54, 57, 0.4) 40%,
    rgba(44, 54, 57, 0.2) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  width: 100%;
}

.hero__tag {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.hero__title-line {
  display: block;
}

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

.hero__subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: var(--space-lg);
  font-weight: 300;
  line-height: 1.7;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.5rem;
  transition: gap var(--duration-fast) var(--ease);
}

.hero__cta:hover {
  gap: 1.25rem;
}

.hero__scroll {
  position: fixed;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: 2rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  mix-blend-mode: difference;
  transition: opacity 0.5s ease;
}

.hero__scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  color: var(--text-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: var(--text-muted);
  position: relative;
  overflow: hidden;
}

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

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

.hero__scroll.is-faded {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 480px) {
  .hero__scroll {
    display: none;
  }
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
  padding: clamp(4rem, 10vw, 8rem) 0;
}

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

.section--cta {
  padding: clamp(5rem, 12vw, 10rem) 0;
}

.section__header {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

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

.section__tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
}

.section__cta {
  margin-top: var(--space-xl);
  text-align: center;
}

/* Page Header */
.page-header {
  padding: calc(var(--header-h) + var(--space-xl)) 0 var(--space-lg);
}

.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}

.page-header__subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-muted);
  max-width: 500px;
  font-weight: 300;
  line-height: 1.7;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  padding: 1rem 2rem;
  transition: all var(--duration-fast) var(--ease);
  cursor: pointer;
}

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

.btn--primary:hover {
  background: var(--accent-hover);
  gap: 1rem;
}

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

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  gap: 1rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn--sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.75rem;
}

/* ========================================
   PROJECTS GRID (Home)
   ======================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.project-card {
  position: relative;
  overflow: hidden;
  display: block;
  background: var(--surface);
}

.project-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.project-card--large .project-card__img-wrap {
  aspect-ratio: 16/10;
}

.project-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  filter: grayscale(60%) brightness(0.9);
  transition: transform var(--duration) var(--ease), filter var(--duration) var(--ease);
}

.project-card:hover .project-card__img {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(1);
}

.project-card__info {
  padding: 1.25rem 1.5rem;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 2px solid transparent;
  transition: background var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease);
}

.project-card:hover .project-card__info {
  background: var(--lait);
  border-color: var(--lait);
}

.project-card:hover .project-card__category {
  color: var(--lunar);
}

.project-card:hover .project-card__title {
  color: var(--lunar);
}

.project-card:hover .project-card__location,
.project-card:hover .project-card__area {
  color: var(--lunar);
  opacity: 0.7;
}

.project-card__category {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.project-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-top: 0.35rem;
}

.project-card__location {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.project-card__area {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Intercalated: odd cards shift down for staggered look */
.projects-grid .project-card:nth-child(even) {
  margin-top: 2.5rem;
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid .project-card:nth-child(even) {
    margin-top: 0;
  }
}

/* ========================================
   PROJECTS MASONRY (Projects page)
   ======================================== */
.projects-masonry {
  columns: 2;
  column-gap: 1.5rem;
}

.projects-masonry .project-card {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

.projects-masonry .project-card__img-wrap {
  aspect-ratio: 4/3;
}

.projects-masonry .project-card--tall .project-card__img-wrap {
  aspect-ratio: 3/4;
}

@media (max-width: 768px) {
  .projects-masonry {
    columns: 1;
  }
}

/* Filters */
.filters-bar {
  padding: var(--space-md) 0;
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.filters {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}

.filters::-webkit-scrollbar { display: none; }

.filter-btn {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0.5rem 1.25rem;
  white-space: nowrap;
  border: 1px solid var(--border);
  transition: all var(--duration-fast);
  color: var(--text-muted);
}

.filter-btn:hover {
  border-color: var(--text);
  color: var(--text);
}

.filter-btn--active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

/* Filter animation */
.project-card[data-category] {
  transition: opacity var(--duration-fast), transform var(--duration-fast) var(--ease);
}

.project-card.is-hidden {
  display: none;
}

/* ========================================
   SPLIT SECTION
   ======================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.split--reverse {
  direction: rtl;
}

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

.split__media {
  overflow: hidden;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.split__content {
  padding: var(--space-lg) 0;
}

.split__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: var(--space-sm);
  font-weight: 300;
}

.split__stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.stat__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--accent);
  display: block;
}

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

@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split--reverse {
    direction: ltr;
  }
  .split__media img {
    aspect-ratio: 16/9;
  }
}

/* ========================================
   SERVICES
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.service {
  background: var(--bg-dark);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  transition: background var(--duration-fast);
}

.service:hover {
  background: var(--surface);
}

.service__number {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 500;
}

.service__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  margin: var(--space-sm) 0;
}

.service__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

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

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

/* ========================================
   CTA BLOCK
   ======================================== */
.cta-block {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-block__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.cta-block__text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  font-weight: 300;
}

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

.value__icon {
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.value__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.value__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

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

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

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

.team-member__img-wrap {
  overflow: hidden;
  aspect-ratio: 3/4;
  margin-bottom: 1rem;
}

.team-member__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.team-member:hover .team-member__img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.team-member__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
}

.team-member__role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

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

@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ========================================
   TIMELINE
   ======================================== */
.timeline {
  max-width: 700px;
}

.timeline__item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.timeline__item:last-child {
  border-bottom: none;
}

.timeline__year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 400;
}

.timeline__title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.timeline__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

@media (max-width: 600px) {
  .timeline__item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* ========================================
   CONTACT
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(3rem, 6vw, 6rem);
}

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

/* Form */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-weight: 500;
}

.form-optional {
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.6;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color var(--duration-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
}

.form-input::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

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

.form-select option {
  background: var(--bg);
  color: var(--text);
}

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

.contact-form .btn {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

/* Form Success */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
}

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

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 1rem 0 0.5rem;
}

.form-success p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Contact Info */
.contact-info__block {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

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

.contact-info__title {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.contact-info__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
}

.contact-info__link {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
  transition: color var(--duration-fast);
  line-height: 1.8;
}

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

.contact-info__socials {
  display: flex;
  gap: 1.5rem;
}

.contact-info__social {
  font-size: 0.85rem;
  color: var(--text);
  transition: color var(--duration-fast);
}

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

/* Map */
.map-section {
  border-top: 1px solid var(--border);
}

.map-placeholder {
  height: 350px;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder__inner {
  text-align: center;
}

.map-placeholder__inner p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 1rem 0;
}

@media (max-width: 600px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(44, 54, 57, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-fast), visibility var(--duration-fast);
}

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

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: color var(--duration-fast);
  z-index: 201;
}

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

.lightbox__content {
  max-width: 85vw;
  max-height: 80vh;
}

.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox__info {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
}

.lightbox__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.lightbox__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.lightbox__counter {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
  display: block;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: color var(--duration-fast);
}

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

.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }

/* ========================================
   FOOTER
   ======================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-xl) 0 var(--space-lg);
  background: var(--bg-dark);
}

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

.footer__logo {
  display: block;
  height: 28px;
  width: auto;
  margin-bottom: 0.5rem;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
}

.footer__heading {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}

.footer__link {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--duration-fast);
  line-height: 2;
}

a.footer__link:hover {
  color: var(--text);
}

/* Footer social icons row */
.footer__socials {
  display: flex;
  gap: 1.25rem;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  justify-content: center;
}

.footer__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: color var(--duration-fast), border-color var(--duration-fast), transform var(--duration-fast);
}

.footer__social-icon:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
}

.footer__bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

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

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

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

/* Stagger children */
.reveal:nth-child(2) { transition-delay: 0.15s; }
.reveal:nth-child(3) { transition-delay: 0.3s; }
.reveal:nth-child(4) { transition-delay: 0.45s; }

/* ========================================
   RESPONSIVE FINE-TUNING
   ======================================== */
@media (max-width: 480px) {
  .hero {
    min-height: 100svh;
  }

  .split__stats {
    gap: var(--space-md);
  }

  .stat__number {
    font-size: 2rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__img {
    transform: scale(1);
  }
}

/* Print */
@media print {
  .header, .hero__scroll, .loader, .lightbox, .mobile-nav, #scrollIndicator {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}