/* ==========================================================
   Worx Performance — site styles
   White background, black type, photography-led.
   ========================================================== */

:root {
  --black: #0b0b0b;
  --ink: #161616;
  --gray-700: #3d3d3d;
  --gray-500: #6b6b6b;
  --gray-300: #c9c9c9;
  --gray-200: #e4e4e4;
  --gray-100: #f3f3f3;
  --white: #ffffff;
  --radius: 4px;
  --wrap: 1180px;
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.02;
  margin: 0 0 0.5em;
  color: var(--black);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--gray-700); max-width: 640px; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 14px;
}
.muted { color: var(--gray-500); }
.small { font-size: 0.88rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--white); color: var(--black); }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--black); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.text-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--black);
  padding-bottom: 2px;
}
.text-link:hover { color: var(--gray-500); border-color: var(--gray-500); }

/* ---------- Header / nav ---------- */
.topbar {
  background: var(--black);
  color: var(--white);
  font-size: 0.82rem;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: blur(6px);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo {
  font-family: var(--head);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--black);
  line-height: 1;
}
.logo span { font-weight: 800; }
.logo img { height: 58px; width: auto; }
.logo-foot img { height: 96px; }
@media (max-width: 600px) { .logo img { height: 50px; } }
.menu { display: flex; align-items: center; gap: 30px; }
.menu > a, .dd-btn {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
}
.menu > a:hover, .dd-btn:hover { color: var(--gray-500); }
.menu > a[aria-current="page"] { border-bottom: 2px solid var(--black); }
.menu > a.nav-call { padding: 11px 18px; font-size: 0.9rem; color: var(--white); background: var(--black); border: 2px solid var(--black); }
.menu > a.nav-call:hover { color: var(--black); background: var(--white); }

