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

:root {
  --bg: #faf9f6;
  --dark: #1a1a1a;
  --accent: #e9a139;
  --terracotta: #a34d2f;
  --white: #fff;
  --border: rgba(0, 0, 0, 0.1);
  --glass: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.5;
}

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

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

.container {
  width: min(1280px, 100% - 40px);
  margin-inline: auto;
}

/* Hero */
.hero {
  position: relative;
  min-height: 900px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 160px 80px 80px;
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.hero__nav {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: min(1280px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 40px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__logo {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 28px;
  white-space: nowrap;
}

.hero__menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero__menu a {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.hero__menu a:hover {
  opacity: 0.85;
}

.btn-contacts {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 100px;
  background: var(--white);
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero__text {
  max-width: 843px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero__label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 400;
  line-height: 0.9;
}

.hero__subtitle {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  opacity: 0.9;
  max-width: 720px;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.btn-primary {
  display: inline-block;
  padding: 24px 48px;
  border-radius: 100px;
  background: var(--terracotta);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.25);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.hero__price {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__price-label {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.6;
  text-transform: uppercase;
}

.hero__price-value {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
}

.hero__tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--dark);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.tag img {
  width: 16px;
  height: 16px;
}

/* Experience */
.experience {
  padding: 120px 80px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.experience__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.experience__intro {
  max-width: 624px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.experience__title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
}

.experience__desc {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.8;
}

.experience__badge {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  border: 1px solid var(--terracotta);
  border-radius: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(15deg);
}

.experience__badge p {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 20px;
  line-height: 1.2;
  color: var(--terracotta);
  text-align: center;
  max-width: 100px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__icon img {
  width: 24px;
  height: 24px;
}

.card__title {
  font-size: 18px;
  font-weight: 700;
}

.card__text {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.7;
}

/* Testimonial */
.testimonial {
  display: grid;
  grid-template-columns: 843fr 405fr;
  gap: 32px;
  padding: 0 80px 120px;
  min-height: 600px;
}

.testimonial__photo {
  border-radius: 32px;
  overflow: hidden;
  min-height: 480px;
}

.testimonial__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial__quote {
  background: var(--terracotta);
  color: var(--white);
  border-radius: 32px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.testimonial__quote p:first-child {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
}

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

.testimonial__name {
  font-size: 16px;
  font-weight: 700;
}

.testimonial__role {
  font-size: 14px;
  opacity: 0.6;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 80px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.footer__brand {
  max-width: 405px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__logo {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 32px;
}

.footer__about {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.5;
}

.footer__cols {
  display: flex;
  gap: 80px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__col h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
}

.footer__col a,
.footer__col p {
  font-size: 14px;
  opacity: 0.7;
}

.footer__col a:hover {
  opacity: 1;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  opacity: 0.3;
}

.footer__social {
  display: flex;
  gap: 24px;
}

.footer__social a:hover {
  opacity: 0.7;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1200px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial {
    grid-template-columns: 1fr;
  }

  .testimonial__photo {
    min-height: 360px;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 120px 24px 48px;
    min-height: auto;
  }

  .hero__nav {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    flex-wrap: wrap;
    padding: 16px 20px;
    margin-bottom: 48px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .hero__menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 16px;
  }

  .hero__menu.is-open {
    display: flex;
  }

  .experience {
    padding: 80px 24px;
  }

  .experience__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .experience__badge {
    align-self: flex-end;
  }

  .testimonial {
    padding: 0 24px 80px;
  }

  .footer {
    padding: 48px 24px;
  }

  .footer__top {
    flex-direction: column;
  }

  .footer__cols {
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .hero__tags {
    flex-direction: column;
    align-items: flex-start;
  }
}
