:root {
  --bg: #07111f;
  --surface: #101b2d;
  --surface-alt: #13203a;
  --text: #f4f7fb;
  --muted: #9db0c7;
  --accent: #7c93ff;
  --accent-2: #ff7db8;
  --border: rgba(255, 255, 255, 0.12);
}

body.theme-via-roma {
  --bg: #19110a;
  --surface: rgba(255, 244, 232, 0.08);
  --surface-alt: rgba(255, 244, 232, 0.04);
  --text: #f6ede1;
  --muted: #cfb69d;
  --accent: #d56d3a;
  --accent-2: #f3bf82;
  --border: rgba(255, 244, 232, 0.16);
}

body.theme-the-glam-house {
  --bg: #16121b;
  --surface: rgba(255, 255, 255, 0.07);
  --surface-alt: rgba(255, 255, 255, 0.04);
  --text: #fdf8fb;
  --muted: #ceb7cf;
  --accent: #f1a8d5;
  --accent-2: #f9d8ea;
  --border: rgba(255, 255, 255, 0.14);
}

body.theme-summit-strength {
  --bg: #06131b;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-alt: rgba(255, 255, 255, 0.03);
  --text: #eef5fb;
  --muted: #97b9d0;
  --accent: #49d5d0;
  --accent-2: #1d8ef2;
  --border: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: linear-gradient(135deg, rgba(124, 147, 255, 0.22), transparent 20%), var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.hero-image img {
  width: 100%;
  display: block;
  min-height: 340px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 30px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 0;
  background: rgba(7, 17, 31, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-logo {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.project-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.2rem;
  align-items: center;
  padding: 2.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 28px;
  margin-bottom: 2.5rem;
}

.hero-copy {
  max-width: 620px;
}

.hero-copy .badge,
.badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(124, 147, 255, 0.12);
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 1.05;
}

.hero-copy p {
  margin: 1.5rem 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
}

.button:hover {
  transform: translateY(-2px);
}

.hero-image {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
}

.section-block {
  margin-bottom: 2rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
}

.section-block h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
}

.section-block p {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
}

.feature-grid,
.section-grid,
.testimonial-grid,
.gallery-grid {
  display: grid;
  gap: 1.2rem;
}

.feature-grid,
.testimonial-grid,
.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-grid,
.stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.section-card,
.testimonial-card,
.contact-card,
.cta-panel,
.gallery-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  padding: 1.6rem;
}

.gallery-card {
  padding: 0;
  overflow: hidden;
}

.gallery-card img {
  min-height: 220px;
  width: 100%;
  display: block;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 1rem 1.2rem 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-card h3,
.section-card h3,
.contact-card h3 {
  margin-top: 0;
}

.feature-card p,
.section-card p,
.testimonial-card p,
.contact-card p {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.section-card ul {
  margin: 0;
  padding-left: 1.35rem;
}

.section-card ul li {
  margin-bottom: 0.7rem;
  color: var(--muted);
}

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

.testimonial-card {
  grid-column: span 3;
}

.testimonial-card p {
  color: var(--text);
}

.testimonial-author {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-card {
  display: grid;
  gap: 1rem;
}

.cta-panel {
  background: linear-gradient(180deg, rgba(124, 147, 255, 0.12), rgba(255, 125, 184, 0.08));
}

.site-footer {
  margin-top: 2rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

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

@media (max-width: 980px) {
  .project-hero,
  .feature-grid,
  .testimonial-grid,
  .section-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy h1 {
    font-size: 2.6rem;
  }
}
