
:root {
  --bg: #F7F4F0;
  --bg-card: #FDFBF8;
  --text: #1A1714;
  --text-secondary: #6B6560;
  --accent: #8C7355;
  --accent-hover: #7A6348;
  --border: #E5E0D8;
  --dark-bg: #1A1714;
  --dark-card: #252220;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --max-w: 1280px;
  --gutter: clamp(20px, 4vw, 64px);
  --section-gap: clamp(80px, 10vw, 140px);
  --radius: 6px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

[data-theme="dark"] {
  --bg: #1C1A18;
  --bg-card: #252220;
  --text: #EDE9E3;
  --text-secondary: #8D8880;
  --accent: #A68B66;
  --accent-hover: #BFA07A;
  --border: #2E2C29;
  --dark-bg: #0F0E0C;
  --dark-card: #1A1714;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

/* ─── Typography ─── */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 500; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.label { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.03em;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--accent); color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid var(--border); color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-dark {
  background: var(--dark-bg); color: #F7F4F0;
}
.btn-dark:hover { background: var(--accent); }
.btn-sm { padding: 10px 22px; font-size: 0.82rem; }
.btn-white { background: #fff; color: var(--dark-bg); }
.btn-white:hover { background: var(--accent); color: #fff; }

/* ─── Header ─── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: all var(--transition);
}
.header.scrolled {
  background: var(--bg); box-shadow: 0 1px 0 var(--border); padding: 12px 0;
}
[data-theme="dark"] .header.scrolled { background: var(--dark-card); }
.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.15em; text-transform: uppercase; }
.logo svg { width: 32px; height: 32px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-size: 0.88rem; font-weight: 400; color: var(--text-secondary); transition: color var(--transition); }
.nav a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.theme-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); transition: all var(--transition);
  color: var(--text-secondary);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.burger { display: none; flex-direction: column; gap: 5px; width: 24px; }
.burger span { display: block; height: 1.5px; background: var(--text); transition: all var(--transition); }

/* ─── Hero ─── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 100px; padding-bottom: 60px;
}
.hero .container { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; }
.hero-content { padding-right: 20px; }
.hero h1 { margin-bottom: 20px; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 36px; max-width: 440px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-markers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.hero-markers li { font-size: 0.85rem; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.hero-markers li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.hero-image {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/5; max-height: 75vh;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Section spacing ─── */
.section { padding: var(--section-gap) 0; }
.section-header { margin-bottom: clamp(40px, 5vw, 64px); }
.section-header .label { margin-bottom: 12px; }
.section-header p { color: var(--text-secondary); max-width: 520px; margin-top: 16px; font-size: 1.02rem; }

/* ─── Categories ─── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto;
  gap: 16px;
}
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; background: var(--bg-card);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-card:hover img { transform: scale(1.04); }
.cat-card .cat-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px; background: linear-gradient(transparent, rgba(26,23,20,.7));
  color: #fff;
}
.cat-card h3 { font-size: 1.25rem; }
.cat-card p { font-size: 0.82rem; opacity: .85; margin-top: 4px; }
.cat-card:nth-child(1) { grid-column: 1 / 3; aspect-ratio: 16/9; }
.cat-card:nth-child(2) { aspect-ratio: 3/4; }
.cat-card:nth-child(3) { aspect-ratio: 3/4; }
.cat-card:nth-child(4) { grid-column: 2 / 4; aspect-ratio: 16/9; }
.cat-card:nth-child(5) { aspect-ratio: 1; }
.cat-card:nth-child(6) { aspect-ratio: 1; }
.cat-card:nth-child(7) { aspect-ratio: 1; }

/* ─── Why Us ─── */
.why-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px,6vw,80px); align-items: start; }
.why-left h2 { margin-bottom: 20px; }
.why-left p { color: var(--text-secondary); }
.why-list { display: flex; flex-direction: column; gap: 0; }
.why-item {
  padding: 28px 0; border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start;
}
.why-item:first-child { border-top: 1px solid var(--border); }
.why-num { font-family: var(--font-heading); font-size: 1.4rem; color: var(--accent); font-weight: 600; }
.why-item h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 500; margin-bottom: 6px; }
.why-item p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* ─── Gallery ─── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.gallery-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: pointer;
}
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-card:hover img { transform: scale(1.03); }
.gallery-overlay {
  position: absolute; inset: 0; background: rgba(26,23,20,.6);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
  opacity: 0; transition: opacity var(--transition); color: #fff;
}
.gallery-card:hover .gallery-overlay { opacity: 1; }
.gallery-overlay .label { color: rgba(255,255,255,.7); margin-bottom: 6px; }
.gallery-overlay h3 { font-size: 1.2rem; margin-bottom: 6px; color: #fff; }
.gallery-overlay p { font-size: 0.82rem; opacity: .85; margin-bottom: 14px; }
.gallery-overlay .btn { align-self: flex-start; }
.gallery-card:nth-child(1) { grid-row: span 2; aspect-ratio: auto; }
.gallery-card:nth-child(1) img { height: 100%; }
.gallery-card:nth-child(2) { aspect-ratio: 4/3; }
.gallery-card:nth-child(3) { aspect-ratio: 4/3; }
.gallery-card:nth-child(4) { aspect-ratio: 4/3; }
.gallery-card:nth-child(5) { grid-column: 2/4; aspect-ratio: 21/9; }
.gallery-cta { text-align: center; margin-top: 40px; }

/* ─── Process ─── */
.process-list { max-width: 720px; margin: 0 auto; }
.process-step {
  display: grid; grid-template-columns: 60px 1fr; gap: 20px;
  padding-bottom: 40px; position: relative;
}
.process-step:not(:last-child)::before {
  content: ''; position: absolute; left: 29px; top: 56px; bottom: 0;
  width: 1px; background: var(--border);
}
.process-num {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600;
  border: 1px solid var(--border); color: var(--accent);
  background: var(--bg); position: relative; z-index: 1;
}
.process-content { padding-top: 14px; }
.process-content h3 { font-family: var(--font-body); font-weight: 500; font-size: 1.05rem; margin-bottom: 6px; }
.process-content p { font-size: 0.9rem; color: var(--text-secondary); }

/* ─── Materials ─── */
.materials-scroll {
  display: flex; gap: 20px; overflow-x: auto; padding-bottom: 16px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
  -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory;
}
.materials-scroll::-webkit-scrollbar { height: 4px; }
.materials-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.mat-card {
  flex: 0 0 220px; scroll-snap-align: start;
  border-radius: var(--radius); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border);
  transition: border-color var(--transition);
}
.mat-card:hover { border-color: var(--accent); }
.mat-swatch { height: 140px; }
.mat-info { padding: 16px; }
.mat-info h3 { font-family: var(--font-body); font-weight: 500; font-size: 0.95rem; margin-bottom: 4px; }
.mat-info p { font-size: 0.8rem; color: var(--text-secondary); }

