/* ============================================
   KUTAY İNŞAAT — Kurumsal Tema
   Sıcak bej + adaçayı yeşili + altın (logo)
   ============================================ */

:root {
  /* Sıcak nötr tonlar (Rast bej ailesi) */
  --bg-cream: #F7F4EF;
  --bg-warm: #F0EBE3;
  --bg-sand: #E6DFD4;
  --bg-stone: #D9D1C6;
  --bg-card: #FFFFFF;

  /* Orta-koyu bölümler (saf siyah değil) */
  --bg-dark: #3A3832;
  --bg-dark-soft: #4A4740;
  --bg-dark-deep: #2F2D28;

  /* Kutay altın — logo kimliği */
  --gold: #C5A059;
  --gold-light: #D4B06A;
  --gold-dark: #A68532;
  --gold-gradient: linear-gradient(135deg, #E2CB8E 0%, #C5A059 50%, #A68532 100%);
  --gold-soft: rgba(197, 160, 89, 0.14);

  /* Rast esintili doğa vurgusu — farklı ana renk */
  --sage: #7A9072;
  --sage-light: #95A88E;
  --sage-dark: #5C6F55;
  --sage-gradient: linear-gradient(135deg, #95A88E 0%, #7A9072 50%, #5C6F55 100%);
  --sage-soft: rgba(122, 144, 114, 0.14);

  /* Sıcak terrakota dokunuşu — canlılık */
  --terra: #B8846A;
  --terra-soft: rgba(184, 132, 106, 0.12);

  /* Metin */
  --text-primary: #3A3832;
  --text-secondary: #6B6560;
  --text-muted: #9A928A;
  --text-inverse: #F7F4EF;
  --text-on-dark: #EDE8E0;

  /* Kenarlık & gölge */
  --border: rgba(58, 56, 50, 0.1);
  --border-gold: rgba(197, 160, 89, 0.35);
  --border-sage: rgba(122, 144, 114, 0.35);
  --shadow-sm: 0 2px 20px rgba(58, 56, 50, 0.07);
  --shadow-md: 0 8px 36px rgba(58, 56, 50, 0.1);
  --shadow-lg: 0 16px 52px rgba(58, 56, 50, 0.12);

  /* Geriye dönük uyumluluk */
  --bg-primary: var(--bg-cream);
  --bg-secondary: var(--bg-sand);
  --bg-accent: var(--bg-stone);
  --black: var(--bg-cream);
  --black-soft: var(--bg-sand);
  --black-card: var(--bg-card);
  --white: var(--text-primary);
  --gray-100: var(--text-primary);
  --gray-300: var(--text-secondary);
  --gray-500: var(--text-muted);
  --gray-700: var(--text-primary);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', system-ui, sans-serif;
  --header-h: 88px;
  --transition: 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --container: min(1280px, 92vw);
  --gutter: clamp(1rem, 4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-cream);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── Typography ── */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.section-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--gold) 55%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--sage), var(--gold));
  margin: 1.5rem 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: transparent;
  border: 1px solid var(--gold-dark);
  color: var(--gold-dark);
}

.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-gradient);
  transform: translateX(-101%);
  transition: transform var(--transition);
  z-index: -1;
}

.btn-gold:hover {
  color: var(--text-inverse);
  border-color: transparent;
}

.btn-gold:hover::before { transform: translateX(0); }

.btn-fill {
  background: var(--gold-gradient);
  color: var(--text-inverse);
  border: none;
}

.btn-fill:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(197, 160, 89, 0.3);
}

.btn-sage {
  background: var(--sage-gradient);
  color: var(--text-inverse);
  border: none;
}

.btn-sage:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(122, 144, 114, 0.3);
}

.btn svg { width: 14px; height: 14px; transition: transform var(--transition); }
.btn:hover svg { transform: translateX(4px); }

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.header.scrolled,
body:not(.page-home) .header {
  background: rgba(247, 244, 239, 0.96);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}

/* Hero üzerinde — açık metin */
.header:not(.scrolled) .header-top a { color: rgba(255, 255, 255, 0.85); }
.header:not(.scrolled) .header-phone { color: var(--gold-light) !important; }
.header:not(.scrolled) .header-lang span { color: rgba(255, 255, 255, 0.5); }
.header:not(.scrolled) .header-lang .active { color: var(--gold-light); }
.header:not(.scrolled) .nav-desktop > li > a { color: rgba(255, 255, 255, 0.95); }
.header:not(.scrolled) .menu-toggle span { background: var(--gold-light); }

.header.scrolled .header-top a,
body:not(.page-home) .header .header-top a { color: var(--text-secondary); }

