:root {
  --beige: #f4ede5;
  --beige-2: #eee3d9;
  --taupe: #7e6d68;
  --coffee: #4a3c36;
  --gold: #c8af97;
  --shadow: 0 28px 70px rgba(74, 60, 54, 0.18);
  --radius: 28px;
  --dur: 0.85s;
  --ease: cubic-bezier(0.4, 0.12, 0.12, 1);
  --content: 1180px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--coffee);
  background: linear-gradient(180deg, #f9f4ee 0%, var(--beige) 50%, #f3e8dc 100%);
  scroll-behavior: smooth;
}

.page {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: "Playfair Display", "Times New Roman", serif; font-weight: 600; letter-spacing: 0.4px; }
a { color: inherit; text-decoration: none; }

.templates-back { position: fixed; top: 24px; left: 24px; z-index: 10; }
.templates-back a { background: rgba(244, 237, 229, 0.95); padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(122, 109, 104, 0.25); font-size: 14px; }

.hero { padding: 80px 0 70px; }
.hero-grid { display: grid; gap: 36px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; }

.nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 46px; gap: 16px; }
.logo { font-family: "Playfair Display", serif; letter-spacing: 3px; font-size: 18px; padding: 0; border-radius: 0; border: none; background: transparent; }
.nav-links { display: flex; gap: 18px; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.cta { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--coffee); font-size: 14px; }

.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; color: var(--taupe); }
.lead { font-size: 18px; line-height: 1.6; color: var(--taupe); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

.button { padding: 12px 20px; border-radius: 999px; background: var(--coffee); color: #fffaf6; font-size: 14px; letter-spacing: 0.5px; }
.button.ghost { background: transparent; color: var(--coffee); border: 1px solid rgba(74, 60, 54, 0.35); }

.hero-image { position: relative; min-height: 460px; border-radius: 36px; background: url("../assets/hero.png") top center/cover no-repeat; box-shadow: var(--shadow); overflow: hidden; }
.hero-image .overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(74, 60, 54, 0.1), rgba(74, 60, 54, 0.55)); }

.section { padding: 70px 0; }
.section-head h2 { margin: 0 0 8px; }
.section-head p { margin: 0; color: var(--taupe); }

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(122, 109, 104, 0), rgba(122, 109, 104, 0.35), rgba(122, 109, 104, 0));
  margin: 0 auto;
  max-width: var(--content);
}

.service-cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 26px; }
.service-cards .card { background: #fff; border-radius: 20px; padding: 22px; border: 1px solid rgba(122, 109, 104, 0.18); box-shadow: 0 20px 50px rgba(74, 60, 54, 0.08); }
.service-icon { width: 22px; height: 22px; color: var(--taupe); margin-bottom: 12px; }

.split { background: var(--beige-2); }
.split-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: center; }
.split-image { border-radius: 28px; overflow: hidden; border: 1px solid rgba(122, 109, 104, 0.2); box-shadow: var(--shadow); max-height: 340px; }
.split-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.chips span { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(122, 109, 104, 0.25); font-size: 12px; color: var(--taupe); }

.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 24px; }
.tile { border-radius: 20px; overflow: hidden; border: 1px solid rgba(122, 109, 104, 0.2); box-shadow: 0 18px 40px rgba(74, 60, 54, 0.08); }
.tile img { width: 100%; height: 220px; object-fit: cover; display: block; }

.about-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
.info-panel { background: #fff; border-radius: 20px; padding: 22px; border: 1px solid rgba(122, 109, 104, 0.18); display: grid; gap: 14px; }
.info-panel span { text-transform: uppercase; letter-spacing: 2px; font-size: 11px; color: var(--taupe); display: block; }
.info-panel strong { display: block; margin-top: 4px; }

.contact { background: #1c1512; }
.contact h2,
.contact p { color: #f8f1ea; }
.contact .button { background: var(--coffee); color: #fffaf6; }
.contact .button.ghost { color: var(--coffee); border-color: rgba(74, 60, 54, 0.35); }
.contact-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.contact-card { background: linear-gradient(135deg, #fff 0%, #f7efe7 100%); border-radius: 24px; padding: 32px; border: 1px solid rgba(122, 109, 104, 0.2); box-shadow: 0 22px 50px rgba(74, 60, 54, 0.12); max-width: 520px; }
.contact .contact-card h2,
.contact .contact-card p { color: var(--coffee); }

.footer { text-align: center; padding: 40px 24px 60px; font-size: 13px; color: var(--taupe); }

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

  .hero-image {
    min-height: 360px;
  }

  .nav-links {
    display: none;
  }

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

@media (max-width: 640px) {
  .hero { padding: 64px 0 50px; }
  .section { padding: 56px 0; }
  .nav { margin-bottom: 28px; }
  .logo { font-size: 16px; }
  h1 { font-size: 30px; line-height: 1.15; }
  h2 { font-size: 24px; }
  .lead { font-size: 16px; }
  .hero-image { min-height: 300px; border-radius: 24px; }
  .button, .button.ghost { width: 100%; justify-content: center; }
  .hero-actions, .cta-row { gap: 10px; }
  .service-cards, .gallery, .contact-grid { grid-template-columns: 1fr; }
  .tile img { height: 200px; }
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.show { opacity: 1; transform: translateY(0); }