/* ─── Trust ─── */
.trust-numbers {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding-bottom: 64px; border-bottom: 1px solid var(--border); margin-bottom: 64px;
}
.trust-num { text-align: center; }
.trust-num strong {
  display: block; font-family: var(--font-heading); font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 600; color: var(--accent); line-height: 1;
}
.trust-num span { font-size: 0.88rem; color: var(--text-secondary); display: block; margin-top: 8px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
}
.review-stars { color: var(--accent); font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-card blockquote { font-size: 0.95rem; line-height: 1.7; margin-bottom: 16px; font-style: italic; color: var(--text-secondary); }
.review-author { font-size: 0.85rem; font-weight: 500; }
.review-meta { font-size: 0.78rem; color: var(--text-secondary); }

/* ─── FAQ ─── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; cursor: pointer; width: 100%;
  font-size: 1rem; font-weight: 500; text-align: left; color: var(--text);
  transition: color var(--transition);
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  width: 24px; height: 24px; flex-shrink: 0; position: relative;
  transition: transform var(--transition);
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--text-secondary);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  transition: all var(--transition);
}
.faq-icon::before { width: 14px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 14px; }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding-bottom: 22px; font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; }

/* ─── Final CTA ─── */
.cta-section {
  background: var(--dark-bg); color: #F7F4F0; padding: clamp(60px,8vw,100px) 0;
}
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,80px); align-items: center; }
.cta-left h2 { color: #F7F4F0; margin-bottom: 20px; }
.cta-left p { color: rgba(247,244,240,.6); font-size: 1rem; margin-bottom: 8px; }
.cta-left ul { margin-top: 24px; }
.cta-left li { color: rgba(247,244,240,.7); font-size: 0.9rem; padding: 6px 0; display: flex; align-items: center; gap: 10px; }
.cta-left li::before { content: '✓'; color: var(--accent); font-weight: 600; }
.cta-form { display: flex; flex-direction: column; gap: 14px; }
.cta-form input, .cta-form textarea {
  padding: 14px 18px; border-radius: var(--radius);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  color: #F7F4F0; font-family: var(--font-body); font-size: 0.92rem;
  transition: border-color var(--transition);
}
.cta-form input::placeholder, .cta-form textarea::placeholder { color: rgba(247,244,240,.35); }
.cta-form input:focus, .cta-form textarea:focus { outline: none; border-color: var(--accent); }
.cta-form textarea { resize: vertical; min-height: 100px; }
.cta-form .btn { align-self: flex-start; width: 100%; justify-content: center; }
.form-note { font-size: 0.78rem; color: rgba(247,244,240,.35); }

/* ─── Footer ─── */
.footer { background: var(--dark-bg); border-top: 1px solid rgba(255,255,255,.06); padding: 48px 0 32px; color: rgba(247,244,240,.6); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #F7F4F0; font-family: var(--font-body); font-weight: 500; font-size: 0.9rem; margin-bottom: 16px; }
.footer-col p, .footer-col a { font-size: 0.85rem; line-height: 1.8; display: block; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 24px; display: flex; justify-content: space-between; font-size: 0.8rem; }

/* ─── Animations ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ─── Decorative Shapes ─── */
.deco-shapes { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.deco-shape { position: absolute; }
.deco-shape-1 { width: 320px; height: 320px; top: 5%; right: -60px; animation: decoFloat 20s ease-in-out infinite; }
.deco-shape-2 { width: 180px; height: 180px; top: 45%; left: -40px; animation: decoFloat 25s ease-in-out infinite reverse; }
.deco-shape-3 { width: 120px; height: 120px; bottom: 15%; right: 10%; animation: decoFloat 18s ease-in-out infinite 3s; }
@keyframes decoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(5deg); }
  50% { transform: translateY(10px) rotate(-3deg); }
  75% { transform: translateY(-15px) rotate(2deg); }
}

/* ─── Hero Badge ─── */
.hero-image-badge {
  position: absolute; bottom: 24px; left: 24px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  padding: 10px 18px; border-radius: 40px;
  font-size: 0.82rem; font-weight: 600; color: var(--dark-bg);
  box-shadow: 0 4px 24px rgba(0,0,0,.12);
  animation: badgePulse 3s ease-in-out infinite;
}
.hero-image-badge svg { color: var(--accent); flex-shrink: 0; }
[data-theme="dark"] .hero-image-badge { background: rgba(37,34,32,.9); color: #EDE9E3; }
@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* ─── Grain texture overlay ─── */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 200px;
}

/* ─── Section divider graphic ─── */
.section { position: relative; }
.section::before {
  content: ''; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%); width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}

