/*
Theme Name: Tomy B. Salon
Theme URI: https://tomybsalon.com
Author: Tomy Biton
Author URI: https://tomybsalon.com
Description: Custom lightweight theme for Tomy B. Salon — Williston Park, Long Island NY. Copper/greige/charcoal palette. Built from scratch, no page builders.
Version: 1.8.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tomyb
Tags: custom-logo, custom-menu, featured-images, full-width-template, theme-options, threaded-comments, translation-ready
*/

/* ==================== CSS VARIABLES ==================== */
:root {
  /* Pulled from salon interior photo */
  --slate: #4A4845;
  --charcoal: #2D2B28;
  --greige: #B5ADA3;
  --greige-light: #C9C1B7;
  --warm-white: #F5F1EC;
  --ivory: #FDFAF6;
  --wood: #C4A67A;
  --wood-light: #D8C4A0;
  --wood-dark: #A08555;
  --copper: #B87333;
  --copper-bright: #D4924D;
  --copper-deep: #8E5A28;
  --black: #1E1D1B;
  --text: #3A3835;
  --text-light: #7A756E;
  --cream: #EDE7DF;

  /* Typography */
  --font-display: 'Libre Caslon Display', serif;
  --font-serif: 'Libre Caslon Text', serif;
  --font-body: 'Sora', sans-serif;

  /* Layout */
  --max-width: 1400px;
  --gutter: 48px;
}

/* ==================== RESET ==================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* Screen reader only */
.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;
}

/* ==================== ANNOUNCEMENT BAR ==================== */
.announcement {
  background: var(--copper);
  color: #fff;
  text-align: center;
  padding: 11px 20px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}
.announcement a {
  color: #fff;
  font-weight: 700;
  text-underline-offset: 3px;
  text-decoration: underline;
}
.announcement a:hover { text-decoration-thickness: 2px; }

/* ==================== NAVIGATION ==================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,250,246,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(181,173,163,0.25);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  height: 74px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--charcoal);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
}
.nav-logo span { color: var(--copper); }

/* Custom logo image sizing */
.nav-logo img,
.custom-logo-link img,
.nav-logo .custom-logo {
  max-height: 54px;
  width: auto;
  height: auto;
  display: block;
}
.custom-logo-link {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a,
.nav-links button {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
  font-family: var(--font-body);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-links a::after,
.nav-links > li > button::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--copper);
  transition: width 0.3s;
}
.nav-links a:hover,
.nav-links button:hover { color: var(--copper); }
.nav-links a:hover::after,
.nav-links button:hover::after { width: 100%; }
.nav-links a.active { color: var(--copper); }
.nav-links a.active::after { width: 100%; }

/* Services Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-dropdown-trigger svg {
  width: 10px;
  height: 10px;
  transition: transform 0.3s;
}
.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid rgba(181,173,163,0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  min-width: 220px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 4px);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 24px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
  transition: all 0.2s;
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover {
  background: var(--cream);
  color: var(--copper);
  padding-left: 28px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-phone {
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}
.nav-phone:hover { color: var(--copper); }

.nav-cta {
  background: var(--charcoal);
  color: var(--warm-white);
  padding: 13px 30px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all 0.3s;
  display: inline-block;
}
.nav-cta:hover { background: var(--copper); }

/* Mobile Menu Toggle */
.nav-mobile-toggle {
  display: none;
  width: 32px; height: 24px;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-mobile-toggle span {
  display: block;
  width: 100%; height: 2px;
  background: var(--charcoal);
  transition: all 0.3s;
}
.nav-mobile-toggle.is-open span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.nav-mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.is-open span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: var(--ivory);
  z-index: 99;
  padding: 120px var(--gutter) 48px;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid rgba(181,173,163,0.2);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 500;
}
.mobile-nav a:hover { color: var(--copper); }
.mobile-nav .mobile-sub-links {
  padding-left: 24px;
}
.mobile-nav .mobile-sub-links a {
  font-size: 0.85rem;
  color: var(--text-light);
  border-bottom-color: rgba(181,173,163,0.1);
  padding: 14px 0;
}
.mobile-nav .mobile-nav-cta {
  margin-top: 32px;
  background: var(--copper);
  color: #fff;
  text-align: center;
  padding: 18px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.mobile-nav .mobile-nav-phone {
  text-align: center;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-light);
  border-bottom: none;
}

