/* TMG Builders — shared styles for homepage concepts */
:root {
  --gold: #D09E48;
  --gold-light: #EACD7E;
  --gold-grad: linear-gradient(135deg, #C48F3C 0%, #EACD7E 48%, #D09E48 100%);
  --gold-hover: #DDB063;
  --navy: #181A1E;
  --silver-grad: linear-gradient(90deg, #8F9396, #E6E7E8 50%, #8F9396);
  --navy-deep: #0E0F11;
  --charcoal: #52595D;
  --silver: #A9ACAE;
  --concrete: #F4F3F0;
  --white: #FFFFFF;
  --deep-gold: #86601C;
  --rule: #E3E1DB;
  --muted: #6B7175;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 15, 17, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--charcoal);
  font-family: "Montserrat", Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 14px; }
h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0 0 14px; }

.container { width: min(1180px, 100% - 32px); margin: 0 auto; }
section { padding: 88px 0; position: relative; }
.section-alt { background: var(--concrete); }
.section-dark { background: var(--navy); color: #C9CCCF; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--deep-gold); margin-bottom: 12px; }
.section-dark .eyebrow, .on-dark .eyebrow { color: var(--gold); }
.lead { font-size: 18px; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer;
  font: 700 14px/1 "Montserrat", Arial, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  padding: 17px 28px; border-radius: 999px; transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold-grad); color: var(--navy); box-shadow: 0 6px 18px rgba(208, 158, 72, 0.35); }
.btn-gold:hover { background: var(--gold-hover); filter: brightness(1.06); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,0.5); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--white); }
.btn-outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-sm { padding: 12px 20px; font-size: 12.5px; }
.btn svg { flex-shrink: 0; }

/* Top bar + header */
.topbar { background: var(--navy-deep); color: #BFC3C7; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; flex-wrap: wrap; }
.topbar a { color: var(--gold); text-decoration: none; font-weight: 600; }
.site-header { background: var(--white); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 40; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 58px; width: auto; display: block; }
.brand .bname { font-weight: 700; font-size: 15px; letter-spacing: 0.12em; color: var(--navy); line-height: 1.15; }
.brand .bname small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; color: var(--muted); }
.nav { display: flex; gap: 26px; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--charcoal); }
.nav a:hover { color: var(--navy); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.phone-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); text-decoration: none; font-size: 15px; }