/* ─── Mobile nav ─── */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--bg); flex-direction: column; align-items: center;
  justify-content: center; gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1.4rem; font-family: var(--font-heading); }
.mobile-close { position: absolute; top: 20px; right: var(--gutter); font-size: 1.8rem; color: var(--text); }

/* ─── Sticky mobile CTA ─── */
.mobile-sticky {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  padding: 12px var(--gutter); background: var(--bg);
  border-top: 1px solid var(--border); text-align: center;
}
.mobile-sticky .btn { width: 100%; justify-content: center; }

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: flex; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { max-height: 50vh; aspect-ratio: 4/3; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .cat-card:nth-child(1) { grid-column: 1 / 3; }
  .cat-card:nth-child(4) { grid-column: 1 / 3; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-card:nth-child(1) { grid-row: span 1; aspect-ratio: 4/3; }
  .gallery-card:nth-child(5) { grid-column: 1/3; }
  .trust-numbers { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobile-sticky { display: block; }
}
@media (max-width: 600px) {
  .categories-grid { grid-template-columns: 1fr; }
  .cat-card:nth-child(1), .cat-card:nth-child(4) { grid-column: auto; }
  .cat-card { aspect-ratio: 4/3 !important; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card:nth-child(5) { grid-column: auto; }
  .hero-markers { grid-template-columns: 1fr; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .trust-numbers { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
