/* ========================================
   Dilmaçlar Group — Premium Construction Theme
   ======================================== */

:root {
  --color-bg: #0a0a0b;
  --color-bg-elevated: #111113;
  --color-bg-card: #161618;
  --color-surface: #1c1c1f;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #f0ede8;
  --color-text-muted: #8a8780;
  --color-accent: #c9a962;
  --color-accent-light: #dfc88a;
  --color-accent-dark: #9a7b3c;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --font-price: 'Barlow Condensed', 'Outfit', system-ui, sans-serif;
  --container: min(1200px, 92vw);
  --header-h: 80px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.5);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

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

body.loaded .loader { opacity: 0; pointer-events: none; }
body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ---- Loader ---- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-bg);
  display: grid;
  place-items: center;
  transition: opacity 0.6s var(--ease-out);
}

.loader__inner { text-align: center; }

.loader__logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  display: block;
  margin-bottom: 1.5rem;
}

.loader__bar {
  display: block;
  width: 120px;
  height: 2px;
  background: var(--color-border);
  position: relative;
  overflow: hidden;
}

.loader__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  animation: loadBar 1.2s var(--ease-out) forwards;
}

@keyframes loadBar {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.header.scrolled {
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--color-border);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo__stack {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  line-height: 1.1;
  white-space: nowrap;
}

.logo__tagline {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  line-height: 1;
}

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

.nav__link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.3s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover { color: var(--color-text); }
.nav__link:hover::after { width: 100%; }

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

.nav__link--active::after {
  width: 100%;
}

.nav__link--cta {
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
}

.nav__link--cta::after { display: none; }
.nav__link--cta:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
}

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

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

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

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

.btn--accent {
  background: rgba(201, 169, 98, 0.12);
  color: var(--color-accent);
  border: 1px solid rgba(201, 169, 98, 0.45);
}

.btn--accent:hover {
  background: rgba(201, 169, 98, 0.22);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

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

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--color-bg);
}

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

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}

.hero__slide.active {
  opacity: 1;
  z-index: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 6s linear;
}

.hero__slide.active img {
  transform: scale(1.08);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(105deg, rgba(10, 10, 11, 0.92) 0%, rgba(10, 10, 11, 0.72) 45%, rgba(10, 10, 11, 0.45) 100%),
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201, 169, 98, 0.1) 0%, transparent 60%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 4;
  padding-block: 4rem 5rem;
}

.hero__slider-ui {
  position: absolute;
  right: max(4vw, 1.5rem);
  bottom: 3rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
  max-width: min(360px, 42vw);
}

.hero__slider-info {
  text-align: right;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.hero__slider-info.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__slider-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}

