/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ===== CSS VARIABLES (ALABASTER & BRONZE THEME) ===== */
:root {
  --bg-primary: #FAFAFA;
  /* Alabaster White */
  --bg-secondary: #F5F5F7;
  /* Light Grayish White */
  --bg-card: #FFFFFF;
  --bg-card-hover: #FBFBFB;
  --text-primary: #2D2D2D;
  /* Dark Gray for contrast */
  --text-secondary: #555555;
  --text-muted: #888888;
  --gold: #927255;
  /* Bronze */
  --gold-light: #B08D6F;
  /* Light Bronze */
  --gold-dark: #5D4037;
  /* Dark Bronze/Brown */
  --gold-gradient: linear-gradient(135deg, #927255 0%, #B08D6F 50%, #927255 100%);
  --border-color: rgba(146, 114, 85, 0.2);
  --border-color-hover: rgba(146, 114, 85, 0.5);
  --shadow-gold: 0 10px 40px rgba(146, 114, 85, 0.12);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --edge-pad: clamp(16px, 3vw, 60px);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

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

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.preloader-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  animation: preloaderPulse 1.5s ease infinite;
}

.preloader-line {
  width: 120px;
  height: 1px;
  background: var(--border-color);
  position: relative;
  overflow: hidden;
}

.preloader-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: var(--gold);
  animation: preloaderSlide 1.2s ease infinite;
}

@keyframes preloaderSlide {
  0% {
    left: -60%;
  }

  100% {
    left: 100%;
  }
}

@keyframes preloaderPulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--transition-smooth),
    transform 0.8s var(--transition-smooth);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--transition-smooth),
    transform 0.8s var(--transition-smooth);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--transition-smooth),
    transform 0.8s var(--transition-smooth);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s var(--transition-smooth),
    transform 0.8s var(--transition-smooth);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

.delay-6 {
  transition-delay: 0.6s;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--edge-pad);
  background: transparent;
  transition: all 0.4s var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px var(--edge-pad);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 4px;
}

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

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-phone {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 1px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 40px;
  gap: 28px;
  border-left: 1px solid var(--border-color);
  transition: right 0.5s var(--transition-smooth);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--gold);
  transform: translateX(8px);
}

.mobile-phone {
  margin-top: 20px;
  color: var(--gold) !important;
  font-size: 1.2rem !important;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(-45deg, #FAFAFA, #F5F5F7, #f0e6dd, #FAFAFA);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(250, 250, 250, 0.0) 0%, rgba(250, 250, 250, 0.8) 70%);
  z-index: 2;
  pointer-events: none;
  /* Let clicks pass through to 3D if needed */
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 100%;
  max-width: 1600px;
  padding: 0 var(--edge-pad);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 24px;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  animation: fadeInUp 1s ease 0.3s both;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: dotPulse 2s ease infinite;
}

@keyframes dotPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.75vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 32px;
  color: var(--text-primary);
  /* Changed to dark */
  animation: fadeInUp 1s ease 0.5s both;
}

.hero-title span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.8;
  animation: fadeInUp 1s ease 0.7s both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: var(--gold-gradient);
  color: white;
  /* Keep white text for contrast on bronze */
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease 0.9s both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(146, 114, 85, 0.3);
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(146, 114, 85, 0.4);
}

.hero-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.hero-cta:hover::after {
  transform: translateX(100%);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: fadeInUp 1s ease 1.2s both;
}

.hero-scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: var(--border-color);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollDown 2s ease infinite;
}

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

  50% {
    top: 100%;
  }

  100% {
    top: 100%;
  }
}

/* ===== METRICS BAR ===== */
.metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-card);
}

.metric-item {
  padding: 48px var(--edge-pad);
  text-align: center;
  border-right: 1px solid var(--border-color);
}

.metric-item:last-child {
  border-right: none;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 8px;
}

.metric-label {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ===== SECTIONS ===== */
.section {
  padding: 120px var(--edge-pad);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  position: relative;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--border-color-hover);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-title span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== ABOUT ===== */
.about {
  background: var(--bg-card);
  /* Section distinction */
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 24px;
}

.about-text h2 span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text>p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-feature {
  padding: 24px 20px;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  /* Slightly different from section bg */
  transition: all 0.4s ease;
}

.about-feature:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 1.2rem;
}

