/*
Theme Name: SRJ Jewellers
Theme URI: https://srjjewellers.com/
Author: SRJ Jewellers
Author URI: https://srjjewellers.com/
Description: Luxury gold jewellery WordPress theme for SRJ Jewellers. Pure Gold. Timeless Design. Features a heritage hero, curated collections grid, today's gold rate widget, heritage story page, and boutique contact page. BIS hallmarked 22K & 24K branding throughout.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: srj-jewellers
Tags: luxury, jewellery, gold, hallmark, ecommerce-ready, custom-menu, custom-logo, featured-images, threaded-comments
*/

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  --color-bg: #FBF8F1;          /* Cream / Ivory */
  --color-bg-alt: #FDFBF7;      /* Lighter cream */
  --color-fg: #1A1A1A;          /* Deep charcoal */
  --color-muted: #666666;       /* Muted text */
  --color-muted-bg: #F0EBDF;    /* Soft beige */
  --color-primary: #B8902A;     /* Deep gold */
  --color-primary-light: #D4AF55;
  --color-primary-foreground: #FFFFFF;
  --color-border: #E5DCC4;      /* Soft gold border */
  --color-border-soft: rgba(184, 144, 42, 0.1);
  --color-border-medium: rgba(184, 144, 42, 0.2);
  --color-white: #FFFFFF;

  --font-serif: 'Cardo', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-max: 1280px;
  --container-narrow: 1024px;
  --container-tight: 768px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-fg);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--color-primary); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background-color: rgba(184, 144, 42, 0.2); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.2;
}
p { margin: 0; }

/* ============================================
   UTILITIES
   ============================================ */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 1.5rem; }
.container-tight { max-width: var(--container-tight); margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.2em; }
.tracking-extra { letter-spacing: 0.3em; }
.font-serif { font-family: var(--font-serif); }
.text-gold { color: var(--color-primary); }
.text-muted { color: var(--color-muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.gold-divider {
  height: 1px; width: 100%;
  background: linear-gradient(to right, transparent, rgba(184, 144, 42, 0.4), transparent);
}
.gold-divider.w-24 { max-width: 6rem; margin: 0 auto; }
.gold-divider.w-half { max-width: 50%; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.4s ease;
  text-align: center;
}
.btn-primary { background: var(--color-primary); color: var(--color-primary-foreground); }
.btn-primary:hover { background: var(--color-bg); color: var(--color-fg); }
.btn-dark { background: var(--color-fg); color: var(--color-bg); }
.btn-dark:hover { background: var(--color-primary); color: white; }
.btn-outline { border: 1px solid var(--color-fg); color: var(--color-fg); background: transparent; }
.btn-outline:hover { background: var(--color-fg); color: var(--color-bg); }
.btn-outline-gold { border: 1px solid var(--color-primary); color: var(--color-primary); background: transparent; padding: 0.6rem 1.5rem; }
.btn-outline-gold:hover { background: var(--color-primary); color: white; }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  background: var(--color-fg);
  color: var(--color-bg);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.top-bar-left, .top-bar-right { display: flex; gap: 1rem; align-items: center; }
.top-bar-item { display: inline-flex; align-items: center; gap: 0.35rem; }
.icon-inline { width: 12px; height: 12px; flex-shrink: 0; }
@media (min-width: 768px) { .top-bar { display: flex; } }

/* ============================================
   SITE HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: var(--color-bg);
  padding: 1.5rem 0;
  transition: all 0.5s ease;
}
.site-header.is-scrolled {
  background: rgba(251, 248, 241, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border-soft);
  padding: 1rem 0;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; max-width: var(--container-max); margin: 0 auto;
}
.site-logo {
  flex: 1; text-align: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-fg);
}
.site-logo a { color: inherit; }
.menu-toggle {
  background: none; border: none; padding: 0;
  color: var(--color-fg); display: block;
}
.menu-toggle svg { width: 28px; height: 28px; }
.header-spacer { width: 28px; }

/* Desktop nav */
.main-nav { display: none; align-items: center; gap: 2rem; }
.main-nav a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-muted);
  transition: color 0.3s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--color-primary); }

@media (min-width: 768px) {
  .menu-toggle, .header-spacer { display: none; }
  .site-logo { flex: 0 0 auto; text-align: left; font-size: 1.875rem; }
  .main-nav { display: flex; }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--color-bg);
  display: none;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu.is-open { display: flex; opacity: 1; }
