/*
Theme Name: ECH Custom
Theme URI: https://elevatedhouston.com
Description: Custom theme for Elevated Custom Homes — no page builder required
Version: 1.0.5
Author: Elevated Custom Homes
Text Domain: ech-custom
*/

/* =========================================================
   TOKENS
========================================================= */
:root {
  --black:        #0A0A0A;
  --charcoal:     #141414;
  --charcoal-2:   #1E1E1E;
  --charcoal-3:   #2A2A2A;
  --gold:         #C8A96A;
  --gold-light:   #DBBE8A;
  --gold-pale:    #F5ECD8;
  --cream:        #F8F4EE;
  --cream-dark:   #EDE8DF;
  --white:        #FFFFFF;
  --text:         #1A1A1A;
  --text-mid:     #5A5550;
  --text-light:   #9A9590;
  --border:       #E0D8CC;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container:    1240px;
  --radius:       2px;
  --transition:   0.3s ease;
}

/* =========================================================
   RESET
========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* =========================================================
   TYPOGRAPHY
========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

/* =========================================================
   LAYOUT
========================================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
}

.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header h2 { margin-top: 8px; }

/* =========================================================
   BUTTONS
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 36px;
  transition: var(--transition);
  border-radius: var(--radius);
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover { background: var(--gold-light); }

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover { background: var(--gold); color: var(--black); }

.btn-outline-white {
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline-white:hover { border-color: var(--white); background: var(--white); color: var(--black); }

/* =========================================================
   SITE HEADER
========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0 32px;
}
.site-header.scrolled {
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.site-header.page-header {
  background: var(--charcoal);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo img { height: 44px; width: auto; }
.site-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 0.04em;
}

.primary-nav > ul {
  display: flex;
  align-items: center;
  gap: 36px;
}
.primary-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.primary-nav a:hover { color: var(--white); }
.primary-nav a:hover::after { width: 100%; }

/* Higher specificity (.primary-nav .nav-cta) overrides .primary-nav a { padding-bottom: 2px } */
.primary-nav .nav-cta {
  border: 1px solid rgba(200,169,106,0.5);
  color: var(--gold) !important;
  padding: 9px 22px;
  border-radius: var(--radius);
}
.primary-nav .nav-cta:hover { background: var(--gold) !important; color: var(--black) !important; border-color: var(--gold) !important; }
.primary-nav .nav-cta::after { display: none !important; }

/* Dropdown — top:100% so the dropdown is a direct descendant hover target with no gap */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--charcoal);
  border: 1px solid var(--charcoal-3);
  border-top: 2px solid var(--gold);
  min-width: 0;
  width: max-content;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  padding-top: 6px;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  pointer-events: all;
}
/* Keep underline on "About Us" while dropdown is open */
.has-dropdown:hover > a::after { width: 100%; }
.dropdown li a {
  display: block;
  padding: 8px 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255,255,255,0.7) !important;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  white-space: nowrap;
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { color: var(--gold) !important; background: rgba(200,169,106,0.05); }
.dropdown li a::after { display: none !important; }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 999;
  padding: 96px 32px 48px;
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 0; }
.mobile-nav a {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .sub-items a { font-size: 1.2rem; padding-left: 20px; color: rgba(255,255,255,0.6); }
.mobile-nav-close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 28px;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.45) 0%,
    rgba(10,10,10,0.55) 60%,
    rgba(10,10,10,0.75) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
  max-width: 840px;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.hero-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 1;
}
.hero-scroll span { display: block; width: 1px; height: 48px; background: rgba(255,255,255,0.3); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0%,100%{opacity:0.3;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(0.6)} }

/* =========================================================
   PAGE HERO (inner pages)
========================================================= */
.page-hero {
  background: var(--charcoal);
  padding: 140px 0 72px;
  text-align: center;
  color: var(--white);
}
.page-hero h1 { color: var(--white); margin-top: 8px; }
.page-hero .breadcrumb {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-top: 16px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.45); }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero--dark { background: var(--black); }