/* ==================== COPPER STRIP ==================== */
.copper-strip {
  height: 4px;
  background: linear-gradient(90deg, var(--copper-deep), var(--copper), var(--copper-bright), var(--wood), var(--copper));
  background-size: 200% 100%;
  animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ==================== TRUST MARQUEE ==================== */
.trust-marquee {
  background: var(--cream);
  overflow: hidden;
  border-bottom: 1px solid rgba(181,173,163,0.2);
}
.trust-track {
  display: flex;
  animation: marquee 25s linear infinite;
  width: max-content;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  padding: 20px 44px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
}
.trust-item .td {
  width: 6px; height: 6px;
  background: var(--copper);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==================== SECTION UTILITIES ==================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 700;
  margin-bottom: 22px;
}
.section-tag::before {
  content: '';
  width: 36px; height: 2px;
  background: var(--copper);
}

.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.2vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--charcoal);
}
.section-h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--copper);
}

.section-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ==================== BUTTONS ==================== */
.btn-copper {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--copper);
  color: #fff;
  padding: 18px 38px;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 600;
  transition: all 0.4s;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-copper::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}
.btn-copper:hover {
  background: var(--copper-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(184,115,51,0.25);
}
.btn-copper:hover::before { left: 100%; }

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--charcoal);
  color: var(--warm-white);
  padding: 20px 40px;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 600;
  transition: all 0.4s;
  border: none;
  cursor: pointer;
}
.btn-dark:hover {
  background: var(--copper);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}

.btn-outline-slate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 36px;
  border: 1.5px solid var(--slate);
  color: var(--slate);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 600;
  transition: all 0.4s;
  background: transparent;
}
.btn-outline-slate:hover {
  background: var(--charcoal);
  color: var(--warm-white);
  border-color: var(--charcoal);
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--greige-light);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}
.btn-ghost-light:hover { color: var(--copper-bright); }

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-left {
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
  position: relative;
  overflow: hidden;
}
.hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(184,115,51,0.06) 0%, transparent 50%),
    repeating-linear-gradient(180deg, transparent, transparent 80px, rgba(255,255,255,0.012) 80px, rgba(255,255,255,0.012) 81px);
}
.hero-left > * { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  margin-bottom: 40px;
  animation: fadeUp 0.7s ease forwards;
  opacity: 0;
}
.hero-eyebrow::before {
  content: '';
  width: 44px; height: 2px;
  background: var(--copper);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5.2vw, 4.8rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--warm-white);
  margin-bottom: 12px;
  animation: fadeUp 0.7s ease 0.1s forwards;
  opacity: 0;
}
.hero h1 .accent {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--copper-bright);
  font-weight: 400;
}

.hero-rule {
  width: 56px; height: 2px;
  background: linear-gradient(90deg, var(--copper), var(--wood));
  margin: 32px 0;
  animation: fadeUp 0.7s ease 0.15s forwards;
  opacity: 0;
}

.hero-desc {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--greige);
  max-width: 480px;
  font-weight: 300;
  margin-bottom: 48px;
  animation: fadeUp 0.7s ease 0.2s forwards;
  opacity: 0;
}
.hero-desc strong {
  color: var(--copper-bright);
  font-weight: 500;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeUp 0.7s ease 0.3s forwards;
  opacity: 0;
}

.hero-right {
  position: relative;
  overflow: hidden;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: fadeIn 1s ease 0.2s forwards;
  opacity: 0;
}
.hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--charcoal) 0%, transparent 15%),
              linear-gradient(180deg, transparent 60%, rgba(45,43,40,0.3) 100%);
  pointer-events: none;
}

.hero-float {
  position: absolute;
  bottom: 48px; left: 48px;
  z-index: 3;
  background: rgba(45,43,40,0.88);
  backdrop-filter: blur(16px);
  border-left: 3px solid var(--copper);
  padding: 24px 28px;
  animation: fadeUp 0.7s ease 0.5s forwards;
  opacity: 0;
}
.hero-float .hf-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--copper-bright);
  line-height: 1;
}
.hero-float .hf-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--greige);
  margin-top: 4px;
  font-weight: 500;
}

.hero-badge {
  position: absolute;
  top: 48px; right: 48px;
  z-index: 3;
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 2px solid var(--copper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(45,43,40,0.75);
  backdrop-filter: blur(12px);
  animation: spinPop 0.8s ease 0.7s forwards;
  opacity: 0;
}
.hero-badge .hb-val {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--copper-bright);
  line-height: 1;
}
.hero-badge .hb-text {
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--greige);
  font-weight: 600;
  margin-top: 2px;
}

