/* ===== Custom Properties ===== */
:root {
  --color-gold: #D4A843;
  --color-gold-light: #E8C66A;
  --color-gold-dark: #B8922E;
  --color-black: #1A1A1A;
  --color-dark: #2D2D2D;
  --color-gray: #6B7280;
  --color-light: #F5F5F0;
  --color-white: #FFFFFF;

  --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --nav-height: 80px;
  --container-width: 1100px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

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

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section--dark {
  background: var(--color-black);
  color: var(--color-white);
}

.section--alt {
  background: var(--color-light);
}

.section__title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section__subtitle {
  text-align: center;
  color: var(--color-gray);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

.section--dark .section__subtitle {
  color: #aaa;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav--scrolled {
  background: var(--color-black);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: block;
  color: var(--color-white);
}

.nav__logo .logo {
  height: 55px;
  width: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
}

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

.nav__link--cta {
  background: var(--color-gold);
  color: var(--color-black);
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600;
}

.nav__link--cta:hover {
  background: var(--color-gold-light);
  color: var(--color-black);
}

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

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: transform var(--transition), opacity var(--transition);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 40%, #16213e 70%, #0f3460 100%);
  padding: 100px 20px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__content {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.hero__logo {
  width: 280px;
  margin: 0 auto 32px;
}

.hero__title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: #b0b0b0;
  margin-bottom: 40px;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
  border: none;
}

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

.btn--primary:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
}

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

.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-black);
  transform: translateY(-2px);
}

/* ===== Service Cards ===== */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.card {
  background: var(--color-white);
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 32px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.card__icon svg {
  width: 100%;
  height: 100%;
}

.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-black);
}

.card__text {
  color: var(--color-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Benefits ===== */
.benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 48px;
}

.benefit {
  text-align: center;
}

.benefit__icon {
  width: 56px;
  height: 56px;
  color: var(--color-gold);
  margin: 0 auto 16px;
}

.benefit__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit__text {
  color: #ccc;
  font-size: 0.95rem;
  max-width: 300px;
  margin: 0 auto;
}

/* ===== About ===== */
.about__content {
  max-width: 700px;
  margin: 0 auto;
}

.about__text p {
  margin-bottom: 16px;
  color: var(--color-gray);
  font-size: 1.05rem;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__text strong {
  color: var(--color-black);
}

/* ===== FAQ ===== */
.faq__list {
  max-width: 700px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid #ddd;
}

.faq__question {
  font-size: 1.05rem;
  font-weight: 600;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-black);
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-gold);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq__item[open] .faq__question::after {
  content: '−';
}

.faq__answer {
  padding: 0 0 20px;
  color: var(--color-gray);
  line-height: 1.7;
}

/* ===== Contact ===== */
.contact__content {
  display: flex;
  justify-content: center;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 500px;
  width: 100%;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact__icon {
  width: 28px;
  height: 28px;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__item h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gray);
  margin-bottom: 4px;
}

.contact__item a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-black);
  transition: color var(--transition);
}

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

.contact__item p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-black);
}

/* ===== Footer ===== */
.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 40px 0 24px;
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #333;
}

.footer__logo {
  height: 60px;
  width: auto;
}

.footer__nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__nav a {
  font-size: 0.9rem;
  color: #aaa;
  transition: color var(--transition);
}

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

.footer__bottom {
  text-align: center;
  padding-top: 24px;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: #666;
}

/* ===== Responsive: Tablet ===== */
@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero__title {
    font-size: 3.5rem;
  }

  .section__title {
    font-size: 2.2rem;
  }
}

/* ===== Responsive: Desktop ===== */
@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__logo {
    width: 360px;
    margin-bottom: 40px;
  }

  .hero__title {
    font-size: 4rem;
  }

  .section {
    padding: 100px 0;
  }

  .container {
    padding: 0 40px;
  }
}

/* ===== Mobile Menu ===== */
@media (max-width: 767px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-black);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transition: right var(--transition);
    padding: 20px;
  }

  .nav__menu--open {
    right: 0;
  }

  .nav__link {
    font-size: 1.2rem;
  }

  .nav__link--cta {
    text-align: center;
    width: 100%;
  }

  /* Hamburger animation */
  .nav__toggle--active .nav__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

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

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