.mobile-menu-close {
  align-self: flex-end; padding: 1.5rem;
}
.mobile-menu-close svg { width: 32px; height: 32px; color: var(--color-fg); }
.mobile-menu-list {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2rem; padding-bottom: 5rem;
  list-style: none; margin: 0;
}
.mobile-menu-list a {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-fg);
}
.mobile-menu-list a:hover { color: var(--color-primary); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-fg);
  color: rgba(251, 248, 241, 0.8);
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--color-border-medium);
}
@media (min-width: 768px) {
  .site-footer { padding: 6rem 3rem; }
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
  max-width: var(--container-narrow); margin: 0 auto;
  text-align: center;
}
.footer-col h2, .footer-col h3 {
  font-family: var(--font-serif);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-bg);
  margin-bottom: 1.5rem;
}
.footer-col h2 { font-size: 1.5rem; }
.footer-col h3 { font-size: 1.125rem; color: var(--color-primary-light); letter-spacing: 0.15em; }
.footer-col p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 0.4rem; }
.footer-col p.spacer { margin-top: 1rem; }
.footer-bottom {
  max-width: var(--container-narrow); margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  font-size: 0.7rem; opacity: 0.6;
  text-transform: uppercase; letter-spacing: 0.15em;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); text-align: left; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50;
  width: 56px; height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); color: white; }
.whatsapp-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; opacity: 0.4;
  animation: ping 2s cubic-bezier(0,0,0.2,1) infinite;
}
.whatsapp-float svg { position: relative; z-index: 1; width: 28px; height: 28px; }
@keyframes ping {
  75%, 100% { transform: scale(1.6); opacity: 0; }
}

/* ============================================
   HOME — HERO
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  background: var(--color-fg);
  overflow: hidden;
}
@media (min-width: 768px) { .hero { height: 85vh; } }
.hero-image-wrap { position: absolute; inset: 0; }
.hero-image-wrap img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.7;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--color-fg) 0%, rgba(26,26,26,0.2) 60%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 10;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  text-align: center;
  padding: 0 1.5rem 6rem;
  max-width: var(--container-max); margin: 0 auto;
}
@media (min-width: 768px) { .hero-content { padding-bottom: 8rem; } }
.hero-eyebrow {
  color: var(--color-primary-light);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 8vw, 6rem);
  color: var(--color-bg);
  max-width: 64rem;
  line-height: 1.05;
  margin-bottom: 2rem;
}
.hero-subline {
  color: rgba(251, 248, 241, 0.85);
  max-width: 36rem;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .hero-eyebrow, .hero-subline { font-size: 1rem; } }

/* ============================================
   HOME — INTRO + GOLD RATE
   ============================================ */
.intro-section {
  padding: 5rem 1.5rem;
  background: var(--color-bg);
}
@media (min-width: 768px) { .intro-section { padding: 8rem 1.5rem; } }
.intro-grid {
  display: grid; grid-template-columns: 1fr; gap: 4rem;
  max-width: var(--container-max); margin: 0 auto;
  align-items: center;
}
@media (min-width: 768px) { .intro-grid { grid-template-columns: 1fr 1fr; } }
.intro-text {
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
@media (min-width: 768px) { .intro-text { align-items: flex-start; text-align: left; } }
.intro-text h3 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.intro-text p {
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 28rem;
  margin-bottom: 2rem;
}
.intro-trust {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(26,26,26, 0.7);
}

/* Gold Rate Widget */
.gold-rate {
  background: var(--color-bg);
  border: 1px solid var(--color-border-medium);
  padding: 1.5rem;
  max-width: 24rem;
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.gold-rate::before, .gold-rate::after {
  content: ""; position: absolute; width: 4rem; height: 4rem;
  background: rgba(184, 144, 42, 0.05);
}
.gold-rate::before { top: 0; right: 0; border-bottom-left-radius: 100%; }
.gold-rate::after { bottom: 0; left: 0; border-top-right-radius: 100%; }
.gold-rate-inner { position: relative; z-index: 1; }
.gold-rate h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}
.gold-rate-row {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border-soft);
}
.gold-rate-row:last-of-type { border-bottom: none; margin-bottom: 0; }
.gold-rate-label { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-muted); }
.gold-rate-value { font-family: var(--font-serif); font-size: 1.25rem; }
.gold-rate-note {
  font-size: 0.65rem; text-align: center; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--color-muted); margin-top: 1rem;
}

/* ============================================
   HOME — FEATURED COLLECTIONS
   ============================================ */