/* Photo placeholders */
.photo {
  position: relative; overflow: hidden; border-radius: var(--radius); min-height: 220px;
  background:
    radial-gradient(120% 80% at 20% 10%, rgba(255,255,255,0.55), transparent 60%),
    linear-gradient(135deg, #DCD8D0 0%, #C9C3B8 45%, #B9B2A5 100%);
}
.photo.dark { background: radial-gradient(120% 80% at 70% 20%, rgba(255,255,255,0.12), transparent 60%), linear-gradient(135deg, #4B525A, #2A313F); }
.photo.warm { background: radial-gradient(120% 80% at 30% 20%, rgba(255,255,255,0.5), transparent 60%), linear-gradient(135deg, #E6DCC8, #CDBB98); }
.photo.marble {
  background:
    linear-gradient(115deg, transparent 40%, rgba(160,160,160,0.25) 41%, transparent 43%),
    linear-gradient(65deg, transparent 60%, rgba(150,150,150,0.18) 61%, transparent 62.5%),
    linear-gradient(160deg, transparent 20%, rgba(170,170,170,0.2) 21%, transparent 22%),
    linear-gradient(135deg, #F2F0EC, #DEDAD3);
}
.photo .ph-label {
  position: absolute; left: 14px; bottom: 14px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  background: rgba(14,15,17,0.72); color: #fff; padding: 5px 10px; border-radius: 999px;
}

/* Placeholder text needing real TMG info */
.ph { background: rgba(208,158,72,0.18); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 3px; padding: 0 3px; }
.section-dark .ph, .on-dark .ph { background: rgba(208,158,72,0.22); }

/* Cards */
.card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.stars { color: var(--gold); letter-spacing: 2px; font-size: 16px; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23181A1E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* Review card */
.review { display: flex; flex-direction: column; gap: 12px; }
.review blockquote { margin: 0; font-size: 15.5px; color: var(--charcoal); }
.review .who { display: flex; align-items: center; gap: 12px; font-size: 13.5px; margin-top: auto; }
.review .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--concrete); color: var(--navy); display: grid; place-items: center; font-weight: 700; }
.review .who b { color: var(--navy); display: block; }
.review .src { font-size: 12px; color: var(--muted); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--rule); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--navy); font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--deep-gold); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  font: 400 15px "Montserrat", Arial, sans-serif; padding: 13px 14px; border: 1.5px solid var(--rule); border-radius: 10px; background: var(--white); color: var(--navy);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(208,158,72,0.2); }
.micro { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }

/* Before / after slider */
.ba { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; user-select: none; touch-action: none; cursor: ew-resize; }
.ba .photo { position: absolute; inset: 0; border-radius: 0; min-height: 0; }
.ba .after { clip-path: inset(0 0 0 50%); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--white); transform: translateX(-50%); }
.ba .handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--navy); font-weight: 700; display: grid; place-items: center; box-shadow: var(--shadow);
}
.ba .tag { position: absolute; top: 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(14,15,17,0.75); color: #fff; padding: 5px 10px; border-radius: 999px; }
.ba .tag.l { left: 14px; } .ba .tag.r { right: 14px; }
.photo.before { background: repeating-linear-gradient(90deg, #8E8778 0 60px, #847D6E 60px 62px), #8E8778; filter: saturate(0.6); }

/* Footer */
.site-footer { border-top: 3px solid transparent; border-image: var(--silver-grad) 1; background: var(--navy-deep); color: #9EA3A8; font-size: 14px; padding: 56px 0 28px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: var(--white); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #C9CCCF; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 40px; padding-top: 20px; font-size: 12.5px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Sticky mobile action bar */
.mobile-bar { display: none; }

/* Concept chrome: label + strategy notes */
.concept-chip {
  position: fixed; left: 16px; bottom: 16px; z-index: 90; display: flex; gap: 8px; align-items: center;
  background: var(--navy-deep); color: #fff; font-size: 12px; border-radius: 999px; padding: 6px 6px 6px 14px; box-shadow: var(--shadow);
}
.concept-chip a { color: var(--gold); text-decoration: none; font-weight: 600; }
.concept-chip button { font: 700 11.5px "Montserrat", sans-serif; letter-spacing: 0.04em; border: 0; cursor: pointer; background: var(--gold); color: var(--navy); border-radius: 999px; padding: 8px 12px; }
.note {
  display: none; position: absolute; top: 18px; right: 18px; z-index: 30; max-width: 300px;
  background: #FBF3E2; color: #4A3510; border: 1px solid #E6CFA0; border-left: 4px solid var(--gold);
  border-radius: 10px; padding: 12px 14px; font-size: 12.5px; line-height: 1.5; box-shadow: var(--shadow);
}
.note b { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--deep-gold); margin-bottom: 4px; }
body.show-notes .note { display: block; }

@media (max-width: 960px) {
  .nav { display: none; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .topbar .hide-sm, .header-cta .phone-link span, .header-cta .btn { display: none; }
  .brand img { height: 46px; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    box-shadow: 0 -6px 20px rgba(14,15,17,0.18);
  }
  .mobile-bar a { padding: 16px; text-align: center; font-weight: 700; font-size: 14px; text-decoration: none; text-transform: uppercase; letter-spacing: 0.05em; }
  .mobile-bar .call { background: var(--navy); color: #fff; }
  .mobile-bar .quote { background: var(--gold-grad); color: var(--navy); }
  body { padding-bottom: 54px; }
  .concept-chip { bottom: 66px; }
  .note { position: static; margin: 0 0 16px; max-width: none; }
}

/* Real photos */
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); display: block; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.review .avatar { object-fit: cover; }
.hero-proof .faces .avatar { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--navy); margin-left: -8px; object-fit: cover; }
.hero-proof .faces .avatar:first-child { margin-left: 0; }
.review .who a { color: inherit; text-decoration: none; }

/* Mobile footer */
@media (max-width: 640px) {
  .site-footer { padding: 40px 0 24px; text-align: center; }
  .site-footer .cols { gap: 28px; }
  .site-footer .f-brand img { margin: 0 auto 12px; display: block; }
  .site-footer .f-contact { order: 2; }
  .site-footer .f-links { order: 3; }
  .site-footer .f-contact ul { display: grid; gap: 10px; }
  .site-footer .f-contact li { margin: 0; }
  .site-footer .f-contact a { display: block; padding: 14px 16px; border: 1px solid rgba(255,255,255,0.14); border-radius: 12px; color: var(--white); font-weight: 600; }
  .site-footer .f-contact .hrs { color: #9EA3A8; font-size: 13px; padding-top: 2px; }
  .site-footer .f-links ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .site-footer .f-links li { margin: 0; }
  .site-footer .f-links a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.06); font-size: 13px; }
  .site-footer .legal { flex-direction: column; align-items: center; gap: 6px; margin-top: 28px; padding-bottom: 70px; }
}

@media (max-width: 640px) {
  .topbar .container { justify-content: center; flex-wrap: nowrap; }
  .topbar .tagline { font-size: 12px; letter-spacing: 0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
  .topbar .tagline .area { display: none; }
}
/* Keep the desktop address as plain text (original look); mobile styles it as a button */
.site-footer .f-contact a[href*="maps"] { color: inherit; pointer-events: none; }
.site-footer .f-contact a[href*="maps"]:hover { color: inherit; }
@media (max-width: 640px) {
  .site-footer .f-contact a[href*="maps"] { color: var(--white); pointer-events: auto; }
  .site-footer .f-contact a[href*="maps"]:hover { color: var(--gold); }
}

