/* =========================
   RESET & BASE
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

/* =========================
   GLOBAL BACKGROUND (ASPHALT)
========================= */
body {
  font-family: "Inter", system-ui, sans-serif;
  color: #e6e6e6;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;

  /* asphalt / concrete effect */
  background-color: #1a1b1e;
  background-image:
    radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,0.25) 1px, transparent 1px);
  background-size: 3px 3px, 6px 6px;
  background-position: 0 0, 1px 1px;
}

/* =========================
   TYPOGRAPHY
========================= */
h1, h2, h3 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  margin: 0;
}

h1 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.15;
}

h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 56px;
}

h3 {
  font-size: 20px;
}

p {
  margin: 0 0 18px;
  color: #d0d0d0;
}

/* =========================
   LINKS & BUTTONS
========================= */
a {
  color: inherit;
  text-decoration: none;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #2a6b5f;
  color: #ffffff;
}

.btn-primary:hover {
  background: #318074;
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.35);
}

.btn-outline:hover {
  border-color: #ffffff;
}

/* =========================
   HEADER
========================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;

  background: rgba(26,27,30,0.78);
  backdrop-filter: blur(6px);
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 36px; /* увеличено */
  letter-spacing: 0.16em;
}

.header-nav a {
  margin: 0 16px;
  font-size: 14px;
  color: #cfcfcf;
}

.header-nav a:hover {
  color: #ffffff;
}

/* =========================
   HERO
========================= */
.hero {
  min-height: 100vh;
  padding-top: 120px;
  position: relative;

  background-image: url("images/bg.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* затемняющий слой — НЕ должен мешать кнопке */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.60);
  z-index: 0;
  pointer-events: none; /* ВОТ ЭТО КЛЮЧ */
}

.hero-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 120px 32px;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: center;

  position: relative;
  z-index: 1; /* контент выше затемнения */
}

.hero-image {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(100%) contrast(1.05);
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 36px;
}

/* =========================
   SECTIONS
========================= */
.section-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 120px 32px;
}

/* =========================
   SERVICES
========================= */
/* =========================
   SERVICES — FINAL VERSION
========================= */
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 80px;
  color: #e6e6e6;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  background: rgba(255,255,255,0.35);
  margin: 28px auto 0;
}

.services-grid {
  max-width: 1200px;
  margin: 120px auto;
  padding: 0 32px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* CARD */
.service-card {
  position: relative;
  aspect-ratio: 1 / 1;

  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 28px;

  cursor: pointer;
  overflow: hidden;

  transition:
    border-color 0.3s ease,
    transform 0.25s ease;
}

/* subtle lift */
.service-card:hover {
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

/* =========================
   TITLE (CENTERED)
========================= */

.service-title {
  font-family: "Playfair Display", serif;
  font-size: 19px;
  line-height: 1.35;

  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  transition: opacity 0.3s ease;
}

/* =========================
   TEXT OVERLAY
========================= */

.service-text {
  position: absolute;
  inset: 0;

  padding: 32px;
  background: rgba(15,15,15,0.97);

  font-size: 17px;              /* БОЛЬШЕ */
  line-height: 1.6;
  color: #e0e0e0;

  opacity: 0;
  transform: scale(0.98) translateY(10px);
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

/* =========================
   SHOW ON HOVER
========================= */

.service-card:hover .service-text {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.service-card:hover .service-title {
  opacity: 0.12;
}

/* =========================
   SHOW ON CLICK (ACTIVE)
========================= */

.service-card.active .service-text {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.service-card.active .service-title {
  opacity: 0.12;
}

/* =========================
   RESPONSIVE
========================= */

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

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

  .service-text {
    font-size: 16px;
    padding: 28px;
  }
}


/* =========================
   CLIENTS
========================= */
.clients {
  margin-top: 120px;
}

.clients-grid.expand {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
}

.client-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 40px 36px;
  cursor: pointer;
}

.client-card:not(.active) {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.client-title-wrap {
  max-width: 70%;
  text-align: center;
}

.client-hidden {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.25s ease;
}

.client-card.active .client-hidden {
  max-height: 900px;
  opacity: 1;
  margin-top: 24px;
}

/* =========================
   CONTACTS
========================= */
.contacts {
  text-align: center;
}

.contacts p {
  font-size: 16px;
  margin-bottom: 32px;
}

/* =========================
   FOOTER
========================= */
.footer {
  text-align: center;
  padding: 24px 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

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

  .hero-inner {
    grid-template-columns: 1fr;
  }
}

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

.about {
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}

/* Основной текст */
.about-main p {
  font-size: 17px;
  line-height: 1.7;
  color: #d6d6d6;
  margin-bottom: 22px;
}

.about-lead {
  font-size: 19px;
  color: #e6e6e6;
}

/* Карточка партнёра */
.about-partner {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 36px 34px;
  transition:
    transform 0.25s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.about-partner:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.28);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
}

.partner-name {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  margin-bottom: 6px;
}

.partner-role {
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}

.partner-link {
  margin-top: 18px;
  display: inline-block;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
/* =========================
   ABOUT – ASPHALT BACKGROUND
========================= */

.about.asphalt {
  background-color: #17181b;
  background-image:
    radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,0.35) 1px, transparent 1px);
  background-size: 3px 3px, 6px 6px;
  background-position: 0 0, 1px 1px;
}
.btn {
  width: fit-content;
}
.telegram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;

  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);

  transition: all 0.25s ease;
}