.featured {
  padding: 5rem 1.5rem;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
}
@media (min-width: 768px) { .featured { padding: 8rem 1.5rem; } }
.featured-header { text-align: center; margin-bottom: 4rem; }
.featured-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}
.featured-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  max-width: var(--container-max); margin: 0 auto;
}
@media (min-width: 768px) { .featured-grid { grid-template-columns: repeat(3, 1fr); } }
.featured-card { cursor: pointer; }
.featured-card-image {
  overflow: hidden;
  background: var(--color-white);
  aspect-ratio: 3/4;
  position: relative;
  border: 1px solid rgba(184, 144, 42, 0.05);
}
.featured-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s ease;
}
.featured-card:hover .featured-card-image img { transform: scale(1.05); }
.featured-card-image::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,0.1); transition: background 0.5s ease;
}
.featured-card:hover .featured-card-image::after { background: transparent; }
.featured-card-body { text-align: center; margin-top: 1.5rem; }
.featured-card-body h3 { font-size: 1.5rem; transition: color 0.3s ease; }
.featured-card:hover .featured-card-body h3 { color: var(--color-primary); }
.featured-card-body p {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--color-muted); margin-top: 0.5rem;
}
.featured-footer { text-align: center; margin-top: 4rem; }
.featured-footer a {
  display: inline-block;
  border-bottom: 1px solid var(--color-fg);
  padding-bottom: 0.25rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: all 0.3s ease;
}
.featured-footer a:hover { color: var(--color-primary); border-color: var(--color-primary); }

/* ============================================
   HOME — TESTIMONIAL
   ============================================ */
.testimonial {
  padding: 6rem 1.5rem;
  background: var(--color-fg);
  color: var(--color-bg);
  text-align: center;
}
.testimonial-inner { max-width: 56rem; margin: 0 auto; }
.testimonial-quote {
  color: var(--color-primary-light);
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: 2rem;
}
.testimonial blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  line-height: 1.4;
  margin: 0 0 3rem;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary-light);
}

/* ============================================
   HOME — CTA / VISIT
   ============================================ */
.cta-section {
  padding: 8rem 1.5rem;
  background: var(--color-bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 800px; height: 800px;
  background: rgba(184, 144, 42, 0.05);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
  z-index: 0;
}
.cta-inner { max-width: 36rem; margin: 0 auto; position: relative; z-index: 1; }
.cta-inner h2 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  margin-bottom: 1.5rem;
}
.cta-inner p {
  color: var(--color-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.cta-buttons {
  display: flex; flex-direction: column; gap: 1.5rem; justify-content: center;
}
@media (min-width: 640px) { .cta-buttons { flex-direction: row; } }

/* ============================================
   COLLECTIONS PAGE
   ============================================ */
.collections-hero {
  padding: 5rem 1.5rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border-soft);
}
.collections-hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); margin-bottom: 1.5rem; }
.collections-hero p {
  color: var(--color-muted); max-width: 36rem; margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.category-tabs {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1rem; max-width: 56rem; margin: 0 auto;
}
@media (min-width: 768px) { .category-tabs { gap: 2rem; } }
.category-tab {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  color: var(--color-muted);
  transition: all 0.3s ease;
  background: none; border-top: none; border-left: none; border-right: none;
  cursor: pointer;
}
.category-tab:hover { color: var(--color-fg); }
.category-tab.is-active { border-bottom-color: var(--color-primary); color: var(--color-fg); }

.products-section {
  padding: 4rem 1.5rem 8rem;
  max-width: var(--container-max); margin: 0 auto;
}
.products-grid {
  display: grid; grid-template-columns: 1fr; gap: 4rem 2rem;
}
@media (min-width: 768px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card { display: flex; flex-direction: column; }
.product-card-image {
  background: var(--color-bg-alt);
  aspect-ratio: 4/5;
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
  border: 1px solid rgba(184, 144, 42, 0.05);
}
.product-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.1); }
.product-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.5rem; }
.product-header h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}
.product-card:hover .product-header h3 { color: var(--color-primary); }
.product-purity {
  font-size: 0.7rem;
  border: 1px solid rgba(26,26,26,0.2);
  padding: 0.25rem 0.5rem;
}
.product-footer {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: auto; padding-top: 1rem;
}
.product-meta {
  display: flex; flex-direction: column; gap: 0.25rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-muted);
}
.product-price {
  font-family: var(--font-serif);
  font-size: 1rem;
  text-transform: none;
  letter-spacing: normal;
  color: var(--color-fg);
  margin-top: 0.5rem;
}
.product-enquire {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-bottom: 1px solid rgba(26,26,26,0.3);
  padding-bottom: 2px;
  transition: all 0.3s ease;
}
.product-enquire:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  padding: 5rem 1.5rem 0;
  text-align: center;
  max-width: var(--container-narrow); margin: 0 auto;
}
.about-hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); margin-bottom: 1.5rem; }
.about-section {
  padding: 5rem 1.5rem;
  max-width: var(--container-narrow); margin: 0 auto;
}
@media (min-width: 768px) { .about-section { padding: 8rem 1.5rem; } }
.about-block {
  display: grid; grid-template-columns: 1fr; gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}