/* =========================================================
   SERVICES (homepage)
========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--border);
}
@media (max-width: 768px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--white);
  padding: 52px 40px;
  transition: background var(--transition);
}
.service-card:hover { background: var(--cream); }
.service-icon {
  width: 48px; height: 48px;
  margin-bottom: 24px;
  color: var(--gold);
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--text-mid); font-size: 0.94rem; margin-bottom: 24px; }
.service-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition);
}
.service-link:hover { gap: 14px; }

/* =========================================================
   ABOUT (homepage snippet)
========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-img { position: relative; }
.about-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-img::before {
  content: '';
  position: absolute;
  bottom: -20px; right: -20px;
  width: 60%; height: 60%;
  border: 1px solid var(--gold);
  z-index: -1;
}
.about-stats { display: flex; gap: 40px; margin-top: 40px; }
.stat-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 4px;
}

/* =========================================================
   PROCESS
========================================================= */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 48px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
@media (max-width: 768px) {
  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
}
.process-step { text-align: center; position: relative; }
.step-num {
  width: 64px; height: 64px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--gold);
  background: var(--charcoal);
  position: relative;
  z-index: 1;
}
.process-step h3 { color: var(--white); margin-bottom: 12px; }
.process-step p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* =========================================================
   PORTFOLIO GRID (homepage)
========================================================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 8px;
}
.portfolio-grid .item-large { grid-column: span 2; }
.portfolio-item {
  position: relative;
  overflow: hidden;
  background: var(--charcoal-2);
}
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 0.6s ease;
}
.item-large img { aspect-ratio: 16/9; }
.portfolio-item:hover img { transform: scale(1.04); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay p { color: var(--white); font-size: 0.85rem; }
@media (max-width: 768px) {
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid .item-large { grid-column: span 2; }
}

/* =========================================================
   PARTNERS
========================================================= */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.partners-row img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.5);
  transition: filter var(--transition);
}
.partners-row img:hover { filter: grayscale(0) opacity(1); }

/* =========================================================
   MEMBERSHIPS
========================================================= */
.memberships-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.memberships-row img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.7);
  transition: filter var(--transition);
}
.memberships-row img:hover { filter: grayscale(0) opacity(1); }

/* =========================================================
   FAQ
========================================================= */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 22px 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-icon {
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 18px;
  transition: var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--gold); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer-inner {
  padding: 0 0 24px;
  color: var(--text-mid);
  font-size: 0.94rem;
  line-height: 1.8;
}

/* =========================================================
   CTA BANNER
========================================================= */
.cta-banner {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://elevatedhouston.com/wp-content/uploads/2025/09/Claudia-7206-Dearborn-St-73.jpg') center/cover no-repeat;
  opacity: 0.15;
}
.cta-banner .container { position: relative; z-index: 1; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.65); margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* =========================================================
   PROJECTS (build page)
========================================================= */
/* =========================================================
   BUILD PAGE — IMMERSIVE MOSAIC
========================================================= */
.builds-section { padding: 80px 0; }
.builds-section-header { margin-bottom: 48px; }
.builds-section-header h2 { margin-top: 8px; }

.builds-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 340px;
  gap: 4px;
}
@media (max-width: 1024px) {
  .builds-mosaic { grid-template-columns: repeat(2,1fr); grid-auto-rows: 300px; }
}
@media (max-width: 640px) {
  .builds-mosaic { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .build-tile--wide { grid-column: span 1 !important; }
}

.build-tile {
  position: relative;
  overflow: hidden;
  cursor: default;
  background: #1a1a1a;
}
.build-tile--wide { grid-column: span 2; }
@media (max-width: 640px) { .build-tile--wide { grid-column: span 1; } }

.build-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  display: block;
}
.build-tile:hover img { transform: scale(1.04); }

.build-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.08) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 28px 24px;
  transition: background 0.4s ease;
}
.build-tile:hover .build-tile-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.18) 55%, transparent 100%);
}

.build-tile--soon .build-tile-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 100%);
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px;
}

.build-tile-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  background: var(--gold);
  color: var(--black);
  align-self: flex-start;
}

.build-tile-info h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.2;
}
.build-tile--wide .build-tile-info h3 { font-size: 1.6rem; }