.dropdown { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 6px; }
.dd-btn svg { width: 12px; height: 12px; transition: transform .2s; }
.dd-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -18px;
  min-width: 270px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
  padding: 8px;
  display: none;
}
.dd-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.dd-menu a {
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.dd-menu a small { display: block; color: var(--gray-500); font-weight: 400; font-size: 0.8rem; }
.dd-menu a:hover { background: var(--gray-100); }
.dropdown.open .dd-menu { display: block; }
.dropdown.open .dd-btn svg { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 961px) {
  .dropdown:hover .dd-menu { display: block; }
  .dropdown:hover .dd-btn svg { transform: rotate(180deg); }
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .menu {
    display: none;
    position: absolute;
    top: 84px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 8px 24px 24px;
    box-shadow: 0 16px 30px rgba(0,0,0,.08);
  }
  .menu.open { display: flex; }
  .menu > a, .dd-btn { padding: 14px 0; border-bottom: 1px solid var(--gray-200); width: 100%; text-align: left; justify-content: space-between; }
  .menu > a[aria-current="page"] { border-bottom: 1px solid var(--gray-200); font-weight: 700; }
  .dd-menu { position: static; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
  .menu > a.nav-call { margin-top: 18px; text-align: center; justify-content: center; border-bottom: 2px solid var(--black); }
  .topbar .hide-sm { display: none; }
}

/* ---------- Photo placeholders ----------
   Replace each <div class="photo" ...> with an <img> once photos arrive. */
.photo {
  position: relative;
  background: linear-gradient(135deg, #e9e9e9 0%, #d6d6d6 100%);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
}
.photo::after {
  content: attr(data-label);
  margin: 14px;
  padding: 6px 10px;
  background: rgba(255,255,255,.88);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-700);
}
.photo.has-img { background: #ddd; }
.photo.has-img::after { display: none; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery .photo { min-height: 0; aspect-ratio: 4 / 5; }
@media (max-width: 960px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .gallery { gap: 10px; } }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero .photo { min-height: 480px; }
.hero h1 { margin-bottom: 20px; }
.hero-sub { padding: 64px 0 56px; border-bottom: 1px solid var(--gray-200); }
.hero-sub .hero-grid { grid-template-columns: 1.1fr 1fr; }
.hero-sub .photo { min-height: 380px; }
.crumbs { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 26px 20px; border-left: 1px solid var(--gray-200); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item strong { display: block; font-family: var(--head); font-size: 1.35rem; text-transform: uppercase; line-height: 1.1; }
.trust-item span { font-size: 0.88rem; color: var(--gray-500); }

/* ---------- Sections ---------- */
section { scroll-margin-top: 90px; }
.section { padding: 96px 0; }
.section-alt { background: var(--gray-100); }
.section-dark { background: var(--black); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .lead, .section-dark .muted { color: #bdbdbd; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head p { margin: 0; max-width: 520px; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--gray-200); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.card .photo { min-height: 230px; border-radius: 0; }
.card-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.card-num { font-family: var(--head); font-size: 1rem; color: var(--gray-500); font-weight: 600; letter-spacing: .1em; }
.card h3 { margin: 6px 0 12px; }
.card p { color: var(--gray-700); font-size: 0.96rem; }
.specs { list-style: none; padding: 0; margin: 8px 0 24px; border-top: 1px solid var(--gray-200); }
.specs li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray-200); font-size: 0.92rem; }
.specs li span:first-child { color: var(--gray-500); }
.specs li span:last-child { font-weight: 600; text-align: right; }
.card .text-link { margin-top: auto; align-self: flex-start; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .photo { min-height: 440px; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px solid var(--gray-200); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.section-dark .checks li { border-color: #2c2c2c; }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--gray-200); border-left: 1px solid var(--gray-200); }
.feature { padding: 32px 28px; border-right: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.feature h3 { font-size: 1.35rem; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--gray-700); font-size: 0.95rem; }
.section-alt .feature { background: var(--white); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-grid.two { grid-template-columns: repeat(2, 1fr); }
.price-card { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 32px 28px; background: var(--white); display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--black); }
.price-card .tag { font-size: 0.72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 10px; }
.price-card h3 { margin-bottom: 4px; }
.price { font-family: var(--head); font-size: 3rem; font-weight: 700; line-height: 1; margin: 14px 0 6px; color: var(--black); }
.price small { font-family: var(--body); font-size: 0.85rem; font-weight: 500; color: var(--gray-500); margin-right: 6px; text-transform: uppercase; letter-spacing: .08em; }
.price-card ul { padding-left: 18px; margin: 16px 0 24px; color: var(--gray-700); font-size: 0.95rem; }
.price-card ul li { margin-bottom: 6px; }
.price-card .btn { margin-top: auto; }

.price-table { width: 100%; border-collapse: collapse; background: var(--white); }
.price-table th, .price-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--gray-200); }
.price-table th { font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-500); font-weight: 600; }
.price-table td:last-child, .price-table th:last-child { text-align: right; font-weight: 700; }
.price-table tr:last-child td { border-bottom: 0; }
.table-wrap { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.note { font-size: 0.88rem; color: var(--gray-500); margin-top: 18px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { border-top: 2px solid var(--black); padding-top: 18px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--head); font-size: 1rem; font-weight: 600; color: var(--gray-500); letter-spacing: .1em; }
.step h3 { font-size: 1.3rem; margin: 6px 0 8px; }
.step p { font-size: 0.95rem; color: var(--gray-700); margin: 0; }
.section-dark .step { border-color: var(--white); }
.section-dark .step p { color: #bdbdbd; }

/* ---------- Reviews ---------- */
.rating { display: flex; align-items: center; gap: 14px; }
.rating .big { font-family: var(--head); font-size: 3.4rem; font-weight: 700; line-height: 1; }
.stars { color: var(--black); letter-spacing: 3px; font-size: 1.1rem; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; background: var(--white); display: flex; flex-direction: column; }
.review p { font-size: 0.98rem; color: var(--gray-700); }
.review .who { margin-top: auto; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 0.92rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--black); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; }
.review.placeholder { border-style: dashed; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--gray-200); }
.faq details:first-child { border-top: 1px solid var(--gray-200); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  position: relative;
  font-weight: 600;
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.6rem; font-weight: 300; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--gray-700); padding-right: 40px; }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.area { border: 1px solid var(--gray-200); padding: 28px; border-radius: var(--radius); background: var(--white); }
.area h3 { font-size: 1.5rem; margin-bottom: 8px; }
.area p { margin: 0; color: var(--gray-700); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta { background: var(--black); color: var(--white); padding: 80px 0; }
.cta-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.cta h2 { color: var(--white); margin-bottom: 12px; }
.cta p { color: #bdbdbd; margin: 0; }
.cta .btn-row { justify-content: flex-end; margin-top: 0; }
.cta .btn-light { border-color: var(--white); }
.cta .btn-light:hover { background: transparent; color: var(--white); }
.cta .btn-outline { background: transparent; color: var(--white); border-color: #555; }
.cta .btn-outline:hover { border-color: var(--white); }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 20px 0; border-bottom: 1px solid var(--gray-200); }
.info-list li:first-child { border-top: 1px solid var(--gray-200); }
.info-list .label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 4px; }
.info-list a { font-weight: 600; text-decoration: none; }
.info-list a:hover { text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours td { padding: 3px 0; }
.hours td:last-child { text-align: right; }

.form { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 36px; background: var(--white); }
.form h2 { font-size: 2rem; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label, legend { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
input[type=text], input[type=tel], input[type=email], select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font: inherit;
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--black); outline-offset: 0; border-color: var(--black); }
textarea { min-height: 120px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.92rem;
  cursor: pointer;
  user-select: none;
}
.choice input:checked + span { background: var(--black); color: var(--white); border-color: var(--black); }
.choice input:focus-visible + span { outline: 2px solid var(--black); outline-offset: 2px; }
.hidden { display: none; }
.form-msg { margin-top: 16px; padding: 14px 16px; background: var(--gray-100); border-left: 3px solid var(--black); font-size: 0.95rem; display: none; }
.form-msg.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--gray-200); padding: 64px 0 28px; font-size: 0.93rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { font-size: 1.05rem; letter-spacing: .06em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; color: var(--gray-700); }
.site-footer a:hover { color: var(--black); text-decoration: underline; }
.site-footer address { font-style: normal; color: var(--gray-700); }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--gray-200); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--gray-500); font-size: 0.84rem; }

/* ---------- Mobile call bar ---------- */
.call-bar { display: none; }
@media (max-width: 720px) {
  .call-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 60;
    border-top: 1px solid var(--gray-200);
    background: var(--white);
  }
  .call-bar a { padding: 15px; text-align: center; font-weight: 700; text-decoration: none; font-size: 0.95rem; }
  .call-bar a:first-child { background: var(--black); color: var(--white); }
  body { padding-bottom: 54px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .hero-sub .hero-grid, .split, .contact-grid, .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 64px; }
  .hero .photo { min-height: 320px; }
  .split .photo { min-height: 320px; }
  .cards, .reviews, .price-grid, .areas { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--gray-200); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta .btn-row { justify-content: flex-start; }
  .section { padding: 72px 0; }
  .price-grid.two { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .features, .steps, .field-row, .foot-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--gray-200); }
  .trust-item:first-child { border-top: 0; }
  .form { padding: 24px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .menu .nav-call { width: 100%; }
}

/* ---------- Packages / map ---------- */
.price .was { font-family: var(--body); font-size: 1.1rem; font-weight: 500; color: var(--gray-500); margin-left: 8px; }
.map-section { padding: 0 0 96px; }
.map { position: relative; height: 420px; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; background: var(--gray-100); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; }
.map-fallback { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--black); }
@media (max-width: 600px) { .map { height: 320px; } .map-section { padding-bottom: 64px; } }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--gray-300); border-radius: 50%; color: var(--black); }
.social a:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.social svg { width: 18px; height: 18px; }
