@font-face {
  font-family: "Playfair Display";
  src: url(../fonts/PlayfairDisplay-VariableFont_wght.ttf);
  font-display: swap;
}
:root {
  --primary: #2c5e7a;
  --primary-light: #3f7e9e;
  --primary-dark: #1e4055;
  --accent: #c49a6c;
  --accent-light: #dbb48b;
  --bg-light: #faf8f6;
  --bg-white: #ffffff;
  --text-dark: #1e2a32;
  --text-muted: #4a5c66;
  --border-light: #e2dfdd;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
  --radius: 12px;
  --radius-sm: 8px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Playfair Display', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
section {
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  word-break: break-word;
}

main {
  flex: 1;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: -0.02em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  background: none;
  font-size: 1rem;
}

.btn--primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 20px rgba(44,94,122,0.2);
}

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(44,94,122,0.3);
}

.btn--block {
  width: 100%;
  justify-content: center;
}

.header {
  padding: 16px 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.9);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--primary-dark);
}

.logo img {
  border-radius: 8px;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav__list a {
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s;
}

.nav__list a:hover {
  color: var(--primary);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-dark);
  cursor: pointer;
}

.header__notice {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-light);
  padding: 6px 14px;
  border-radius: 30px;
}

.hero {
  padding: 60px 0 80px;
  background: linear-gradient(135deg, #f6f3f0 0%, #ffffff 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__content h1 {
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero__rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__rating i {
  color: #f5b342;
}

.hero__perks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero__perks li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

.hero__perks i {
  color: var(--primary);
}

.hero__image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.features {
  padding: 80px 0;
  background: var(--bg-white);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 30px;
}

.feature-card {
  background: var(--bg-light);
  padding: 32px 20px;
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.how-it-works {
  padding: 80px 0;
  background: linear-gradient(145deg, #e9f0f5 0%, #ffffff 80%);
}

.steps {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  text-align: center;
}

.step__number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.step p {
  color: var(--text-muted);
}

.about {
  padding: 80px 0;
  background: var(--bg-white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about__image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 5/4;
}

.about__content h2 {
  text-align: left;
  margin-bottom: 24px;
}

.about__content p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.about__badges {
  list-style: none;
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

.about__badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary-dark);
}

.gallery {
  padding: 80px 0;
  background: var(--bg-light);
}

.gallery__wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.gallery__main {
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.gallery__main img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: opacity 0.2s;
}

.gallery__thumbs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery__thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.2s, opacity 0.2s;
  opacity: 0.7;
}

.gallery__thumb:hover,
.gallery__thumb.active {
  border-color: var(--primary);
  opacity: 1;
}

.testimonials {
  padding: 80px 0;
  background: var(--bg-white);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-light);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.testimonial-card__stars {
  color: #f5b342;
  margin-bottom: 16px;
}

.testimonial-card__text {
  font-style: italic;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #ccc;
}

.testimonial-card__author strong {
  display: block;
  font-weight: 600;
}

.testimonial-card__author span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.faq {
  padding: 80px 0;
  background: linear-gradient(145deg, #f2eee9 0%, #ffffff 100%);
}

.faq__grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-item__question:hover {
  background: rgba(0,0,0,0.02);
}

.faq-item__question i {
  color: var(--primary);
  transition: transform 0.2s;
}

.faq-item__question[aria-expanded="true"] i {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  display: none;
}

.faq-item__answer p {
  margin-bottom: 0;
}

.faq-item.active .faq-item__answer {
  display: block;
}

.order {
  padding: 80px 0;
  background: var(--bg-white);
}

.order__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.order__info h2 {
  text-align: left;
  margin-bottom: 24px;
}

.order__price {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.order__price span {
  font-family: var(--font-heading);
}

.order__price small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.order__includes {
  list-style: none;
  margin-bottom: 32px;
}

.order__includes li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 1.1rem;
}

.order__includes i {
  color: var(--primary);
  width: 20px;
}

.order__guarantee {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius);
}

.order__guarantee img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.order-form {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input:not([type="checkbox"]) {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border 0.2s, box-shadow 0.2s;
  background: white;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44,94,122,0.1);
}

.form-group--checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group--checkbox input {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
}

.form-group--checkbox label {
  margin: 0;
  font-weight: 400;
}

.form-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.footer {
  background: #0d1418;
  color: #e0e6ea;
  padding: 48px 0 24px;
  margin-top: auto;
  font-size: 0.95rem;
}

.footer a {
  color: #cbd5dc;
  transition: color 0.2s;
}

.footer a:hover {
  color: white;
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 40px;
}

.footer__logo .logo span {
  color: white;
}

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__contacts p {
  margin-bottom: 6px;
}

.footer__disclaimer {
  grid-column: span 4;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: #b0bec5;
  text-align: center;
}

.footer__copyright {
  grid-column: span 4;
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: #9aabbb;
}

/* Legal pages styling */
.legal-container {
  max-width: 860px;
  margin: 48px auto;
  padding: 0 24px;
}

.legal-wrapper {
  background: var(--bg-white);
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.legal-wrapper h1 {
  font-size: 2.5rem;
  margin-bottom: 32px;
  text-align: left;
}

.legal-wrapper p {
  margin-bottom: 20px;
  color: var(--text-dark);
  line-height: 1.6;
}

.legal-wrapper b {
  font-weight: 600;
  color: var(--primary-dark);
}

.legal-wrapper a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.legal-wrapper a:hover {
  color: var(--primary-dark);
}

.thanks-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}

.thanks-page__content {
  text-align: center;
  max-width: 600px;
  background: var(--bg-light);
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.thanks-page__content h1 {
  margin-bottom: 20px;
}

.thanks-page__content p {
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.thanks-page__back {
  margin-top: 32px;
}

@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2,1fr);
  }
  .testimonials__grid {
    grid-template-columns: repeat(2,1fr);
  }
  .footer__inner {
    grid-template-columns: repeat(2,1fr);
  }
  .footer__disclaimer,
  .footer__copyright {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  h2 {
    margin-bottom: 1.5rem;
  }
  .header__inner {
    flex-wrap: wrap;
  }
  .nav__list {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 24px;
    box-shadow: 0 20px 30px rgba(0,0,0,0.05);
    gap: 16px;
  }
  .nav__list.active {
    display: flex;
  }
  .nav__toggle {
    display: block;
  }
  .header__notice {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
  .hero__grid,
  .about__grid,
  .order__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero {
    padding: 40px 0 60px;
  }
  .hero__image {
    order: -1;
  }
  .features__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
  .steps {
    flex-direction: column;
  }
  .gallery__thumbs {
    gap: 8px;
  }
  .gallery__thumb {
    width: 60px;
    height: 60px;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer__disclaimer,
  .footer__copyright {
    grid-column: span 1;
  }
  .order-form {
    padding: 28px;
  }
  .legal-wrapper {
    padding: 28px;
  }
  .legal-wrapper h1 {
    font-size: 2rem;
  }
  .thanks-page__content {
    padding: 32px 20px;
  }
}

@media (max-width: 480px) {
  .hero__cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .logo a {
    font-size: 1.2rem;
  }
  .btn {
    padding: 12px 20px;
  }
}