.build-tile-info p {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

/* No-photo "coming soon" tiles */
.build-tile--soon:not(:has(img)) .build-tile-overlay,
.build-tile--soon .build-tile-overlay {
  background: linear-gradient(135deg, #1c1c1c 0%, #111 100%);
}
.build-tile--soon:not(:has(img))::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
}

/* =========================================================
   DESIGN PAGE
========================================================= */
.design-categories {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
@media (max-width: 768px) { .design-categories { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .design-categories { grid-template-columns: 1fr; } }
.design-cat {
  position: relative;
  overflow: hidden;
  background: var(--cream-dark);
}
.design-cat img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.design-cat:hover img { transform: scale(1.05); }
.design-cat-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.8) 0%, transparent 100%);
  padding: 32px 20px 20px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
}

/* =========================================================
   WARRANTY PAGE
========================================================= */
.warranty-tiers {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2px;
  background: var(--border);
}
@media (max-width: 768px) { .warranty-tiers { grid-template-columns: 1fr; } }
.warranty-tier {
  background: var(--charcoal);
  color: var(--white);
  padding: 48px 36px;
  text-align: center;
}
.warranty-years {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.warranty-years-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 24px;
}
.warranty-tier h3 { color: var(--white); margin-bottom: 16px; }
.warranty-tier p { color: rgba(255,255,255,0.65); font-size: 0.9rem; line-height: 1.75; }

/* =========================================================
   CONTACT PAGE
========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 48px; } }
.contact-info { }
.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.contact-detail-text strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
  font-weight: 500;
}

/* Contact Form */
.contact-form { }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit { margin-top: 8px; }
.wpcf7-spinner { display: none; }

/* =========================================================
   ABOUT PAGE
========================================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 40px;
}
@media (max-width: 640px) { .values-grid { grid-template-columns: 1fr; } }
.value-item { padding: 32px; border: 1px solid var(--border); }
.value-item h4 { margin-bottom: 10px; color: var(--charcoal); }
.value-item p { font-size: 0.92rem; color: var(--text-mid); margin: 0; }
.value-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gold-pale);
  line-height: 1;
  margin-bottom: 12px;
}

/* =========================================================
   BLOG
========================================================= */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
}
@media (max-width: 1024px) { .posts-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .posts-grid { grid-template-columns: 1fr; } }
.post-card { background: var(--white); }
.post-thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-meta {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  margin-top: 20px;
}
.post-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.post-card h3 a { color: var(--text); transition: color var(--transition); }
.post-card h3 a:hover { color: var(--gold); }
.post-card p { font-size: 0.92rem; color: var(--text-mid); }
.post-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 16px;
  transition: gap var(--transition);
}
.post-read-more:hover { gap: 14px; }

/* Single post */
.post-content { max-width: 720px; margin: 0 auto; }
.post-content h2, .post-content h3 { margin: 1.8em 0 0.8em; }
.post-content p { color: var(--text-mid); line-height: 1.85; }
.post-content img { width: 100%; margin: 2em 0; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 1.2em; color: var(--text-mid); }
.post-content li { margin-bottom: 8px; }

/* =========================================================
   FOOTER
========================================================= */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.65);
}
.footer-top {
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand .logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 16px;
  display: block;
}
.footer-brand img { height: 42px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; max-width: 260px; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col li a:hover { color: var(--gold); }
.footer-contact { font-size: 13px; line-height: 2; }
.footer-contact a:hover { color: var(--gold); }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom a:hover { color: var(--gold); }

/* =========================================================
   UTILITY / BG CLASSES
========================================================= */
.bg-white   { background: var(--white); }
.bg-cream   { background: var(--cream); }
.bg-dark    { background: var(--charcoal); }
.bg-black    { background: var(--black); }
.bg-charcoal { background: #111; }
.text-white { color: var(--white); }
.text-white h1, .text-white h2, .text-white h3 { color: var(--white); }
.text-center { text-align: center; }
.divider {
  width: 48px; height: 1px;
  background: var(--gold);
  margin: 20px 0;
}
.divider-center { margin: 20px auto; }

/* =========================================================
   ANIMATIONS
========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-up.visible {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   WP CORE CLASSES
========================================================= */
.alignleft  { float: left; margin-right: 1.5em; margin-bottom: 1em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1em; }
.aligncenter { display: block; margin: 0 auto 1em; }
.wp-caption { max-width: 100%; }
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  height: 1px; width: 1px;
  overflow: hidden;
  position: absolute;
}