/* ==================== METHOD ==================== */
.method {
  padding: 140px var(--gutter);
  background: var(--ivory);
}
.method-top {
  max-width: var(--max-width);
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
}
.method-top-desc {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-light);
  font-weight: 300;
  padding-bottom: 8px;
}
.method-cards {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mc {
  background: var(--cream);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s;
  border: 1px solid transparent;
}
.mc::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
}
.mc:hover::before { transform: scaleX(1); }
.mc:hover {
  background: #fff;
  border-color: rgba(184,115,51,0.12);
  box-shadow: 0 16px 48px rgba(0,0,0,0.04);
  transform: translateY(-4px);
}

.mc-num {
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--cream);
  line-height: 1;
  margin-bottom: -8px;
  transition: color 0.5s;
  -webkit-text-stroke: 1px var(--greige-light);
}
.mc:hover .mc-num { color: transparent; -webkit-text-stroke-color: var(--copper); }

.mc-icon {
  width: 48px; height: 48px;
  background: var(--warm-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s;
  border: 1.5px solid var(--greige-light);
}
.mc-icon svg { color: var(--copper); transition: color 0.3s; }
.mc:hover .mc-icon { background: var(--copper); border-color: var(--copper); }
.mc:hover .mc-icon svg { color: #fff; }

.mc h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 14px;
}
.mc p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 28px;
}
.mc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 700;
  transition: gap 0.3s;
}
.mc-link:hover { gap: 14px; }

/* ==================== STORY ==================== */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: auto;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.story-img-side {
  position: relative;
  overflow: hidden;
}
.story-img-side img {
  object-position: center 0%;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 0%;
  filter: brightness(0.85) saturate(0.9);
}
.story-img-side::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, var(--charcoal) 100%);
}

.story-text-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px;
  position: relative;
}
.story-text-side::before {
  content: '\201C';
  position: absolute;
  top: 50px; right: 50px;
  font-family: var(--font-display);
  font-size: 18rem;
  color: rgba(184,115,51,0.04);
  line-height: 1;
  pointer-events: none;
}
.story-text-side > * { position: relative; z-index: 2; }

.story-quote {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--warm-white);
  margin-bottom: 28px;
  padding-left: 24px;
  border-left: 3px solid var(--copper);
}
.story-bio {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--greige);
  font-weight: 300;
  margin-bottom: 44px;
  max-width: 480px;
}
.story-bio strong { color: var(--copper-bright); font-weight: 500; }

.story-stats {
  display: flex;
  gap: 48px;
  margin-top: 12px;
}
.ss { position: relative; }
.ss::after {
  content: '';
  position: absolute;
  top: 8px; right: -24px;
  height: calc(100% - 16px);
  width: 1px;
  background: rgba(184,115,51,0.2);
}
.ss:last-child::after { display: none; }
.ss-val {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--copper);
  line-height: 1;
}
.ss-label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--greige);
  margin-top: 6px;
  font-weight: 600;
}

/* ==================== SERVICES SHOWCASE ==================== */
.services-showcase {
  padding: 140px var(--gutter);
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.services-showcase::before, .services-showcase::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(184,115,51,0.06);
  pointer-events: none;
}
.services-showcase::before { width: 600px; height: 600px; top: -250px; right: -200px; }
.services-showcase::after { width: 400px; height: 400px; bottom: -150px; left: -100px; }

.svc-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 320px 320px;
  gap: 16px;
}
.svc-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--slate);
  display: flex;
  align-items: flex-end;
  padding: 36px;
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(30,29,27,0.8) 100%);
  z-index: 1;
  transition: opacity 0.4s;
}
.svc-card:hover::before { opacity: 0.9; }