.header.scrolled .nav-desktop > li > a,
body:not(.page-home) .header .nav-desktop > li > a { color: var(--text-primary); }

.header:not(.scrolled) .header-top { border-bottom-color: rgba(255, 255, 255, 0.15); }

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
  padding: 0.6rem var(--gutter);
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
}

.header-top a { color: var(--text-secondary); transition: color 0.3s; }
.header-top a:hover { color: var(--sage-dark); }

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-dark) !important;
  font-weight: 500;
}

.header-lang span { color: var(--text-muted); }
.header-lang .active { color: var(--sage-dark); font-weight: 600; }

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
  padding: 0.75rem var(--gutter);
}

.logo img {
  height: 52px;
  width: auto;
  transition: transform var(--transition);
}

.logo:hover img { transform: scale(1.03); }

.nav-desktop { display: flex; align-items: center; gap: 2.5rem; }

.nav-desktop > li { position: relative; }

.nav-desktop > li > a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  padding: 0.5rem 0;
  transition: color 0.3s;
}

.nav-desktop > li > a:hover,
.nav-desktop > li > a.active { color: var(--gold-dark); }

.header-lang .lang-soon {
  opacity: 0.45;
  cursor: not-allowed;
}

.nav-desktop > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--sage), var(--gold));
  transition: width var(--transition);
}

.nav-desktop > li > a:hover::after,
.nav-desktop > li > a.active::after { width: 100%; }

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.nav-desktop > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.6rem 1.5rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.dropdown a:hover {
  color: var(--sage-dark);
  background: var(--sage-soft);
  padding-left: 1.75rem;
}

.header-cta .btn { padding: 0.7rem 1.5rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--gold-dark);
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: rgba(250, 248, 244, 0.98);
  backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
}

.nav-mobile.open {
  opacity: 1;
  visibility: visible;
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-primary);
  padding: 0.75rem 0;
  transition: color 0.3s;
}

.nav-mobile a:hover { color: var(--sage-dark); }

.nav-mobile-sub {
  font-size: 1rem !important;
  font-family: var(--font-body) !important;
  color: var(--text-secondary) !important;
  letter-spacing: 0.1em;
}

/* ── Hero ── */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 500px;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active { opacity: 1; }

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(47, 45, 40, 0.35) 0%,
    rgba(47, 45, 40, 0.5) 45%,
    rgba(47, 45, 40, 0.82) 100%
  );
}

.hero-content .hero-tag,
.hero-content .hero-project-name {
  color: var(--gold-light);
}

.hero-content .hero-title {
  color: var(--text-inverse);
}

.hero-content .hero-desc {
  color: rgba(237, 232, 224, 0.88);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(4rem, 12vh, 8rem);
  padding-inline: var(--gutter);
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-tag {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s 0.3s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  max-width: 900px;
  color: var(--text-inverse);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s 0.5s forwards;
}

.hero-title strong {
  font-weight: 600;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  max-width: 520px;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: rgba(237, 232, 224, 0.88);
  line-height: 1.8;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s 0.7s forwards;
}

.hero-project-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--gold-light);
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.4s forwards;
}

.hero-nav {
  position: absolute;
  bottom: 2rem;
  right: var(--gutter);
  display: flex;
  gap: 1rem;
  z-index: 3;
}

.hero-nav button {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--text-inverse);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.hero-nav button:hover {
  background: var(--gold-gradient);
  color: var(--text-inverse);
  border-color: transparent;
}

.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 3;
}

.hero-dots button {
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.hero-dots button.active {
  background: linear-gradient(90deg, var(--sage-light), var(--gold-light));
  width: 60px;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-light), transparent);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ── Projects Showcase ── */
.projects-section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--bg-warm);
  position: relative;
}

.projects-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--gold), var(--terra));
}

.project-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 70vh;
  margin-top: 3rem;
}

.project-showcase-media {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.project-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.project-showcase:hover .project-showcase-media img {
  transform: scale(1.08);
}

.project-showcase-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(250, 248, 244, 0.1), transparent);
}

.project-showcase-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
  background: var(--bg-sand);
  border-left: 3px solid var(--sage);
  box-shadow: var(--shadow-sm);
}

.project-showcase-content h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.project-showcase-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 2.5rem;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  border-radius: 2px;
  box-shadow: var(--shadow-sm);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.project-card:hover img { transform: scale(1.1); }

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 38, 34, 0.82) 0%, rgba(42, 38, 34, 0.15) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: background 0.5s;
}

.project-card:hover .project-card-overlay {
  background: linear-gradient(to top, rgba(42, 38, 34, 0.9) 0%, rgba(42, 38, 34, 0.4) 100%);
}

