/* Precious Stones Monuments and Restoration - shared stylesheet */
/* Design tokens, shared header/nav/footer chrome, and site-wide motion. */
/* Page subagents append page-scoped rules below under a banner reading: page: <slug> */

:root {
  --gold: #b5904f;
  --gold-dark: #9c7a3d;
  --gold-soft: #c9a86a;
  --dark: #0d0d0d;
  --dark-2: #111111;
  --near-black: #1a1a1a;
  --text: #333333;
  --muted: #666666;
  --white: #ffffff;
  --light: #f5f3f0;
  --light-gray: #efece7;
  --border: #e4e0d8;
  --field: #e6d3b0;
  --field-border: #d8c299;

  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --maxw: 1200px;
  --radius: 6px;
  --shadow: 0 8px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 18px 50px rgba(0,0,0,.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--near-black);
  margin: 0 0 .5em;
  line-height: 1.2;
}

p { margin: 0 0 1em; }

a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--gold); }

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

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

.eyebrow {
  font-family: var(--font-body);
  text-transform: capitalize;
  letter-spacing: .06em;
  color: var(--gold);
  font-weight: 700;
  font-size: .95rem;
  margin: 0 0 .5rem;
}

.section { padding: 80px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid var(--gold);
  background: var(--gold);
  color: #1c1408;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(181,144,79,.35); }
.btn .arrow { font-size: 1em; line-height: 1; }
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: #1c1408; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: #1c1408; padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; }

.topbar { background: var(--gold); color: #221a0c; font-size: .88rem; }
.topbar-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.topbar-right { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; color: #221a0c; font-weight: 500; }
.topbar-item:hover { color: #4a3a18; }
.topbar-item svg { width: 16px; height: 16px; fill: currentColor; flex: none; }

.navbar { background: #fff; border-bottom: 1px solid var(--border); }
.navbar-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 71px; height: 74px; object-fit: cover; }

.social { display: flex; align-items: center; gap: 10px; }
.social a {
  width: 34px; height: 34px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .2s ease, filter .2s ease;
}
.social a:hover { transform: translateY(-2px); filter: brightness(1.08); }
.social svg { width: 18px; height: 18px; }
.soc-google { background: #4285F4; }
.soc-ig { background: #E1306C; }
.soc-fb { background: #1877F2; }
.soc-tw { background: #55ACEE; }

.mainnav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.mainnav a {
  font-family: var(--font-body);
  color: var(--near-black); font-weight: 600; font-size: .98rem;
  padding: 6px 0; position: relative;
}
.mainnav a:hover { color: var(--gold-dark); }
.mainnav a.active { color: var(--gold-dark); }
.mainnav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold);
}
.nav-cta { flex: none; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--near-black); margin: 5px 0; transition: .3s; }

/* ---------- Inner-page hero band ---------- */
.page-hero {
  position: relative; min-height: 400px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.page-hero .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); z-index: 1; }
.page-hero h1 {
  position: relative; z-index: 2; color: #fff; font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 0; text-shadow: 0 2px 14px rgba(0,0,0,.4);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--gold); color: #241b0d; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 60px 24px 40px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: start;
}
.footer-col h3 { font-size: 1.5rem; color: #1c1408; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0 0 22px; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #2c220f; font-weight: 500; }
.footer-col ul a:hover { color: #fff; }

.footer-brand { text-align: center; }
.footer-brand img { width: 145px; height: 151px; object-fit: cover; margin: 0 auto 18px; }
.footer-brand p { color: #2c220f; max-width: 320px; margin: 0 auto; }

.footer-contact { text-align: right; }
.footer-contact .fc-row {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-bottom: 20px;
}
.footer-contact .fc-text { line-height: 1.35; }
.footer-contact .fc-text b { display: block; font-weight: 700; color: #1c1408; }
.footer-contact .fc-text a { color: #2c220f; }
.footer-contact .fc-text a:hover { color: #fff; }
.footer-contact .fc-ico {
  width: 34px; height: 34px; border-radius: 50%; background: var(--dark);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.footer-contact .fc-ico svg { width: 16px; height: 16px; fill: var(--gold); }

.footer-bottom {
  background: var(--dark); color: #cbbfa8; text-align: center;
  padding: 18px 24px; font-size: .9rem;
}

/* ---------- Motion (plain CSS; always ends visible) ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.anim-up { animation: fadeUp .8s ease both; }
.anim-in { animation: fadeIn 1s ease both; }
.anim-zoom { animation: zoomIn .8s ease both; }
.d1 { animation-delay: .12s; }
.d2 { animation-delay: .24s; }
.d3 { animation-delay: .36s; }
.d4 { animation-delay: .48s; }
.d5 { animation-delay: .6s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive chrome ---------- */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-contact { text-align: center; }
  .footer-contact .fc-row { justify-content: center; }
  .social--nav { display: none; }
  .mainnav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; gap: 0; padding: 8px 0; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .mainnav.open { display: flex; }
  .mainnav a { padding: 12px 24px; width: 100%; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta { display: none; }
  .navbar-inner { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .topbar-inner { justify-content: center; text-align: center; }
  .section { padding: 56px 0; }
  .brand img { width: 58px; height: 60px; }
}

/* page: index */
.home-hero {
  position: relative;
  background: var(--dark);
  min-height: max(742px, calc(100vh - 132px));
  min-height: max(742px, calc(100svh - 132px));
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  padding: 90px 0;
}
.home-hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: .3; z-index: 0;
}
.home-hero__content { position: relative; z-index: 2; max-width: 820px; }
.home-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.8vw, 3.6rem); margin-bottom: 22px; }
.home-hero p { color: rgba(255,255,255,.9); font-size: 1.05rem; margin: 0 auto 30px; max-width: 640px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.section-head.center { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 18px; }
.about-copy p { color: var(--muted); }
.about-copy .btn { margin-top: 10px; }
.about-collage { position: relative; width: 100%; max-width: 542px; aspect-ratio: 542 / 570; }
.about-collage img { position: absolute; width: 63.28%; height: 59.47%; object-fit: cover; }
.collage-a { left: 0; top: 0; z-index: 2; }
.collage-b { left: 36.72%; top: 40.53%; z-index: 3; }
.collage-frame { position: absolute; width: 45.02%; height: 34.56%; border: 10px solid rgba(181,144,79,.5); z-index: 1; }
.collage-frame--a { left: 9.04%; top: 56.32%; }
.collage-frame--b { left: 50.74%; top: 10.18%; }

/* Services */
.services-section { position: relative; background: #000; color: #fff; overflow: hidden; }
.services-section::before { content: ""; position: absolute; inset: 0;
  background: url("orig/09.jpg") center/cover no-repeat; opacity: .14; }
.services-section > .container { position: relative; z-index: 1; }
.services-section .section-head h2 { color: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-media { position: relative; }
.svc-media > img { width: 100%; height: 210px; object-fit: cover; display: block; }
.svc-tab {
  position: absolute; top: 0; right: 0; height: 100%; width: 34px;
  background: var(--gold); color: #1c1408; font-weight: 700; font-size: .8rem;
  writing-mode: vertical-rl; text-orientation: mixed;
  display: flex; align-items: center; justify-content: center; letter-spacing: .04em;
}
.svc-tab:hover { background: var(--gold-dark); color: #fff; }
.svc-arrow { position: absolute; top: 62%; right: 42px; width: 30px; height: 30px;
  background: var(--gold); border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.svc-arrow img { width: 14px; height: auto; filter: brightness(0); }
.svc-icon { position: absolute; left: 16px; bottom: -22px; width: 54px; height: 54px;
  background: var(--gold); border-radius: 4px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.svc-icon img { width: 28px; height: 28px; filter: brightness(0); }
.svc-body { padding: 34px 22px 26px; }
.svc-body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.svc-body p { color: var(--muted); margin: 0; }

/* Why Choose Us */
.why-lead { color: var(--muted); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why-card { background: var(--gold); color: #1c1408; border-radius: 4px; padding: 34px 26px 30px;
  text-align: center; position: relative; transition: transform .3s ease; }
.why-card:hover { transform: translateY(-6px); }
.why-num { font-family: var(--font-head); font-weight: 800; font-size: 3rem; display: block; color: #1c1408; }
.why-arrow { display: block; margin: 6px auto 14px; }
.why-arrow img { width: 18px; height: auto; margin: 0 auto; filter: brightness(0); }
.why-card h3 { font-size: 1.2rem; margin: 0; color: #1c1408; }

/* Testimonials */
.testi-section { background: #000; color: #fff; position: relative; overflow: hidden; }
.testi-section .section-head h2 { color: #fff; }
.testi-section::before { content: ""; position: absolute; inset: 0;
  background: url("orig/25.jpg") center/cover no-repeat; opacity: .8; }
.testi-section .container { position: relative; z-index: 1; }
.testi-widget { position: relative; max-width: 980px; margin: 0 auto; min-height: 179px; }
.testi-widget iframe { display: block; border: 0; }

/* Gallery */
.gallery-section { background: #f2f2f2; }
.carousel { position: relative; margin: 0 50px; }
.carousel-track { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track img { flex: none; height: 490px; width: auto; scroll-snap-align: start; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px;
  border: 0; background: var(--gold); opacity: .9; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center; transition: opacity .2s ease; }
.carousel-arrow:hover { opacity: 1; }
.carousel-arrow[hidden] { display: none; }
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-prev { left: 23px; }
.carousel-next { right: 23px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 26px; }
.ci-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.ci-ico { width: 48px; height: 48px; background: var(--gold); border-radius: 4px; flex: none;
  display: flex; align-items: center; justify-content: center; }
.ci-ico svg { width: 22px; height: 22px; fill: #1c1408; }
.ci-text { font-size: 1.02rem; }
.ci-text b { color: var(--near-black); }
.ci-text a { color: var(--text); }
.ci-text a:hover { color: var(--gold-dark); }
.ci-map { margin-top: 24px; max-width: 411px; height: 136px; }
.ci-map iframe { display: block; width: 100%; height: 100%; border: 0; }

.contact-form { background: transparent; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; display: flex; flex-direction: column; }
.field label { font-weight: 700; color: var(--near-black); margin-bottom: 8px; font-size: .95rem; }
.field label span { color: #b00; }
.field input, .field textarea {
  background: var(--field); border: 1px solid var(--field-border); border-radius: 2px;
  padding: 12px 14px; font-family: var(--font-body); font-size: 1rem; color: #3a2e17; width: 100%;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); background: #efe0c4; }
.field textarea { resize: vertical; }
.hp-wrap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-submit { width: 100%; justify-content: center; margin-top: 6px; border-radius: 2px; }

@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-collage { margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .carousel { margin: 0 16px; }
  .carousel-track img { height: 340px; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .home-hero { min-height: 520px; }
}

/* page: our-gallery */
.gallery-page { padding: 90px 30px 80px; }
.gallery-page > .container { max-width: none; padding: 0; }
.gallery-page .gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.gallery-page .gallery-grid > img,
.gallery-page .gal-video {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.gal-video { position: relative; background: #000; overflow: hidden; }
.gal-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-video .gal-play { position: absolute; inset: 0; border: 0; padding: 0; background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center; }
.gal-video .gal-play svg { width: 54px; height: 54px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.gal-video.playing .gal-play { display: none; }
@media (max-width: 1100px) { .gallery-page .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .gallery-page .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-page { padding: 56px 16px; } .gallery-page .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* page: contact-us */
.contact-map { margin-top: 30px; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); }
.contact-map iframe { display: block; width: 100%; }