.svc-card-inner { position: relative; z-index: 2; }
.svc-card-inner h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.svc-card-inner p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
}
.svc-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--copper);
  border-radius: 50%;
  color: var(--copper);
  margin-top: 14px;
  transition: all 0.3s;
}
.svc-card:hover .svc-arrow { background: var(--copper); color: #fff; }

.svc-tall { background: linear-gradient(160deg, #5A4E42, #3A332B); }
.svc-a { background: linear-gradient(150deg, #6B5D4F, #3A332B); }
.svc-b { background: linear-gradient(150deg, #584A3E, #2D2B28); }
.svc-c { background: linear-gradient(150deg, #4E4640, #2D2B28); }

/* ==================== TESTIMONIALS ==================== */
.testimonials-section {
  padding: 140px var(--gutter);
  background: var(--ivory);
}
.test-header {
  max-width: var(--max-width);
  margin: 0 auto 72px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.test-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tc {
  background: #fff;
  padding: 44px 36px;
  border: 1px solid rgba(181,173,163,0.2);
  transition: all 0.4s;
  position: relative;
}
.tc:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.05);
  border-color: var(--copper);
}
.tc .qm {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--copper);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 4px;
}
.tc .stars { display: flex; gap: 3px; margin-bottom: 18px; }
.tc .stars svg { width: 15px; height: 15px; color: var(--copper); fill: var(--copper); }
.tc blockquote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 28px;
}
.tc-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(181,173,163,0.2);
}
.tc-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--copper);
  border: 1px solid rgba(184,115,51,0.2);
}
.tc-name { font-weight: 600; font-size: 0.85rem; color: var(--charcoal); }
.tc-loc { font-size: 0.72rem; color: var(--text-light); font-weight: 300; }

/* ==================== PRODUCTS ==================== */
.products-section {
  padding: 140px var(--gutter);
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.products-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(184,115,51,0.04) 0%, transparent 55%);
}
.products-top {
  max-width: var(--max-width);
  margin: 0 auto 64px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
}
.products-top .section-h2 { color: var(--warm-white); }
.products-top .section-h2 em { color: var(--copper); }

.pg {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.pc {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  transition: all 0.4s;
  cursor: pointer;
}
.pc:hover {
  border-color: rgba(184,115,51,0.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}
.pc a { display: block; }
.pc-img {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--slate), var(--charcoal));
  overflow: hidden;
  position: relative;
}
.pc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.pc:hover .pc-img img { transform: scale(1.05); }
.pc-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--copper);
  color: #fff;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 11px;
  z-index: 2;
}
.pc-info { padding: 22px 20px; }
.pc-info h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--warm-white);
  margin-bottom: 8px;
}
.pc-price { font-size: 0.95rem; color: var(--copper); font-weight: 600; }
.pc-desc { font-size: 0.75rem; color: rgba(255,255,255,0.3); font-weight: 300; margin-top: 6px; line-height: 1.5; }

/* ==================== CTA SECTION ==================== */
.cta-section {
  padding: 120px var(--gutter);
  position: relative;
  overflow: hidden;
  background: var(--cream);
  text-align: center;
}
.cta-section::before, .cta-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(184,115,51,0.08);
  pointer-events: none;
}
.cta-section::before { width: 500px; height: 500px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.cta-section::after { width: 320px; height: 320px; top: 50%; left: 50%; transform: translate(-50%,-50%); }

.cta-inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.cta-inner .section-h2 { margin-bottom: 20px; }
.cta-inner p {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 44px;
}
.cta-btns { display: flex; align-items: center; justify-content: center; gap: 20px; }

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.45);
  padding: 80px var(--gutter) 36px;
}
.ft-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ft-brand .ft-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--warm-white);
  margin-bottom: 16px;
}
.ft-brand .ft-logo span { color: var(--copper); }
.ft-brand p { font-size: 0.85rem; line-height: 1.8; font-weight: 300; max-width: 300px; }
.ft-socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.ft-socials a {
  width: 40px; height: 40px;
  border: 1px solid rgba(184,115,51,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 600;
  transition: all 0.3s;
}
.ft-socials a:hover { background: var(--copper); color: var(--black); }

.ft-col h5 {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 26px;
  font-weight: 700;
}
.ft-col a {
  display: block;
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
  font-weight: 300;
  margin-bottom: 13px;
  transition: color 0.3s;
}
.ft-col a:hover { color: var(--copper-bright); }

.ft-nl p { font-size: 0.85rem; line-height: 1.7; font-weight: 300; margin-bottom: 18px; }
.nl-row { display: flex; }
.nl-row input {
  flex: 1;
  padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-right: none;
  color: #fff;
  font-size: 0.82rem;
  font-family: var(--font-body);
  outline: none;
}
.nl-row input::placeholder { color: rgba(255,255,255,0.2); }
.nl-row button {
  background: var(--copper);
  color: #fff;
  padding: 13px 22px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-body);
  border: 1px solid var(--copper);
  cursor: pointer;
  transition: background 0.3s;
}
.nl-row button:hover { background: var(--copper-bright); }

.ft-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 300;
}
.ft-bottom a { color: rgba(255,255,255,0.3); transition: color 0.3s; }
.ft-bottom a:hover { color: var(--copper); }

/* ==================== ANIMATIONS ==================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes spinPop {
  from { opacity: 0; transform: scale(0.4) rotate(-15deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: all 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== WORDPRESS SPECIFIC ==================== */
/* Gutenberg alignment support */
.alignwide { max-width: var(--max-width); margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; margin-left: 0; margin-right: 0; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* WordPress image captions */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.82rem; color: var(--text-light); margin-top: 8px; font-style: italic; }