.project-card-tag {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 0.5rem;
}

.project-card h4 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-inverse);
}

.project-card .btn {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s;
}

@media (hover: hover) and (pointer: fine) {
  .project-card .btn {
    opacity: 0;
    transform: translateY(10px);
  }

  .project-card:hover .btn {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Mission ── */
.mission-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.mission-bg {
  position: absolute;
  inset: 0;
}

.mission-bg video,
.mission-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(58, 56, 50, 0.88) 0%, rgba(74, 71, 64, 0.75) 100%);
}

.mission-content {
  position: relative;
  z-index: 2;
  padding: clamp(4rem, 8vw, 6rem) var(--gutter);
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
}

.mission-content .section-label { color: var(--sage-light); }
.mission-content .section-title { color: var(--text-on-dark); }
.mission-content .section-title em {
  background: linear-gradient(135deg, var(--sage-light), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mission-content p {
  color: rgba(237, 232, 224, 0.85);
  font-size: 1.05rem;
  line-height: 2;
  margin: 1.5rem 0 2.5rem;
}

/* ── Stats ── */
.stats-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--bg-cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-gold);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  background: linear-gradient(135deg, var(--sage-dark), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-number span { font-size: 0.5em; }

.stat-label {
  margin-top: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ── CEO Message ── */
.ceo-section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--bg-sand);
}

.ceo-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.ceo-image {
  position: relative;
}

.ceo-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(10%);
  box-shadow: var(--shadow-md);
}

.ceo-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid var(--gold-dark);
  z-index: -1;
}

.ceo-image::after {
  content: '"';
  position: absolute;
  top: -30px;
  right: -10px;
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--gold-dark);
  opacity: 0.4;
  line-height: 1;
}

.ceo-content blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.ceo-name {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ceo-name strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--sage-dark);
  letter-spacing: 0.05em;
  text-transform: none;
  margin-bottom: 0.25rem;
}

/* ── News ── */
.news-section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--bg-warm);
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.news-tabs {
  display: flex;
  gap: 2rem;
}

