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

:root {
  --base: #0d0d16;
  --surface: #10102a;
  --surface-alt: #0f1525;
  --primary: #1e3a6a;
  --primary-light: #4a7ab8;
  --accent: #d4a853;
  --text: #e8eaf0;
  --text-secondary: #8ca3cc;
  --text-muted: #6889b8;
  --radius: 8px;
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--base);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

[hidden] {
  display: none !important;
}

/* --- Nav --- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease;
}

.nav--scrolled {
  background: var(--surface-alt);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo-img {
  height: 40px;
  width: auto;
}

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

.nav__toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle--open .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle--open .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle--open .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__links {
  list-style: none;
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface-alt);
  padding: 16px 20px;
  gap: 16px;
}

.nav__links--open {
  display: flex;
}

.nav__links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

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

/* Desktop nav */
@media (min-width: 768px) {
  .nav__toggle {
    display: none;
  }

  .nav__links {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    padding: 0;
    gap: 28px;
  }
}

/* --- Buttons --- */

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  text-align: center;
}

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

.btn--primary:hover {
  background: var(--primary-light);
}

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

.btn--outline:hover {
  background: rgba(212, 168, 83, 0.1);
}

/* --- Hero --- */

.hero {
  padding: 100px 20px 48px;
  background: radial-gradient(ellipse at 30% 20%, var(--surface-alt) 0%, var(--base) 70%);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero__title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero__subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 24px;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__info {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid var(--primary);
}

.hero__info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__info-label {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero__info-value {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.hero__info-link {
  transition: color 0.2s ease;
}

.hero__info-link:hover {
  color: var(--accent);
}

/* Desktop hero */
@media (min-width: 768px) {
  .hero {
    padding: 120px 20px 64px;
  }

  .hero__inner {
    flex-direction: row;
    align-items: center;
  }

  .hero__content {
    flex: 3;
  }

  .hero__info {
    flex: 2;
  }

  .hero__title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 3.5rem;
  }
}

/* --- Section Heading --- */

.section-heading {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 32px;
}

.section-heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--primary);
  margin: 12px auto 0;
}

/* --- Features --- */

.features {
  padding: 64px 20px;
}

.features__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  border: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.feature-card:hover {
  border-color: var(--primary);
}

.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.feature-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-card__desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

@media (min-width: 1024px) {
  .features__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* --- About --- */

.about-section {
  padding: 64px 20px;
  background: var(--surface);
}

.about-section__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.about-section__text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-section__highlight {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

/* --- Gallery --- */

.gallery {
  padding: 64px 20px;
}

.gallery__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.gallery__scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.gallery__placeholder {
  flex: 0 0 280px;
  height: 200px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px dashed var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  scroll-snap-align: start;
}

@media (min-width: 1024px) {
  .gallery__scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
  }

  .gallery__placeholder {
    flex: none;
    height: 220px;
  }
}

/* --- Map --- */

.map-section {
  padding: 64px 20px;
  background: var(--surface);
}

.map-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.map-section__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.map-section__embed {
  border-radius: var(--radius);
  overflow: hidden;
}

.map-section__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.map-section__address {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
}

.map-section__phone {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
}

.map-section__phone:hover {
  color: var(--text);
}

@media (min-width: 768px) {
  .map-section__content {
    flex-direction: row;
    align-items: flex-start;
  }

  .map-section__embed {
    flex: 2;
  }

  .map-section__info {
    flex: 1;
    padding-top: 8px;
  }
}

/* --- Footer --- */

.footer {
  padding: 32px 20px;
  border-top: 1px solid var(--primary);
  text-align: center;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__social {
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.9rem;
}

.footer__social:hover {
  color: var(--accent);
}

.footer__address {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer__address a {
  color: var(--text-muted);
}

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

.footer__copy {
  color: var(--text-muted);
  font-size: 0.75rem;
  opacity: 0.6;
}
