/* ═══════════════════════════════════════════════════════════
   OBSIDIAN LUXURY — LLumar KG
   Музейная, археологическая роскошь. Обсидиан и золото.
   ═══════════════════════════════════════════════════════════ */

/* ─── FONTS ──────────────────────────────────────────────── */
@font-face {
  font-family: 'OTJubilee-Platinum';
  src: url('https://fonts.cdnfonts.com/css/jubilee') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500&display=swap');

/* ─── ROOT VARIABLES ──────────────────────────────────────── */
:root {
  --bg: #151415;
  --surface: #242324;
  --accent: #7b5136;
  --accent-hover: #9a6a4a;
  --text: #f1eade;
  --text-muted: #3f383c;
  --border: #9faf9b;
  --gradient: linear-gradient(180deg, rgba(123,81,54,0.6) 0%, rgba(123,81,54,0) 100%);

  --accent-rgb: 123, 81, 54;
  --bg-rgb: 21, 20, 21;

  --heading-font: 'Cormorant Garamond', serif;
  --body-font: 'Outfit', sans-serif;
  --heading-weight: 400;
  --body-weight: 300;

  --radius: 20px;
  --radius-sm: 10px;
  --shadow: 0 4px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
  --transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

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

/* Text overflow protection */
.service-card, .team-card, .hero h1, .section-header h2,
h1, h2, h3, h4, p { overflow-wrap: break-word; word-break: break-word; }

/* ─── SCROLL PROGRESS ────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 9999;
}

/* ─── PRELOADER ──────────────────────────────────────────── */
.preloader {
  position: fixed; inset: 0;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 10000;
  clip-path: circle(150% at 50% 50%);
}

.preloader-logo {
  font-family: var(--heading-font);
  font-size: 2.4rem;
  color: var(--text);
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
}

.preloader-spinner {
  width: 40px; height: 40px;
  border: 2px solid var(--text-muted);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ─── GRAIN OVERLAY ──────────────────────────────────────── */
.grain-overlay {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── NAVIGATION ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 1.2rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: transform 0.4s ease, background 0.4s ease;
  background: rgba(var(--bg-rgb), 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav.nav-hidden {
  transform: translateY(-100%);
}

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

.nav-logo img {
  height: 52px; width: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-logo span {
  font-family: var(--heading-font);
  font-size: 1.3rem;
  color: var(--text);
  letter-spacing: 0.08em;
}

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

.nav-links a {
  font-family: var(--body-font);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(var(--accent-rgb), 0.7);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1002;
  background: none; border: none;
  padding: 8px;
}

.burger span {
  display: block;
  width: 28px; height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0;
  background: rgba(var(--bg-rgb), 0.97);
  backdrop-filter: blur(30px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2rem;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu a {
  font-family: var(--heading-font);
  font-size: 2rem;
  color: var(--text);
  letter-spacing: 0.1em;
  transition: color var(--transition);
}

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

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

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

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: saturate(0.6);
}

/* Stone mask overlay */
.hero-stone-mask {
  position: absolute; inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 0%, var(--bg) 70%);
}

/* Spotlight cursor effect handled by effects.js */
.hero-spotlight {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  background: radial-gradient(400px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
    rgba(var(--accent-rgb), 0.08), transparent 60%);
}

.hero:hover .hero-spotlight { opacity: 1; }

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 5vw;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-family: var(--heading-font);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero h1 .line-1 {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  color: rgba(var(--accent-rgb), 0.7);
  letter-spacing: 0.15em;
}

.hero h1 .line-2 {
  display: block;
  font-size: clamp(3.5rem, 9vw, 8rem);
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero h1 .line-3 {
  display: block;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  color: var(--accent);
  letter-spacing: 0.2em;
  font-weight: 400;
}

.hero-subtitle {
  font-family: var(--body-font);
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
  color: rgba(241, 234, 222, 0.5);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-number {
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent);
  font-weight: 300;
  line-height: 1;
}

.hero-stat .stat-label {
  font-size: 0.75rem;
  color: rgba(241, 234, 222, 0.4);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-family: var(--body-font);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0.4rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  min-height: 48px;
  min-width: 48px;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.3);
}

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

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.1);
  transform: translateY(-2px);
}

/* Button fill hover effect (effects.js handles animation) */
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--accent-hover);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* ─── SECTIONS ───────────────────────────────────────────── */
.section {
  padding: 6rem 2rem;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: var(--heading-font);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-header p {
  font-family: var(--body-font);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  color: rgba(241, 234, 222, 0.4);
  max-width: 560px;
  margin: 0 auto;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

/* Section dividers — thin line 1px */
.section + .section {
  box-shadow: 0 -1px 0 #151415;
}

/* Section shapes — organic SVG-based sage-green decorations */
.section-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
}

.section-shape svg {
  fill: var(--border);
}

.section-shape-right {
  right: -5%; top: 10%;
  width: 300px;
}

.section-shape-left {
  left: -5%; bottom: 10%;
  width: 250px;
}

/* ─── SERVICES — STICKY SEQUENCE ─────────────────────────── */
.services-section {
  padding: 6rem 0;
  background: var(--bg);
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border-radius: 0.4rem;
  overflow: hidden;
  margin-bottom: 2rem;
  position: relative;
  transition: all var(--transition);
  box-shadow: 0 1px 0 var(--bg);
}

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

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

.service-card-image {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.service-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

/* Clip-path reveal on hover */
.service-card-image::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(var(--accent-rgb), 0.15);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-image::after {
  clip-path: inset(0 0 0 0);
}

.service-card-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card-body h3 {
  font-family: var(--heading-font);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
}

.service-card-body p {
  font-size: 0.92rem;
  color: rgba(241, 234, 222, 0.55);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-card-body .btn {
  align-self: flex-start;
}

/* Services without photo */
.service-card--no-photo {
  grid-template-columns: 1fr;
}

.service-card--no-photo .service-card-body {
  padding: 2rem 2.5rem;
}

/* ─── SERVICES LIST (no-photo services) ──────────────────── */
.services-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.service-item {
  background: var(--surface);
  border-radius: 0.4rem;
  padding: 1.8rem;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.service-item:hover {
  border-color: rgba(var(--accent-rgb), 0.2);
  transform: translateY(-4px);
}

.service-item h4 {
  font-family: var(--heading-font);
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 0.6rem;
  font-weight: 400;
}

.service-item p {
  font-size: 0.88rem;
  color: rgba(241, 234, 222, 0.45);
  line-height: 1.6;
}

/* ─── TEAM ───────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.team-card {
  background: var(--surface);
  border-radius: 0.4rem;
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.team-card:hover {
  border-color: rgba(var(--accent-rgb), 0.15);
  transform: translateY(-6px);
}

.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-family: var(--heading-font);
  font-size: 1.5rem;
  color: var(--text);
  position: relative;
}

.team-avatar::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
}

.team-card h4 {
  font-family: var(--heading-font);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.team-card .team-role {
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-card .team-spec {
  font-size: 0.82rem;
  color: rgba(241, 234, 222, 0.4);
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* ─── GALLERY ────────────────────────────────────────────── */
.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 1rem;
}

.gallery-grid .gallery-item:nth-child(1) { grid-column: span 2; }
.gallery-grid .gallery-item:nth-child(4) { grid-column: span 2; }

.gallery-item {
  position: relative;
  border-radius: 0.4rem;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(var(--bg-rgb), 0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ─── UTP / FEATURES ─────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.feature-card {
  padding: 2rem;
  border-left: 2px solid rgba(var(--accent-rgb), 0.3);
  transition: all var(--transition);
}

.feature-card:hover {
  border-left-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.03);
}

.feature-card h4 {
  font-family: var(--heading-font);
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 0.6rem;
  font-weight: 400;
}

.feature-card p {
  font-size: 0.88rem;
  color: rgba(241, 234, 222, 0.45);
  line-height: 1.6;
}

/* ─── CTA SECTION ────────────────────────────────────────── */
.cta-section {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient);
  opacity: 0.2;
}

.cta-section h2 {
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 1rem;
  position: relative;
}

.cta-section p {
  font-size: 1rem;
  color: rgba(241, 234, 222, 0.5);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.cta-section .btn {
  position: relative;
}

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.testimonial-card {
  background: var(--surface);
  border-radius: 0.4rem;
  padding: 2.5rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--heading-font);
  font-size: 5rem;
  color: rgba(var(--accent-rgb), 0.15);
  position: absolute;
  top: 0.5rem; left: 1.5rem;
  line-height: 1;
}

.testimonial-card blockquote {
  font-family: var(--heading-font);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
}

/* ─── CONTACTS ───────────────────────────────────────────── */
.contact-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.contact-item {
  background: var(--surface);
  border-radius: 0.4rem;
  padding: 1.8rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.contact-item:hover {
  border-color: rgba(var(--accent-rgb), 0.15);
}

.contact-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
}

.contact-info h4 {
  font-family: var(--heading-font);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.3rem;
  font-weight: 400;
}

.contact-info p,
.contact-info a {
  font-size: 0.9rem;
  color: rgba(241, 234, 222, 0.5);
  line-height: 1.5;
  transition: color var(--transition);
}

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

/* ─── MAP ────────────────────────────────────────────────── */
.map-container {
  max-width: 1000px;
  margin: 3rem auto 0;
  padding: 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.map-container iframe {
  border-radius: var(--radius);
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
}

.footer-logo {
  display: flex; align-items: center; gap: 0.7rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 40px; width: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-logo span {
  font-family: var(--heading-font);
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(241, 234, 222, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition);
}

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

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ─── FLOATING WHATSAPP ──────────────────────────────────── */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* ─── REVEAL ANIMATIONS (effects.js driven) ──────────────── */
[data-reveal] {
  opacity: 1;
}

/* ─── SECTION DECORATIVE SHAPES ──────────────────────────── */
.organic-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.organic-shape path {
  fill: var(--border);
  opacity: 0.05;
}

/* ─── RESPONSIVE — MOBILE FIRST ──────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.2rem; }
  .nav-links { display: none; }
  .burger { display: flex; }

  .hero-content { padding: 0 1.5rem; }
  .hero h1 .line-2 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .hero-stats { gap: 1.5rem; }

  .section { padding: 4rem 1.2rem; }
  .section-header { margin-bottom: 2.5rem; }

  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(even) {
    direction: ltr;
  }

  .service-card-image {
    min-height: 220px;
  }

  .service-card-body {
    padding: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-grid .gallery-item:nth-child(1),
  .gallery-grid .gallery-item:nth-child(4) {
    grid-column: span 1;
  }

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

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

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

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

  .footer-links { gap: 1.2rem; }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ─── PAGE-SPECIFIC: INNER PAGES HERO ────────────────────── */
.page-hero {
  padding: 10rem 2rem 4rem;
  text-align: center;
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.2), transparent);
}

.page-hero h1 {
  font-family: var(--heading-font);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 0.8rem;
}

.page-hero p {
  font-size: 1rem;
  color: rgba(241, 234, 222, 0.4);
  max-width: 500px;
  margin: 0 auto;
}

/* ─── ARCHITECTURE SERVICES BADGE ────────────────────────── */
.arch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  border-radius: 2rem;
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* ─── SCHEMA.ORG HIDDEN ──────────────────────────────────── */
.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;
}