.telegram-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.09);
}

.telegram-img {
  width:38px;
  height: 38px;
  display: block;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(to bottom, rgba(26,27,30,0) 0%, #1a1b1e 100%);
  z-index: 1;
  pointer-events: none;
}

/* =========================
   ABOUT — GRID: TEXT LEFT / CAROUSEL RIGHT
========================= */
/* =========================
   ABOUT — RIGHT PREMIUM GALLERY (NO JS)
========================= */

/* =========================
   ABOUT — LAYOUT (TEXT LEFT / GALLERY RIGHT)
========================= */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr; /* ✅ галерея шире */
  gap: 64px;
  align-items: start;
}
/* =========================
   ABOUT — PREMIUM 3-PHOTO GALLERY (14:9)
========================= */

.about-gallery-premium {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.25fr 1fr; /* верх крупнее */
  gap: 16px;

  border-radius: 22px;
}

/* общий стиль карточек фото */
.ag-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  display: block;

  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);

  box-shadow:
    0 30px 90px rgba(0,0,0,0.50),
    inset 0 0 0 1px rgba(255,255,255,0.05);

  transform: translateY(0);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.ag-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.25);
}

/* ✅ правильное соотношение 14:9 */
.ag-item {
  aspect-ratio: 14 / 9;
}

/* 1 фото — большое сверху на всю ширину */
.ag-1 {
  grid-column: 1 / span 2;
}

/* 2 и 3 снизу */
.ag-2 { grid-column: 1; }
.ag-3 { grid-column: 2; }

/* картинка внутри */
.ag-item img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
  object-position: center;

  transform: scale(1.04);
  filter: grayscale(10%) contrast(1.08);
  transition: transform 0.65s cubic-bezier(.2,.8,.2,1), filter 0.35s ease;
}

.ag-item:hover img {
  transform: scale(1.08);
  filter: grayscale(4%) contrast(1.10);
}

/* премиальный слой света/тени */
.ag-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    radial-gradient(60% 55% at 35% 25%, rgba(255,255,255,0.10), rgba(0,0,0,0) 60%),
    linear-gradient(to top, rgba(0,0,0,0.62), rgba(0,0,0,0.10) 55%, rgba(0,0,0,0.03) 100%);
}
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-gallery-premium {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .ag-1 {
    grid-column: auto;
  }
}


/* =========================
   PARTNER CARD — BELOW (NOT SIDE)
   PHOTO LEFT / TEXT RIGHT
========================= */
/* =========================
   CEO PARTNER CARD — SYMMETRIC
========================= */
/* =========================
   PARTNER CARD — SYMMETRIC + TEXT UP
========================= */
/* =========================
   PARTNER CARD — WIDE CEO STYLE
========================= */
/* =========================
   PARTNER CARD — FULL WIDTH (CEO STYLE)
========================= */
/* =========================
   PARTNER CARD — WIDE (LIKE SERVICES)
========================= */
/* =========================
   TAMYLA SECTION (WIDE BLOCK, NO CARD)
========================= */
/* =========================
   TAMYLA FULL WIDTH SECTION
========================= */
/* =========================
   ABOUT — TAMYLA (PREMIUM, NO FULLBLEED BUGS)
========================= */

.about-partner{
  width: 100%;
  max-width: 1200px;   /* можно 1300px если хочешь прямо на всю ширину */
  margin: 90px auto 0;
}

.about-partner{
  display: grid;
  grid-template-columns: 1fr 520px; /* слева текст / справа фото */
  gap: 64px;
  align-items: start;
}

/* ПОРТРЕТ */
.partner-photo {
  width: 100%;
  height: 610px; /* вертикальная рамка — под твой 4000x5000 */

  border-radius: 18px;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.25);
}