.news-tabs button {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.news-card {
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s, box-shadow 0.4s;
  height: 100%;
}

.news-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.news-card-body {
  padding: 0 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-read-more {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.news-grid--filtered {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.news-card-image {
  overflow: hidden;
  aspect-ratio: 16/10;
  margin-bottom: 1.25rem;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.news-card:hover .news-card-image img { transform: scale(1.06); }

.news-date {
  font-size: 0.7rem;
  color: var(--terra);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.news-card h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.news-card:hover h4 { color: var(--sage-dark); }

.news-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-tabs button.active {
  color: var(--sage-dark);
  border-bottom-color: var(--sage);
}

/* ── Newsletter ── */
/* ── Instagram Gallery ── */
.instagram-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--bg-card);
}

.instagram-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.instagram-desc {
  margin-top: 1rem;
  max-width: 36rem;
  color: var(--text-muted);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.instagram-item {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1;
  background: var(--bg-dark);
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.instagram-item:hover img {
  transform: scale(1.06);
  opacity: 0.92;
}

.contact-map-link {
  margin-top: 1rem;
  text-align: center;
}

.contact-map-link a {
  color: var(--gold);
  font-size: 0.95rem;
}

.contact-map-link a:hover {
  color: var(--gold-light);
}

.newsletter-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--bg-dark);
  border-top: none;
}

.newsletter-section .section-label { color: var(--sage-light); }
.newsletter-section .section-title { color: var(--text-on-dark); }
.newsletter-section .section-title em {
  background: linear-gradient(135deg, var(--sage-light), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.newsletter-form input,
.newsletter-form select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 1.25rem;
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}

.newsletter-form input:focus,
.newsletter-form select:focus {
  outline: none;
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}

.newsletter-form input::placeholder { color: rgba(237, 232, 224, 0.45); }

.newsletter-form select option { background: var(--bg-dark); color: var(--text-on-dark); }

.newsletter-form .form-field--full { grid-column: span 2; }

.newsletter-form .btn-fill {
  grid-column: span 2;
  justify-content: center;
}

.newsletter-desc {
  color: rgba(237, 232, 224, 0.7);
  margin-top: 1rem;
  font-size: 0.9rem;
}

.btn-fill.is-success {
  background: var(--gold-gradient) !important;
  filter: brightness(1.05);
}

.btn-fill.is-error {
  background: #8b4a42 !important;
}

/* ── Footer ── */
.footer {
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
  background: var(--bg-dark-deep);
  border-top: 3px solid var(--gold-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand img { height: 60px; margin-bottom: 1.5rem; }

.footer-brand p {
  color: rgba(237, 232, 224, 0.65);
  font-size: 0.85rem;
  line-height: 1.8;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(237, 232, 224, 0.75);
  padding: 0.4rem 0;
  transition: color 0.3s, padding-left 0.3s;
}

.footer-col a:hover {
  color: var(--sage-light);
  padding-left: 0.5rem;
}

.footer-contact p {
  font-size: 0.85rem;
  color: rgba(237, 232, 224, 0.75);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(237, 232, 224, 0.5);
}

.footer-legal a {
  font-size: 0.75rem;
  color: rgba(237, 232, 224, 0.5);
  transition: color 0.3s;
}

.footer-legal a:hover { color: var(--gold-light); }

.footer-legal {
  display: flex;
  gap: 2rem;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
  margin-top: var(--header-h);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(247, 244, 239, 0.98) 0%, rgba(47, 45, 40, 0.72) 55%, rgba(47, 45, 40, 0.55) 100%);
}

.page-hero-bg--solid {
  background: linear-gradient(135deg, var(--bg-sand), var(--bg-warm));
}

.page-hero-bg--solid::after { display: none; }

.page-hero--legal { min-height: 320px; }

.page-hero .breadcrumb,
.page-hero .section-title {
  color: var(--text-primary);
  text-shadow: none;
}

.page-hero:not(.page-hero--legal) .section-title em {
  color: var(--gold-dark);
  -webkit-text-fill-color: var(--gold-dark);
  background: none;
}

.page-hero .container { position: relative; z-index: 2; }

.breadcrumb {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.breadcrumb a { color: var(--sage-dark); }

/* ── About Page ── */
.about-intro {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-grid p {
  color: var(--gray-300);
  line-height: 2;
  margin-bottom: 1.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 4rem 0;
}

.value-card {
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-sage);
  border-top: 3px solid var(--sage);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--gold);
  border-top-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.value-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--sage);
}

.value-card h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ── Contact Page ── */
.contact-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-info-item svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--gold);
  margin-top: 4px;
}

.contact-info-item h5 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.contact-info-item p {
  color: var(--gray-300);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: 1.1rem 1.25rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.contact-form select option { background: var(--bg-card); }

.contact-map {
  margin-top: 4rem;
  aspect-ratio: 21/9;
  border: 1px solid var(--border-gold);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(20%) sepia(10%);
}

/* ── Projects Page ── */
.projects-filter {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.projects-filter button {
  padding: 0.6rem 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--border-gold);
  color: var(--text-secondary);
  background: var(--bg-card);
  transition: var(--transition);
}

.projects-filter button.active,
.projects-filter button:hover {
  background: var(--gold-gradient);
  color: var(--text-inverse);
  border-color: transparent;
}

.projects-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.project-page-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  border-radius: 2px;
  box-shadow: var(--shadow-sm);
}

.project-page-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}

.project-page-card:hover img { transform: scale(1.06); }

.project-page-card-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 38, 34, 0.88), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
}

.project-page-card-content .section-title,
.project-page-card-content h3 {
  color: var(--text-inverse) !important;
}

.project-page-card-content p {
  color: rgba(255, 255, 255, 0.85) !important;
}

.project-status {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--gold-light);
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
  width: fit-content;
}

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── Preloader ── */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-cream);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  transition: opacity 0.6s, visibility 0.6s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader img {
  height: 80px;
  animation: pulse 1.5s ease infinite;
}

.preloader-bar {
  width: 120px;
  height: 1px;
  background: rgba(197, 160, 89, 0.2);
  overflow: hidden;
}

