@font-face {
  font-family: "Playfair Display";
  src: url(../fonts/PlayfairDisplay-VariableFont_wght.ttf);
  font-display: swap;
}
:root {
  --color-primary: #1e3a4d;
  --color-accent: #c9a05e;
  --color-bg-light: #f8f5f0;
  --color-text: #2c2c2c;
  --color-text-light: #5e5e5e;
  --color-white: #ffffff;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --border-radius: 8px;
  --section-gap: clamp(40px, 8vw, 64px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.5;
  background-color: var(--color-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

section {
  overflow: hidden;
}

main {
  flex: 1;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 500;
  border-radius: 40px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  font-size: 1rem;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background-color: #16303f;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn--outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn--block {
  width: 100%;
  text-align: center;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.header {
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  background: var(--color-white);
}

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

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--color-primary);
  letter-spacing: 1px;
}

.header__notice {
  font-size: 0.8rem;
  color: var(--color-text-light);
  background: var(--color-bg-light);
  padding: 6px 14px;
  border-radius: 30px;
  margin-left: auto;
}

.nav {
  margin-left: auto;
  margin-right: 24px;
}

.nav__list {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav__list a {
  font-weight: 500;
  transition: color 0.2s;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav__list a:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.nav__toggle-line {
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transition: 0.3s;
}

.hero {
  padding: var(--section-gap) 0;
  background: linear-gradient(145deg, #faf8f5 0%, #ffffff 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero__image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 1/1;
  width: 100%;
}

.collection {
  padding: var(--section-gap) 0;
  background-color: var(--color-white);
}

.collection__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 32px;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 24px 32px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.product-card__image {
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 1/1;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-card:hover .product-card__image img {
  transform: scale(1.03);
}

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.product-card__price {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.craft {
  padding: var(--section-gap) 0;
  background-color: var(--color-bg-light);
}

.craft__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.craft__text {
  margin: 24px 0;
  color: var(--color-text-light);
  font-size: 1.1rem;
}

.craft__list {
  list-style: none;
  margin: 28px 0 32px;
}

.craft__list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.craft__list i {
  color: var(--color-accent);
  font-size: 1.2rem;
}

.gallery-main {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.2s;
  box-shadow: var(--shadow-sm);
}

.gallery-thumb.active {
  border-color: var(--color-accent);
}

.testimonials {
  padding: var(--section-gap) 0;
  background: var(--color-white);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--color-bg-light);
  padding: 28px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.testimonial__text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--color-text);
  line-height: 1.6;
}

.testimonial__author {
  font-weight: 600;
  color: var(--color-primary);
}

.request {
  padding: var(--section-gap) 0;
  background: linear-gradient(135deg, #e9e1d6 0%, #f3ede5 100%);
}

.request__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.request__info p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.request__details {
  margin-top: 32px;
  background: rgba(255,255,255,0.6);
  padding: 24px;
  border-radius: var(--border-radius);
}

.request__details p {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.request__details i {
  color: var(--color-primary);
  width: 20px;
}

.request__form {
  background: var(--color-white);
  padding: 36px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 40px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border 0.2s;
  background: #fdfdfd;
}

.form-group textarea {
  border-radius: 20px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(201,160,94,0.2);
}

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

.form-group--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-group--checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex-shrink: 0;
}

.form-group--checkbox label {
  font-weight: 400;
  color: var(--color-text-light);
  margin-bottom: 0;
  line-height: 1.4;
}

.faq {
  padding: var(--section-gap) 0;
  background: var(--color-white);
}

.faq__grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-bg-light);
  border-radius: 40px;
  padding: 8px 24px;
  margin-bottom: 16px;
}

.faq-item summary {
  font-weight: 600;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--color-accent);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 0 24px;
  color: var(--color-text-light);
}

.footer {
  background: var(--color-primary);
  color: #e0e0e0;
  padding: 48px 0 24px;
  margin-top: auto;
  font-size: 0.95rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
}

.footer__brand {
  margin-bottom: 32px;
}

.footer .logo span {
  color: var(--color-white);
}

.footer__disclaimer {
  max-width: 700px;
  margin-top: 20px;
  color: #b0c4d9;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__contact {
  margin-bottom: 32px;
}

.footer__contact p {
  margin-bottom: 6px;
  color: #cbd8e3;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer__legal a {
  color: #cbd8e3;
  transition: color 0.2s;
  font-weight: 500;
}

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

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
}

.footer__copyright {
  color: #9aafc2;
  font-size: 0.9rem;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--color-accent);
  color: var(--color-primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.legal-page {
  padding: 60px 0;
  word-break: break-word;
  background: var(--color-bg-light);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 40px 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.legal-content h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--color-primary);
  margin-bottom: 32px;
  text-align: center;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin: 32px 0 16px;
  color: var(--color-primary);
}

.legal-content p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--color-text);
}

.legal-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

.legal-content ul {
  margin: 20px 0 20px 30px;
}

.legal-content li {
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .hero__grid,
  .craft__wrapper,
  .request__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .collection__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .header__inner {
    position: relative;
  }

  .nav__toggle {
    display: flex;
    order: 2;
  }

  .nav__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: center;
    gap: 0;
    box-shadow: var(--shadow-md);
    border-radius: 0 0 20px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 10;
  }

  .nav__list.active {
    max-height: 400px;
    padding: 16px 0;
  }

  .nav__list li {
    width: 100%;
    text-align: center;
  }

  .nav__list a {
    display: block;
    padding: 12px;
  }

  .header__notice {
    margin-left: 0;
    order: 3;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  .nav {
    margin-right: 0;
  }
}

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .legal-content {
    padding: 30px 20px;
  }
}