.partner-photo img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;

  /* самое важное для портрета */
  object-position: 50% 12%;

  filter: grayscale(10%) contrast(1.08);
}

/* ТЕКСТ */
.partner-name {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 2.2vw, 40px);
  line-height: 1.1;
  margin-bottom: 12px;
}

.partner-role {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
  margin-bottom: 22px;
}

.about-partner p {
  font-size: 16.5px;
  line-height: 1.85;
  color: rgba(255,255,255,0.78);
  max-width: 78ch;
}

/* Кнопка аккуратно */
.partner-link {
  margin-top: 14px;
  display: inline-flex;
  width: fit-content;
}

/* Hover чуть оживляет */
.about-partner:hover {
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-2px);
  transition: all 0.25s ease;
}

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

  .partner-photo {
    height: 720px;
  }
}

@media (max-width: 640px) {
  .about-partner {
    padding: 26px;
    border-radius: 18px;
  }

  .partner-photo {
    height: 620px;
  }
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-carousel {
    height: 340px;
  }

  .about-partner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .partner-photo {
    height: 480px;
  }
}


/* FULL WIDTH CARD (OUTSIDE GRID) */
.about-partner--full{
  width: 100%;
  max-width: 100%;
  margin-top: 80px;
}

/* сетка внутри карточки: слева текст / справа фото */
.about-partner--full{
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 64px;
  align-items: start;
}
/* =========================
   LIGHTBOX / IMAGE ZOOM
========================= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.lightbox.is-open {
  display: block;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(6px);
}

.lightbox-inner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
}

.lightbox-img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 30px 140px rgba(0,0,0,0.80);

  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;

  object-fit: contain;
  background: rgba(0,0,0,0.25);
}

.lightbox.is-open .lightbox-img {
  transform: scale(1);
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.lightbox-close:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
}


}
.hero-badges { display: none !important; }
/* =========================
.hero-badges { display: none !important; }



/* Instagram icon (same style as Telegram) */
.social-links{
  display:flex;
  align-items:center;
  gap:16px;
}
.instagram-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  width:30px;
  height:30px;

  border-radius:50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);

  transition: all 0.25s ease;
}
.instagram-link:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.09);
}
.instagram-img{
  width:38px;
  height:38px;
  display:block;
}


/* =========================
   HEADER NAV SEPARATORS
========================= */

.header-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.header-nav .nav-sep {
  opacity: 0.65;
  transform: translateY(-1px);
  font-weight: 600;
}

/* Make header slightly more transparent */
.header {
  background: rgba(14, 14, 14, 0.55) !important;
  backdrop-filter: blur(12px);
}

/* =========================
   FAQ (Premium Accordion)
========================= */

.faq {
  padding: 90px 0;
}

.faq-list {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
  box-shadow: 0 18px 80px rgba(0,0,0,0.28);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 18px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "+";
  width: 30px;
  height: 30px;
  min-width: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.25);
  color: rgba(255,255,255,0.92);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.faq-item[open] summary::before {
  content: "–";
  background: rgba(185, 145, 74, 0.18);
  border-color: rgba(185, 145, 74, 0.35);
}

.faq-answer {
  padding: 0 18px 18px 60px;
  color: rgba(255,255,255,0.78);
  font-size: 15.5px;
  line-height: 1.6;
}


/* =========================
   LOGO IMAGE IN HEADER
========================= */
.logo-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  margin-left: -22px;
}
.logo-img{
  height: 85px;
  width: auto;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.45));
}

/* =========================
   LANGUAGE SWITCHER (HEADER)
========================= */
.lang-switch{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left: 14px;
}
.lang-btn{
  appearance:none;
  -webkit-appearance:none;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  height: 28px;
  min-width: 36px;
  padding: 0 10px;

  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.82);

  cursor:pointer;

  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.lang-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.32);
  color: rgba(255,255,255,1);
}
.lang-btn.active{
  background: rgba(185, 145, 74, 0.18);
  border-color: rgba(185, 145, 74, 0.35);
  color: rgba(255,255,255,0.92);
}