.preloader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--gold-gradient);
  animation: loadBar 1.2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes loadBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .project-showcase { grid-template-columns: 1fr; }
  .project-showcase-content { border-left: none; border-top: 1px solid rgba(197, 160, 89, 0.15); }
  .project-cards { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .ceo-grid { grid-template-columns: 1fr; }
  .ceo-image { max-width: 400px; margin: 0 auto; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .instagram-header { flex-direction: column; align-items: flex-start; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-page-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .header-top { display: none; }

  .header-main {
    padding: 0.65rem var(--gutter);
    width: 100%;
  }

  .nav-desktop, .header-cta { display: none; }
  .menu-toggle { display: flex; }

  .logo img { height: 36px; max-width: 140px; object-fit: contain; }

  .hero {
    min-height: 100dvh;
    min-height: -webkit-fill-available;
  }

  .hero-content {
    padding-inline: var(--gutter);
    padding-bottom: 5.5rem;
    width: 100%;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    line-height: 1.15;
  }

  .hero-desc {
    font-size: 0.85rem;
    line-height: 1.7;
    max-width: 100%;
  }

  .hero-tag { font-size: 0.6rem; letter-spacing: 0.25em; }
  .hero-project-name { font-size: clamp(1.25rem, 5vw, 1.75rem); }

  .hero-nav {
    right: var(--gutter);
    bottom: 4.5rem;
    gap: 0.5rem;
  }

  .hero-nav button { width: 42px; height: 42px; }
  .hero-dots { bottom: 1.5rem; }
  .hero-scroll { display: none; }

  .section-title { font-size: clamp(1.75rem, 6vw, 2.25rem); }

  .project-showcase { min-height: auto; }
  .project-showcase-media { min-height: 280px; }
  .project-showcase-content { padding: 2rem var(--gutter); }

  .project-cards { grid-template-columns: 1fr; gap: 1.25rem; }
  .project-card { aspect-ratio: 4/3; }

  .mission-section { min-height: auto; }
  .mission-content { padding: 3rem var(--gutter); }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-item { padding: 1.25rem 0.5rem; }
  .stat-item::after { display: none !important; }
  .stat-number { font-size: clamp(1.75rem, 6vw, 2.5rem); }

  .ceo-grid { gap: 2rem; }
  .ceo-image::before { top: -10px; left: -10px; right: 10px; bottom: 10px; }
  .ceo-content blockquote { font-size: 1.15rem; }

  .news-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .news-tabs { gap: 1rem; flex-wrap: wrap; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { flex-direction: column; gap: 0.75rem; }

  .newsletter-grid { gap: 2rem; }
  .newsletter-form { grid-template-columns: 1fr; }
  .newsletter-form .btn-fill,
  .newsletter-form .form-field--full { grid-column: span 1; }

  .form-row { grid-template-columns: 1fr; }
  .project-actions { flex-direction: column; }
  .project-actions .btn { width: 100%; justify-content: center; }

  .news-header { flex-direction: column; align-items: flex-start; }

  .page-hero {
    height: 35vh;
    min-height: 260px;
    padding-bottom: 2rem;
    margin-top: 64px;
  }

  .about-grid { gap: 2rem; }
  .values-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .value-card { padding: 1.75rem 1.5rem; }

  .contact-grid { gap: 2rem; }
  .contact-map { aspect-ratio: 4/3; margin-top: 2rem; }

  .projects-filter { gap: 0.5rem; }
  .projects-filter button { padding: 0.5rem 1rem; font-size: 0.65rem; }

  .projects-page-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .project-page-card { aspect-ratio: 3/4; }
  .project-page-card-content { padding: 1.5rem; }
  .project-page-card-content .section-title { font-size: 1.5rem !important; }

  .nav-mobile a { font-size: 1.5rem; padding: 0.6rem 0; }
  .nav-mobile { padding: env(safe-area-inset-top) var(--gutter) env(safe-area-inset-bottom); }

  .btn {
    padding: 0.85rem 1.25rem;
    font-size: 0.65rem;
    min-height: 44px;
  }

  .preloader img { height: 60px; max-width: 180px; object-fit: contain; }
}

@media (max-width: 480px) {
  :root { --gutter: 1rem; }

  .stats-grid { grid-template-columns: 1fr; }
  .hero-dots button { width: 28px; }
  .hero-dots button.active { width: 40px; }
  .section-label { font-size: 0.6rem; }
}

/* ── Utilities & accessibility ── */
.logo-blend {
  mix-blend-mode: lighten;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--gold-dark);
  color: var(--text-inverse);
  font-size: 0.85rem;
}

.skip-link:focus {
  top: 1rem;
}

.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;
}

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-1 { margin-top: 1rem; }
.text-accent { color: var(--sage-dark); }

.about-band {
  padding: 4rem 0;
  background: var(--bg-sand);
}

.about-band-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-values {
  padding: 4rem 0 2rem;
}

.mission-section--compact {
  min-height: 60vh;
}

.project-card-title {
  font-size: 2rem !important;
}

.project-card-desc {
  margin: 1rem 0 !important;
}

.legal-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.legal-content h2,
.legal-content h3 {
  font-family: var(--font-display);
  margin: 2rem 0 1rem;
  color: var(--text-primary);
}

.legal-content h2 { font-size: 1.75rem; }
.legal-content h3 { font-size: 1.25rem; }

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.content-area {
  color: var(--text-secondary);
  line-height: 1.9;
}

.content-area h2,
.content-area h3 {
  font-family: var(--font-display);
  color: var(--text-primary);
  margin: 2rem 0 1rem;
}