@media (min-width: 768px) {
  .about-block { grid-template-columns: 1fr 1fr; }
  .about-block.reverse .about-block-text { order: 1; }
  .about-block.reverse .about-block-image { order: 2; }
}
.about-block-image img { width: 100%; }
.about-block-image.aspect-portrait img { aspect-ratio: 3/4; object-fit: cover; }
.about-block-image.aspect-landscape img { aspect-ratio: 4/3; object-fit: cover; }
.about-block-text { display: flex; flex-direction: column; justify-content: center; }
.about-eyebrow {
  color: var(--color-primary);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}
.about-block-text h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.about-block-text p {
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Trust Section */
.trust-section {
  padding: 6rem 1.5rem;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border-soft);
  text-align: center;
}
.trust-section h2 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  margin-bottom: 4rem;
}
.trust-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
  max-width: var(--container-max); margin: 0 auto;
}
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-card { display: flex; flex-direction: column; align-items: center; }
.trust-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(184, 144, 42, 0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-primary);
}
.trust-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.trust-card p {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 18rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-hero {
  padding: 5rem 1.5rem 0;
  text-align: center;
}
.contact-hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); margin-bottom: 1.5rem; }
.contact-hero p {
  color: var(--color-muted); max-width: 36rem; margin: 2rem auto 0;
  line-height: 1.7;
}
.contact-section {
  padding: 5rem 1.5rem 6rem;
  max-width: var(--container-max); margin: 0 auto;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 4rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .contact-info { grid-template-columns: 1fr 1fr; } }
.contact-info-item h3 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.contact-info-item p {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.6;
}
.contact-info-item a.inline-link {
  border-bottom: 1px solid rgba(26,26,26,0.3);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}
.contact-info-item a.inline-link:hover { border-color: var(--color-primary); color: var(--color-primary); }

.contact-form-wrap {
  background: var(--color-bg-alt);
  padding: 2rem;
  border: 1px solid var(--color-border-soft);
}
.contact-form-wrap h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-form label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
  color: var(--color-muted);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(26,26,26,0.2);
  padding: 0.5rem 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-fg);
  outline: none;
  border-radius: 0;
  transition: border-color 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus { border-bottom-color: var(--color-primary); }
.contact-form textarea { resize: none; }
.contact-form button {
  margin-top: 1rem;
  background: var(--color-fg);
  color: var(--color-bg);
  padding: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}
.contact-form button:hover { background: var(--color-primary); }
.contact-form-status { font-size: 0.875rem; margin-top: 0.5rem; }
.contact-form-status.is-success { color: #156d2e; }
.contact-form-status.is-error { color: #b91c1c; }

.map-card {
  min-height: 400px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-soft);
  padding: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.map-card-inner {
  width: 100%; height: 100%;
  border: 1px solid var(--color-border-medium);
  background: white;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.map-card-inner::before {
  content: ""; position: absolute; inset: 0; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.map-card-inner > * { position: relative; z-index: 1; }
.map-card-inner svg.map-pin {
  width: 48px; height: 48px;
  color: var(--color-primary); margin-bottom: 1.5rem;
}
.map-card-inner h3 { font-family: var(--font-serif); font-size: 1.875rem; margin-bottom: 1rem; }
.map-card-inner p {
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

.fade-in-left { transform: translateX(-30px); transform-origin: left; }
.fade-in-left.is-visible { transform: translateX(0); }
.fade-in-right { transform: translateX(30px); transform-origin: right; }
.fade-in-right.is-visible { transform: translateX(0); }

/* Hero text initial fade-in (no JS needed) */
@keyframes heroFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: heroFade 1s ease-out 0.2s both; }
.hero-title   { animation: heroFade 1s ease-out 0.4s both; }
.hero-subline { animation: heroFade 1s ease-out 0.6s both; }
.hero-content .btn { animation: heroFade 1s ease-out 0.8s both; }

/* ============================================
   WORDPRESS DEFAULTS / EDITOR STYLES
   ============================================ */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.screen-reader-text { position: absolute; left: -9999px; }
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