/* =========================
   PREMIUM ANIMATIONS
========================= */
:root{
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce){
  *{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Smooth scroll */
html{ scroll-behavior: smooth; }

/* Nav link elegant underline */
.header-nav a{
  position: relative;
}
.header-nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  height:1px;
  width:0%;
  background: rgba(185,145,74,0.9);
  transition: width .45s var(--ease-premium);
}
.header-nav a:hover::after{ width:100%; }

/* Scroll reveal base */
[data-reveal]{
  opacity: 0;
  transform: translateY(18px);
  filter: blur(4px);
  transition: opacity .9s var(--ease-premium), transform .9s var(--ease-premium), filter 1s var(--ease-premium);
}
[data-reveal].is-inview{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Stagger for cards */
.reveal-stagger > *{
  opacity: 0;
  transform: translateY(14px);
  filter: blur(6px);
  transition: opacity .9s var(--ease-premium), transform .9s var(--ease-premium), filter 1s var(--ease-premium);
}
.reveal-stagger.is-inview > *{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.reveal-stagger.is-inview > *:nth-child(1){ transition-delay: .05s; }
.reveal-stagger.is-inview > *:nth-child(2){ transition-delay: .10s; }
.reveal-stagger.is-inview > *:nth-child(3){ transition-delay: .15s; }
.reveal-stagger.is-inview > *:nth-child(4){ transition-delay: .20s; }
.reveal-stagger.is-inview > *:nth-child(5){ transition-delay: .25s; }
.reveal-stagger.is-inview > *:nth-child(6){ transition-delay: .30s; }
.reveal-stagger.is-inview > *:nth-child(7){ transition-delay: .35s; }
.reveal-stagger.is-inview > *:nth-child(8){ transition-delay: .40s; }
.reveal-stagger.is-inview > *:nth-child(9){ transition-delay: .45s; }

/* Premium hover for cards */
.service-card, .client-card, .faq-item{
  will-change: transform, box-shadow, border-color;
  transition: transform .5s var(--ease-premium), box-shadow .6s var(--ease-premium), border-color .6s var(--ease-premium);
}
.service-card:hover, .client-card:hover, .faq-item:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
  border-color: rgba(185,145,74,0.38);
}

/* Button premium micro-interactions */
.btn, .cta-button{
  will-change: transform, box-shadow;
  transition: transform .35s var(--ease-premium), box-shadow .45s var(--ease-premium), filter .45s var(--ease-premium);
}
.btn:hover, .cta-button:hover{
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}

/* FAQ smooth open animation */
.faq-item{
  overflow:hidden;
}
.faq-item summary{
  list-style:none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item .faq-answer{
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height .55s var(--ease-premium), opacity .45s var(--ease-premium), transform .55s var(--ease-premium);
}
.faq-item[open] .faq-answer{
  max-height: 600px;
  opacity: 1;
  transform: translateY(0);
}

/* Subtle grain for premium feel (optional, very light) */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  opacity: .10;
  mix-blend-mode: overlay;
  z-index:0;
}
body > *{ position:relative; z-index:1; }

/* ==== MOBILE FIXES ==== */
@media (max-width:640px){
.hero .btn-primary{position:relative;z-index:2;background:#2a6b5f;}
.logo-img{height:70px;width:auto;margin-left:12px;}
.header-inner{padding-left:12px;padding-right:12px}
.about-gallery-premium{display:flex;overflow-x:auto;gap:12px;scroll-snap-type:x mandatory}
.ag-item{min-width:85%;scroll-snap-align:start;aspect-ratio:4/3}
.mobile-only{display:block}
.desktop-only{display:none}
}
@media (min-width:641px){
.mobile-only{display:none}
}


/* ===== MOBILE REDESIGN ===== */
@media (max-width:640px){

html,body{overflow-x:hidden}

.header-inner{
flex-wrap:wrap;
gap:10px;
justify-content:space-between;
}

.logo-img{
height:56px;
margin:0 auto;
display:block;
}

.header-nav{
width:100%;
justify-content:center;
gap:8px;
font-size:13px;
}

.hero-inner{
grid-template-columns:1fr;
padding:80px 16px;
}

.hero h1{font-size:28px;line-height:1.25;text-align:center}
.hero .btn{margin:20px auto 0;display:block}

.section-inner{padding:60px 16px}

.services-grid{grid-template-columns:1fr;gap:18px;margin:40px auto}

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

.about-gallery-premium{
grid-template-columns:1fr;
grid-template-rows:auto;
gap:12px
}

.ag-item{aspect-ratio:4/3}

.about-partner--full{
grid-template-columns:1fr;
gap:22px;
margin-top:40px
}

.partner-photo{
height:auto;
max-height:60vh;
}

.partner-photo img{
object-position:center top;
}

.clients-grid.expand{gap:24px}

.client-card{aspect-ratio:auto;padding:26px}

.faq-item summary{font-size:15px}

}

/* MOBILE HEADER ADJUST */
@media (max-width:640px){
.header-nav{display:none!important}
.logo-link{margin-left:8px}
.lang-switch{order:1}
}
