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

:root {
  --bg: #ffffff;
  --bg-alt: #f4f4f6;
  --text: #1e1e2a;
  --text-muted: #6b6b7b;
  --accent: #c9a96e;
  --header-bg: rgba(255, 255, 255, 0.95);
  --header-border: rgba(0, 0, 0, 0.06);
  --nav-link: rgba(30, 30, 42, 0.7);
  --nav-link-hover: #1e1e2a;
  --card-shadow: rgba(0, 0, 0, 0.06);
  --footer-bg: #1e1e2a;
  --footer-text: rgba(255, 255, 255, 0.6);
  --section-alt-bg: #f4f4f6;
  --section-alt-text: #1e1e2a;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--header-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo img {
  height: 90px;
  width: auto;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  flex-shrink: 0;
}

.header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--nav-link);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.header__toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.header__toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__nav a {
  color: var(--nav-link);
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  text-transform: uppercase;
  white-space: nowrap;
}

.header__nav a:hover {
  color: var(--nav-link-hover);
}

/* ── Banner / Carrusel ── */

.banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  z-index: 0;
}

.banner__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 0;
}

.banner__slide.active {
  opacity: 1;
  z-index: 1;
}

.banner__slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner__slide .banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.banner__slide:first-child .banner__overlay {
  background: rgba(0, 0, 0, 0.10);
}

.banner__slide .banner__logo {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 38%;
  max-height: 38%;
  width: auto;
  height: auto;
  object-fit: contain;
  z-index: 3;
}

.banner__slide--logo-up-left .banner__logo {
  top: 30%;
  transform: translate(-78%, -50%);
}

.banner__slide--logo-up-right .banner__logo {
  top: 38%;
  transform: translate(-10%, -50%);
  max-width: 38%;
  max-height: 38%;
}

.banner__slide--logo-slight-right .banner__logo {
  transform: translate(-40%, -50%);
}

.banner__slide--logo-left-more .banner__logo {
  transform: translate(-55%, -50%);
}

.banner__slide--logo-right .banner__logo {
  transform: translate(-30%, -50%);
}

.banner__slide--logo-left .banner__logo {
  transform: translate(-45%, -50%);
}

/* ── Main ── */

main {
  position: relative;
  z-index: 1;
  margin-top: 100vh;
  background: var(--bg);
}

/* ── Sections ── */

.section {
  padding: 80px 0;
}

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

.section__title {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
}

.section--alt .section__title {
  color: var(--section-alt-text);
}

.section__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
}

/* ── Cards ── */

.cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--card-shadow);
}

.card__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  color: var(--accent);
}

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

.card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.card__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── About ── */

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

.about__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(30, 30, 42, 0.85);
  margin-bottom: 20px;
}

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

/* ── Footer ── */

.footer {
  position: relative;
  z-index: 1;
  background: var(--footer-bg);
  color: var(--footer-text);
  font-size: 0.85rem;
  padding: 24px 0;
  text-align: center;
}

/* ── Responsive ── */

@media (max-width: 992px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .header__inner {
    height: 74px;
  }

  .header__logo img {
    height: 74px;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 80px 32px 32px;
    transition: right 0.35s ease;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
  }

  .header__nav.is-open {
    right: 0;
  }

  .header__nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .header__nav li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .header__nav a {
    display: block;
    padding: 16px 0;
    font-size: 1rem;
    color: rgba(30, 30, 42, 0.75);
  }

  .header__toggle {
    display: flex;
  }

  .banner {
    height: 100vh;
    min-height: 400px;
  }

  .banner__slide .banner__logo {
    max-width: 55%;
    max-height: 38%;
  }

  .section {
    padding: 56px 0;
  }

  .section__title {
    font-size: 1.5rem;
    margin-bottom: 32px;
  }

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

  .card {
    padding: 28px 20px;
  }

  .about__text {
    font-size: 0.95rem;
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
