:root {
  --bg: #fffdfb;
  --cream: #faf7f5;
  --champagne: #e6d3b3;
  --blush: #f8d6e1;
  --ink: #1a1a1a;
  --muted: #6a6a6a;
  --white: #ffffff;
  --border: rgba(26, 26, 26, 0.08);
  --shadow: 0 20px 50px rgba(26, 26, 26, 0.08);
  --radius: 28px;
  --container: 1280px;
  --header: 80px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(248, 214, 225, 0.35), transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(230, 211, 179, 0.28), transparent 28%),
    linear-gradient(180deg, #fffdfb 0%, #faf7f5 100%);
  min-height: 100vh;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.font-display {
  font-family: var(--font-display);
}

.luxury-label {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
  font-weight: 600;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.9rem;
}

.glass-nav {
  backdrop-filter: blur(16px);
  background: rgba(255, 253, 251, 0.78);
  border-bottom: 1px solid var(--border);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  white-space: nowrap;
}

.logo span {
  font-size: 0.95rem;
  font-weight: 400;
  margin-left: 0.25rem;
  opacity: 0.75;
}

.nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}

.nav a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.header-cta {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-ink {
  background: var(--ink);
  color: var(--white);
}

.btn-ink:hover {
  background: #000;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(230, 211, 179, 0.7);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26, 26, 26, 0.72), rgba(26, 26, 26, 0.35)),
    radial-gradient(circle at 70% 40%, rgba(248, 214, 225, 0.25), transparent 40%),
    linear-gradient(160deg, #2a2a2a, #4a4038 45%, #1a1a1a);
  background-size: cover;
  transform: scale(1.04);
  animation: slow-zoom 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 45%),
    radial-gradient(circle at center, transparent 35%, rgba(0, 0, 0, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4.5rem;
  max-width: 820px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.92;
  margin: 0;
  font-weight: 500;
}

.hero p.lead {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.section {
  padding: 6rem 0;
}

.section-head {
  max-width: 42rem;
  margin-bottom: 3rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.98;
  margin: 0.75rem 0 0;
  font-weight: 500;
}

.section p,
.page-hero p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.page-hero {
  padding: 4.5rem 0 2rem;
}

.grid-2 {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.soft-panel {
  background: rgba(250, 247, 245, 0.85);
  border: 1px solid var(--border);
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

.soft-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(248, 214, 225, 0.35), transparent 45%),
    linear-gradient(320deg, rgba(230, 211, 179, 0.4), transparent 40%),
    #eee8e2;
}

.feature-grid,
.cards-grid,
.faq-list,
.form-grid {
  display: grid;
  gap: 1.25rem;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card,
.catalog-card,
.review-card,
.work-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.feature-card,
.review-card,
.work-card,
.faq-item,
.form-card {
  border-radius: var(--radius);
  padding: 1.75rem;
}

.feature-card .num,
.work-card .num {
  color: var(--champagne);
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
}

.feature-card h3,
.catalog-card h3,
.work-card h3,
.review-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0.7rem 0 0.5rem;
  font-weight: 500;
  line-height: 1.1;
}

.cards-grid {
  grid-template-columns: repeat(3, 1fr);
}

.catalog-card {
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.catalog-card:hover {
  transform: translateY(-4px);
}

.catalog-card .thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #f3ebe4, #e8ddd2);
  overflow: hidden;
}

.catalog-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.catalog-card:hover .thumb img {
  transform: scale(1.05);
}

.catalog-card .body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.price {
  margin-top: auto;
  font-weight: 700;
  font-size: 1.05rem;
}

.band {
  background: rgba(250, 247, 245, 0.7);
}

.cta-band {
  text-align: center;
  padding: 5rem 0;
}

.cta-band .actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.form-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-grid {
  grid-template-columns: 1fr 1fr;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.45rem;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.faq-item {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 1rem 0 0;
}

.empty-state {
  padding: 3rem;
  text-align: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(26, 26, 26, 0.15);
  color: var(--muted);
}

.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-logo {
  margin: 0 0 0.75rem;
}

.footer-title {
  font-weight: 700;
  margin: 0 0 1rem;
}

.site-footer a {
  display: block;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.site-footer a:hover {
  color: var(--ink);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes slow-zoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

/* Admin */
.admin-body {
  background: var(--cream);
  min-height: 100vh;
}

.admin-wrap {
  width: min(100% - 2rem, 1100px);
  margin: 2rem auto 3rem;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.admin-table img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  background: #eee;
}

.admin-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
}

.btn-danger {
  background: #8b2e2e;
  color: #fff;
}

.alert {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  margin-bottom: 1rem;
}

.alert-success {
  background: #e8f6ec;
  color: #1f5a32;
}

.alert-error {
  background: #fdeceb;
  color: #8b2e2e;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.login-card {
  width: min(100%, 420px);
}

.stack {
  display: grid;
  gap: 1rem;
}

@media (max-width: 980px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: rgba(255, 253, 251, 0.96);
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border);
  }

  .nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .grid-2,
  .feature-grid,
  .cards-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 4rem;
  }
}