/* Screen reader text (WP default) */
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px !important; height: 1px !important; overflow: hidden; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  :root { --gutter: 32px; }

  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 72px 32px; }
  .hero-right { height: 50vh; }

  .story { grid-template-columns: 1fr; }
  .story-img-side { height: 50vh; }
  .story-text-side { padding: 60px 32px; }

  .method-top { grid-template-columns: 1fr; gap: 24px; }
  .method-cards { grid-template-columns: 1fr; }

  .svc-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .svc-tall { grid-row: auto; }

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

  .pg { grid-template-columns: repeat(2, 1fr); }

  .ft-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

  .nav-links { display: none; }
  .nav-phone { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-logo img,
  .custom-logo-link img,
  .nav-logo .custom-logo { max-height: 44px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }

  .hero-left { padding: 56px 20px; }
  .hero h1 { font-size: 2.6rem; }

  .hero-btns { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-float { left: 20px; bottom: 24px; padding: 18px 22px; }
  .hero-float .hf-num { font-size: 2rem; }
  .hero-badge { width: 76px; height: 76px; top: 24px; right: 24px; }
  .hero-badge .hb-val { font-size: 1rem; }

  .story-text-side { padding: 40px 20px; }
  .story-quote { font-size: 1.3rem; }
  .story-stats { gap: 24px; flex-wrap: wrap; }
  .ss-val { font-size: 2rem; }

  .svc-grid { grid-template-columns: 1fr; grid-template-rows: auto; }

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

  .ft-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .ft-brand { grid-column: 1 / -1; }
  .ft-col.ft-nl { grid-column: 1 / -1; }
  .ft-col:nth-child(4) { grid-column: 1 / -1; }
  .ft-col:has(h5) h5 { font-size: 0.75rem; margin-bottom: 8px; }
  .ft-col a { font-size: 0.85rem; padding: 2px 0; }
  .ft-col:nth-child(4) { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .ft-col:nth-child(4) h5 { grid-column: 1 / -1; }
  .ft-col:nth-child(4) { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .ft-col:nth-child(4) h5 { grid-column: 1 / -1; }
  .ft-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .cta-btns { flex-direction: column; }

  .method, .services-showcase, .testimonials-section, .products-section { padding: 80px var(--gutter); }
  .cta-section { padding: 80px var(--gutter); }
}


/* ==================== GLOBAL IMAGE DEFAULTS v1.8 ==================== */
.story-img-side img { object-position: center top !important; }
.hero-img { object-position: center center !important; }
.svc-card { background-size: cover !important; background-position: center center !important; }
.svc-page-img img { object-fit: cover !important; object-position: center center !important; }
.pc-img img { object-fit: cover !important; object-position: center center !important; }
.story-img-main { object-fit: cover !important; object-position: center top !important; }
/* ── Contact Form Styles ── */
.tomyb-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.tomyb-form .form-group {
  margin-bottom: 20px;
}
.tomyb-form label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.tomyb-form label span {
  color: var(--copper);
}
.tomyb-form input,
.tomyb-form select,
.tomyb-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--warm-white);
  border: 1px solid var(--greige);
  border-radius: 6px;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}
.tomyb-form input:focus,
.tomyb-form select:focus,
.tomyb-form textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.1);
}
.tomyb-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A4845' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.tomyb-form textarea {
  resize: vertical;
  min-height: 100px;
}
.form-status {
  margin-top: 16px;
  padding: 14px 20px;
  border-radius: 6px;
  font-size: 0.9rem;
  text-align: center;
}
.form-status.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}
.form-status.error {
  background: #fbe9e7;
  color: #c62828;
  border: 1px solid #ffccbc;
}
.form-status-mini {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  text-align: center;
}
.form-status-mini.success {
  background: rgba(46, 125, 50, 0.15);
  color: #a5d6a7;
}
.form-status-mini.error {
  background: rgba(198, 40, 40, 0.15);
  color: #ef9a9a;
}

/* Footer mini form */
.tomyb-form-mini input,
.tomyb-form-mini select,
.tomyb-form-mini textarea {
  width: 100%;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--warm-white);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  margin-bottom: 8px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}
.tomyb-form-mini input::placeholder,
.tomyb-form-mini textarea::placeholder {
  color: var(--greige);
}
.tomyb-form-mini select {
  color: var(--greige);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B5ADA3' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.tomyb-form-mini select option {
  background: var(--charcoal);
  color: var(--warm-white);
}
.tomyb-form-mini input:focus,
.tomyb-form-mini select:focus,
.tomyb-form-mini textarea:focus {
  outline: none;
  border-color: var(--copper);
}
.tomyb-form-mini textarea {
  resize: vertical;
  min-height: 60px;
}

/* Mobile form */
@media (max-width: 600px) {
  .tomyb-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