.hero__slider-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.hero__slider-location {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.hero__slider-dots {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero__slider-dot {
  width: 36px;
  height: 3px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}

.hero__slider-dot.active {
  background: var(--color-accent);
  width: 52px;
}

.hero__slider-dot:hover {
  background: rgba(201, 169, 98, 0.6);
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

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

.hero__desc {
  max-width: 520px;
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  max-width: min(100%, 920px);
}

.hero__actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn--land {
  white-space: normal;
  text-align: left;
  line-height: 1.35;
  max-width: min(100%, 22rem);
  padding: 0.85rem 1.35rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  pointer-events: none;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---- Sections ---- */
.section {
  padding-block: 7rem;
}

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

.section--accent {
  background: linear-gradient(135deg, var(--color-accent-dark) 0%, var(--color-accent) 50%, var(--color-accent-light) 100%);
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.section__text {
  color: var(--color-text-muted);
  font-size: 1rem;
  max-width: 560px;
}

.section__text--narrow { max-width: 480px; }

.section__header {
  margin-bottom: 3.5rem;
}

.section__header--split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

/* ---- About ---- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about__frame {
  position: relative;
}

.about__image {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #1a2332;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transition: transform 0.8s var(--ease-out);
}

.about__frame:hover .about__image img {
  transform: scale(1.04);
}

.about__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(201, 169, 98, 0.12) 0%, transparent 45%),
    linear-gradient(to top, rgba(10, 14, 22, 0.35) 0%, transparent 40%);
  pointer-events: none;
}

.about__badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--color-accent);
  color: var(--color-bg);
  padding: 1.75rem;
  text-align: center;
}

.about__badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.about__badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
}

.about__list {
  margin-top: 2rem;
}

.about__cta {
  margin-top: 1.5rem;
}

.about__list li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}

.about__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--color-accent);
}

/* ---- Services ---- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 169, 98, 0.3);
}

.service-card__num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-accent);
  opacity: 0.5;
  display: block;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

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

/* ---- Projects ---- */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter__btn {
  padding: 0.55rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.3s;
}

.filter__btn:hover,
.filter__btn.active {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(201, 169, 98, 0.08);
}

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

.project-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
  color: inherit;
  text-decoration: none;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-card__image {
  aspect-ratio: 16/11;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  transition: transform 0.6s var(--ease-out);
}

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

.project-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  pointer-events: none;
}

.project-card__caption {
  position: relative;
  padding: 3rem 1.5rem 1.5rem;
  background: linear-gradient(
    to top,
    rgba(10, 14, 22, 0.94) 0%,
    rgba(10, 14, 22, 0.78) 38%,
    rgba(10, 14, 22, 0.42) 68%,
    transparent 100%
  );
}

.project-card__status {
  pointer-events: auto;
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
}

.project-card__status--tamamlandi { color: #6ee7b7; border-color: rgba(110, 231, 183, 0.3); }
.project-card__status--devam { color: #fcd34d; border-color: rgba(252, 211, 77, 0.3); }
.project-card__status--planlama { color: #93c5fd; border-color: rgba(147, 197, 253, 0.3); }

.project-card__category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 0 18px rgba(0, 0, 0, 0.45);
}

.project-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 3px 14px rgba(0, 0, 0, 0.7);
}

.project-card__meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.25rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.project-card__body {
  padding: 1.25rem 1.5rem;
}

.project-card__location {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.project-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  transition: gap 0.3s;
}

.project-card:hover .project-card__link { gap: 0.75rem; }

.projects__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem;
  color: var(--color-text-muted);
}

.home-vehicles__actions {
  display: flex;
  align-items: flex-end;
}

.home-vehicles .vehicle-grid {
  margin-top: 0.5rem;
}

/* ---- Stats ---- */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-bg);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(10, 10, 11, 0.7);
}

/* ---- Contact ---- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__details {
  margin-top: 2rem;
}

.contact__details li {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}

.contact__icon { font-size: 1.25rem; }

.contact__details strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.contact__details p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

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

.contact__corporate {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.contact__corporate span {
  font-weight: 600;
  color: var(--color-text);
}

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

@media (max-width: 900px) {
  .projects__grid--featured {
    grid-template-columns: 1fr;
  }
}

/* ---- Modal ---- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.75);
  backdrop-filter: blur(4px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}

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

.modal__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0.5rem 0 0.75rem;
}

.modal__desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.modal__form .form-row { margin-bottom: 1rem; }

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

.modal__call {
  text-align: center;
}

.contact__form {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
}

.form-row {
  margin-bottom: 1.25rem;
}

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

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: border-color 0.3s;
}

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

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

.form-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #6ee7b7;
  text-align: center;
}

/* ---- Footer ---- */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer__brand p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ---- Modal ---- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.modal__panel {
  position: relative;
  width: min(720px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  transform: translateY(30px) scale(0.97);
  transition: transform 0.45s var(--ease-out);
}

.modal.open .modal__panel {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  color: var(--color-text);
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.modal__close:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

.modal__gallery {
  display: grid;
  gap: 0.5rem;
}

.modal__gallery--single {
  grid-template-columns: 1fr;
}

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

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

.modal__gallery img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  background: var(--color-surface);
}

.modal__gallery--single img {
  aspect-ratio: 16/9;
}

.modal__body { padding: 2rem 2.5rem 2.5rem; }

.modal__category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.modal__title {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0.5rem 0 1rem;
}

.modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.modal__meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.modal__desc {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.modal__features li {
  padding: 0.6rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border);
}

.modal__features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* ---- Reveal animations ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    inset: 0;
    top: var(--header-h);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: var(--color-bg);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
  }

  .nav.open { transform: translateX(0); }
  .menu-toggle { display: flex; }

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about__badge {
    right: 1rem;
    bottom: -1rem;
  }

  .services__grid,
  .projects__grid {
    grid-template-columns: 1fr;
  }

  .section__header--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__scroll { display: none; }

  .hero__slider-ui {
    right: 1rem;
    left: 1rem;
    bottom: 2rem;
    max-width: none;
    align-items: flex-start;
  }

  .hero__slider-info { text-align: left; }

  .hero__slider-dots { justify-content: flex-start; }

  .modal__gallery--multi,
  .modal__gallery--many {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 900px) {
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.25rem;
  }

  .hero__actions-row {
    flex-wrap: nowrap;
  }

  .btn--land {
    max-width: none;
    flex: 0 1 auto;
  }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .hero__actions-row { flex-direction: column; width: 100%; }
  .hero__actions-row .btn,
  .hero__actions .btn--land { width: 100%; max-width: none; }
}
