:root {
  --bg: #faf8f5;
  --bg-alt: #f2ede6;
  --surface: #ffffff;
  --text: #2b2620;
  --text-soft: #6b6258;
  --accent: #9a7b4f;
  --accent-dark: #7c6240;
  --line: #e6ded3;
  --shadow: 0 18px 50px -20px rgba(60, 45, 25, 0.25);
  --radius: 16px;
  --maxw: 1180px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, system-ui, sans-serif;
}

[data-theme="dark"] {
  --bg: #15120e;
  --bg-alt: #1d1813;
  --surface: #221c16;
  --text: #f3ece1;
  --text-soft: #b6a890;
  --accent: #c7a474;
  --accent-dark: #e0bd8f;
  --line: #342a20;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s, color 0.4s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
em { font-style: italic; color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 500; cursor: pointer;
  border: none; border-radius: 999px; transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-align: center; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px -8px var(--accent); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-light { background: #fff; color: var(--accent-dark); }
.btn-light:hover { background: #f5f0e8; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 30px -18px rgba(0,0,0,0.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem; font-weight: 700;
}
.brand-name { font-size: 1.2rem; letter-spacing: -0.3px; }
.brand-accent { color: var(--accent); }
.nav-desktop { display: flex; gap: 30px; }
.nav-desktop a { font-size: 0.95rem; color: var(--text-soft); transition: color 0.2s; }
.nav-desktop a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center;
  transition: border-color 0.2s;
}
.theme-toggle:hover { border-color: var(--accent); }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }
.nav-mobile {
  display: none; flex-direction: column; padding: 12px 24px 20px;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.nav-mobile a { padding: 12px 0; color: var(--text-soft); border-bottom: 1px solid var(--line); }
.nav-mobile.open { display: flex; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% 10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
    var(--bg);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?w=1600&q=80");
  background-size: cover; background-position: center; opacity: 0.12; mix-blend-mode: multiply;
}
[data-theme="dark"] .hero-bg::after { mix-blend-mode: screen; opacity: 0.06; }
.hero-inner { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 60px; }
.hero-content { max-width: 680px; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.08; letter-spacing: -0.5px; margin-bottom: 22px;
}
.lead { font-size: 1.1rem; color: var(--text-soft); max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--serif); font-size: 2rem; color: var(--accent); }
.hero-stats span { font-size: 0.85rem; color: var(--text-soft); }
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  color: var(--text-soft); animation: bob 2s infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* Sections */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.15; margin-top: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* About */
.about-media .img-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 8px solid var(--surface); }
.about-media img { width: 100%; height: 480px; object-fit: cover; }
.about-text h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.18; margin: 14px 0 18px; }
.about-text p { color: var(--text-soft); margin-bottom: 22px; }
.check-list { list-style: none; display: grid; gap: 12px; margin-bottom: 26px; }
.check-list li { display: flex; align-items: center; gap: 12px; color: var(--text); }
.check-list svg { color: var(--accent); flex-shrink: 0; }
.about-location { display: flex; align-items: center; gap: 10px; color: var(--accent-dark); font-weight: 500; }

/* Services */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--accent); }
.service-icon {
  width: 58px; height: 58px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent); display: grid; place-items: center; margin-bottom: 18px;
}
.service-card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 10px; }
.service-card p { color: var(--text-soft); font-size: 0.95rem; }

/* Catalog */
.filters { display: flex; gap: 10px; justify-content: center; margin-bottom: 44px; flex-wrap: wrap; }
.chip {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: var(--text-soft); cursor: pointer; font-size: 0.9rem; transition: 0.2s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.catalog-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.catalog-item.hide { display: none; }
.catalog-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.catalog-img { height: 230px; overflow: hidden; background: var(--bg-alt); }
.catalog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.catalog-item:hover .catalog-img img { transform: scale(1.06); }
.catalog-body { padding: 20px 22px 24px; }
.catalog-body h4 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-bottom: 6px; }
.catalog-body p { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 12px; }
.tag { font-size: 0.78rem; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 4px 12px; border-radius: 999px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 320px; object-fit: cover; transition: transform 0.6s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 18px 22px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65)); color: #fff; font-size: 0.95rem; font-weight: 500;
}

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonials blockquote {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  position: relative;
}
.testimonials blockquote p { font-family: var(--serif); font-size: 1.25rem; line-height: 1.5; margin-bottom: 18px; }
.testimonials footer { display: flex; flex-direction: column; }
.testimonials footer strong { color: var(--accent); }
.testimonials footer span { font-size: 0.85rem; color: var(--text-soft); }

/* CTA band */
.cta-band { background: var(--accent); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; }
.cta-inner p { opacity: 0.9; margin-top: 6px; }

/* Contact */
.contact-info h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; line-height: 1.18; margin: 14px 0 24px; }
.contact-list { list-style: none; display: grid; gap: 18px; margin-bottom: 26px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-list strong { display: block; font-size: 0.95rem; }
.contact-list span { color: var(--text-soft); font-size: 0.92rem; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.contact-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 7px; color: var(--text-soft); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 0.95rem; transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; }
.contact-form .btn { width: 100%; justify-content: center; }
.form-note { font-size: 0.82rem; color: var(--text-soft); margin-top: 12px; text-align: center; }

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 60px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand { max-width: 320px; }
.footer-brand p { color: var(--text-soft); font-size: 0.92rem; margin-top: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-soft); font-size: 0.92rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-social a { color: var(--accent); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); transition: 0.2s; }
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--text-soft); }

/* Floating WA */
.floating-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(37,211,102,0.5);
  transition: transform 0.25s;
}
.floating-wa:hover { transform: scale(1.08); }
.wa-tooltip {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%);
  background: var(--surface); color: var(--text); font-size: 0.82rem; padding: 7px 14px; border-radius: 10px;
  white-space: nowrap; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.floating-wa:hover .wa-tooltip { opacity: 1; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s, transform 0.7s; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .about-media { order: -1; }
  .gallery { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards-4, .catalog-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .hero-stats { gap: 26px; }
  .hero-stats strong { font-size: 1.6rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