.about-feature h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-primary);
}

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

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-image-border {
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 1px solid var(--gold);
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--transition-smooth);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--transition-smooth);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  border-color: transparent;
  transform: translateY(-8px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  /* Darker shadow for visibility */
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  border-color: var(--gold);
  background: rgba(146, 114, 85, 0.08);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.price {
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 500;
}

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

/* ===== PORTFOLIO ===== */
.portfolio {
  background: var(--bg-card);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.portfolio-card {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--transition-smooth);
}

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

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  /* Keep dark overlay for text contrast */
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  transition: all 0.4s ease;
}

.portfolio-card:hover .portfolio-card-overlay {
  opacity: 1;
}

.portfolio-card-info {
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-card-info {
  transform: translateY(0);
}

.portfolio-tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: white;
  background: var(--gold);
  padding: 4px 12px;
  border-radius: 40px;
  margin-bottom: 12px;
}

.portfolio-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: white;
  margin-bottom: 8px;
}

.portfolio-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testimonial-letter {
  background: var(--bg-card);
  padding: 10px;
  border: 1px solid var(--border-color);
  position: relative;
  cursor: zoom-in;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-letter:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.testimonial-letter img {
  width: 100%;
  display: block;
}

.letter-zoom {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
}

.testimonial-letter:hover .letter-zoom {
  opacity: 1;
}

.testimonial-info h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.testimonial-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.testimonial-date {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* ===== CONTACT ===== */
.contact {
  background: var(--bg-card);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact-method:hover {
  border-color: var(--gold);
  transform: translateX(10px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(146, 114, 85, 0.1);
  /* Light bronze bg */
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method div small {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-method div strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
}

.contact-form-wrapper {
  background: var(--bg-primary);
  padding: 48px;
  border: 1px solid var(--border-color);
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.contact-form p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(146, 114, 85, 0.1);
}

.form-submit {
  width: 100%;
  padding: 18px;
  background: var(--gold);
  color: white;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background: var(--gold-dark);
}

/* ===== REQUISITES ===== */
.requisites-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.requisites-card {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

.requisites-card h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 24px;
}

.req-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.req-row:last-child {
  border-bottom: none;
}

.req-row span {
  color: var(--text-muted);
}

.req-row strong {
  color: var(--text-primary);
  font-weight: 500;
  text-align: right;
}

/* ===== FOOTER ===== */
.footer {
  background: #1a1815;
  /* Keep footer dark for contrast/grounding */
  color: white;
  padding: 80px var(--edge-pad) 40px;
}

.footer-inner {
  width: 100%;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: #999;
  margin-top: 16px;
  line-height: 1.6;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-col h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #666;
  /* Muted in dark footer */
  margin-bottom: 24px;
}

.footer-col a {
  display: block;
  color: #e0e0e0;
  margin-bottom: 12px;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.8rem;
  color: #666;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  /* Light lightbox */
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 40px;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  font-size: 3rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--gold);
}

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

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 900px) {
  :root {
    --edge-pad: 24px;
  }

  .navbar {
    padding: 16px var(--edge-pad);
  }

  .nav-links,
  .nav-phone {
    display: none;
  }

  .burger {
    display: flex;
  }

  /* Grids to 1 column */
  .about-grid,
  .contact-grid,
  .requisites-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-wrapper {
    order: -1;
    /* Image on top */
    max-width: 500px;
    margin: 0 auto;
  }

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

  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

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

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: auto;
    height: 100svh;
    /* Default align-items: center applies, so we remove flex-start */
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-title {
    font-size: 1.6rem;
    /* Reduced from 1.8rem to fit long words without breaking */
    padding: 0 10px;
    word-wrap: normal;
    overflow-wrap: normal;
    hyphens: manual;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .metric-item {
    padding: 24px 16px;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }

  .metrics-bar {
    grid-template-columns: 1fr;
  }

  /* Remove border from last item */
  .metric-item:last-child {
    border-bottom: none;
  }

  .section {
    padding: 60px var(--edge-pad);
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .contact-form-wrapper {
    padding: 24px;
  }

  .footer-links {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}