@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #090909;
  --surface: rgba(18,18,18,0.94);
  --surface-soft: rgba(28,24,20,0.92);
  --text: #f4f1eb;
  --muted: #c5b8a3;
  --accent: #d4af37;
  --accent-dark: #b08a2b;
  --accent-soft: rgba(212,175,55,0.16);
  --border: rgba(255,255,255,0.1);
  --radius: 28px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #110d06 0%, #090805 52%, #0a0704 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 28% 18%, rgba(212,175,55,0.12) 0, transparent 18%), radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0, transparent 20%);
  pointer-events: none;
  opacity: 0.45;
}

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

button, input, select, textarea {
  font: inherit;
}

.container {
  width: min(94%, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 8, 6, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212,175,55,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand .logo {
  display: none;
}

.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;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  background: rgba(255,255,255,0.03);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--text);
  background: rgba(212,175,55,0.18);
  transform: translateY(-1px);
}

main {
  position: relative;
  overflow: hidden;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero {
  min-height: calc(100vh - 6.5rem);
  padding: 1.5rem 0 1rem;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(212,175,55,0.22), transparent 30%), radial-gradient(circle at bottom right, rgba(255,255,255,0.06), transparent 22%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 1360px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
 }

.hero-copy {
  display: grid;
  gap: 14px;
  max-width: 520px;
}

.hero-headline {
  display: grid;
  gap: 12px;
}

.hero-copy h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 4.6vw, 3.6rem);
  line-height: 1.04;
  margin: 0;
}

.hero-body {
  grid-column: 1 / -1;
  display: grid;
  gap: 1rem;
  margin-top: 4.5rem;
  max-width: 100%;
}

.hero-body .lead,
.hero-body .hero-actions {
  width: 100%;
}

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

.hero-actions .btn {
  flex: 1 1 auto;
  min-width: 180px;
}

.hero-visual {
  position: absolute;
  top: -4%;
  right: -15%;
  width: min(55vw, 1080px);
  max-width: 1080px;
  transform: translateY(-12%);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  pointer-events: none;
  z-index: 0;
}

.hero.hero-simple {
  min-height: 55vh;
  padding: 2.5rem 0 1.5rem;
}

.hero.hero-simple .hero-inner {
  grid-template-columns: 1fr;
  justify-items: center;
}

.hero.hero-simple .hero-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-logo {
  width: 100%;
  max-width: 1080px;
  margin: 0;
  display: block;
  border-radius: 0;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.hero-copy,
.hero-body,
.hero-badges {
  position: relative;
  z-index: 1;
}

.hero-badges {
  grid-column: 1 / -1;
  margin-top: 4.75rem;
}

.hero-copy p.lead {
  max-width: 74ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-badge {
  padding: 20px 18px;
  border-radius: var(--radius);
  background: rgba(212,175,55,0.14);
  border: 1px solid rgba(212,175,55,0.18);
}

.hero-badge strong {
  display: block;
  font-size: 1.15rem;
  color: var(--text);
}

.hero-badge span {
  color: var(--muted);
  margin-top: 6px;
  display: block;
}

.section {
  padding: 5rem 0;
}

.section-intro {
  margin-bottom: 2.4rem;
}

.section-intro h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 2.8vw, 2.8rem);
}

.section-intro p {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 72ch;
  line-height: 1.9;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 2rem;
  background: rgba(16, 14, 10, 0.95);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 60px rgba(0,0,0,0.24);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card-image,
.project-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.card .card-content,
.project-card figcaption {
  padding: 1.8rem;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,175,55,0.28);
}

.card h3 {
  margin-top: 0;
  color: var(--text);
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.85;
}

.card ul {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.card-hero {
  display: grid;
  gap: 22px;
}

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

.stats-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.6rem;
  border-radius: 24px;
  text-align: center;
}

.stats-card strong {
  display: block;
  font-size: 2rem;
  color: var(--text);
}

.stats-card span {
  color: var(--muted);
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-card {
  display: grid;
  gap: 18px;
}

.service-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(212,175,55,0.14);
  color: var(--accent);
  font-size: 1.7rem;
}

.service-card h3 {
  margin: 0;
}

.service-card p {
  margin: 0;
}

.section-panel {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
  border-radius: 32px;
  padding: 2.5rem;
}

.project-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  min-height: 0;
}

.project-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.project-card figcaption {
  padding: 1.8rem;
}

.project-card strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.8rem;
}

.project-card p,
.project-card .project-desc {
  color: var(--muted);
  margin: 0;
}

.contact-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.2fr);
}

.contact-panel,
.contact-form-wrapper {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 2rem;
}

.contact-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(300px, 1fr) minmax(360px, 1.2fr);
  align-items: stretch;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.25rem;
  padding: 2rem;
}

.contact-panel h2,
.contact-form-wrapper h2 {
  margin-top: 0;
}

.contact-panel h2 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.contact-panel p {
  margin: 0 0 0.8rem 0;
  color: var(--muted);
  line-height: 1.8;
}

.contact-panel a {
  color: var(--accent);
  text-decoration: underline;
}

.contact-item {
  display: grid;
  gap: 8px;
  margin-top: 1.6rem;
}

.contact-item strong {
  color: var(--text);
}

.contact-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.contact-form label {
  display: block;
  margin: 1.4rem 0 0.6rem;
  color: var(--text);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Make the select box visually match other inputs and ensure
   dropdown options are readable on dark backgrounds */
.contact-form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

/* Style native option elements for better contrast in dropdowns */
.contact-form select option {
  background: rgba(18,18,18,0.98);
  color: var(--text);
}

/* For some browsers, ensure the selected option remains readable */
.contact-form select:focus option:checked,
.contact-form select option:checked {
  background: rgba(212,175,55,0.12);
  color: var(--text);
}

/* Hide default select arrow in IE/Edge and allow custom styling if desired */
.contact-form select::-ms-expand {
  display: none;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 0 0 4px rgba(212,175,55,0.12);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(212,175,55,0.45);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #071017;
  border-color: transparent;
}

.btn.secondary {
  background: rgba(255,255,255,0.06);
}

.site-footer {
  padding: 2.5rem 0 3.5rem;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 960px) {
  .hero-inner,
  .hero-badges,
  .stats-grid,
  .contact-layout,
  .services-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    position: relative;
    width: 100%;
    transform: none;
    top: auto;
    right: auto;
  }

  .hero-logo {
    max-width: 720px;
    width: min(100%, 720px);
    margin: 0 auto;
  }
}

@media (max-width: 820px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    width: 100%;
    display: none;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 14px;
    padding-top: 14px;
  }

  .site-nav a {
    width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    padding-top: 4.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }

  .site-header {
    padding: 0 12px;
  }
}

/* Language toggle in header */
.lang-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}
.lang-toggle:hover,
.lang-toggle:focus {
  color: var(--text);
  border-color: rgba(212,175,55,0.2);
}

.success-message {
  display: none;
  margin-bottom: 20px;
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.35);
  color: var(--accent);
  font-weight: 600;
  line-height: 1.6;
}
