/*
Theme Name: Remodeling Veterans
Theme URI: https://remodelingveterans.com/
Author: Remodeling Veterans
Author URI: https://remodelingveterans.com/
Description: A high-conversion native WordPress theme for a premium Silicon Valley home remodeling and general contractor company.
Version: 1.0.1
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: remodeling-veterans
*/

:root {
  --rv-ink: #151515;
  --rv-ink-soft: #292826;
  --rv-paper: #fbfaf7;
  --rv-sand: #efe8dd;
  --rv-white: #ffffff;
  --rv-copper: #b8753f;
  --rv-copper-dark: #8f5429;
  --rv-sage: #4d6658;
  --rv-mist: #e8eeea;
  --rv-line: rgba(21, 21, 21, 0.12);
  --rv-shadow: 0 24px 70px rgba(21, 21, 21, 0.16);
  --rv-radius: 8px;
  --rv-max: 1180px;
  --rv-header-height: 84px;
  --rv-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rv-serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--rv-paper);
  color: var(--rv-ink);
  font-family: var(--rv-font);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-header {
  top: 32px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-main {
  overflow: hidden;
}

.rv-container {
  width: min(calc(100% - 40px), var(--rv-max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--rv-header-height);
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--rv-header-height);
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand svg {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
}

.brand__text {
  display: grid;
  gap: 0;
}

.brand__name {
  color: var(--rv-ink);
  font-family: var(--rv-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.brand__tag {
  color: rgba(21, 21, 21, 0.68);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius);
  background: var(--rv-white);
  color: var(--rv-ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
}

.nav-toggle {
  flex-direction: column;
  gap: 5px;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  flex: 1;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav a {
  color: rgba(21, 21, 21, 0.76);
  font-size: 14px;
  font-weight: 800;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  color: var(--rv-ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rv-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--rv-radius);
  background: var(--rv-copper);
  color: var(--rv-white);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 14px 32px rgba(184, 117, 63, 0.27);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.rv-button:hover {
  background: var(--rv-copper-dark);
  transform: translateY(-1px);
}

.rv-button--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--rv-white);
  box-shadow: none;
}

.rv-button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.rv-button--outline {
  background: var(--rv-white);
  border-color: rgba(21, 21, 21, 0.15);
  color: var(--rv-ink);
  box-shadow: none;
}

.rv-button--outline:hover {
  background: var(--rv-ink);
  border-color: var(--rv-ink);
  color: var(--rv-white);
}

.phone-link {
  color: var(--rv-ink);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--rv-header-height));
  padding: 84px 0 56px;
  background-position: center;
  background-size: cover;
  color: var(--rv-white);
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 10, 0.86) 0%, rgba(11, 11, 10, 0.58) 43%, rgba(11, 11, 10, 0.18) 100%),
    linear-gradient(0deg, rgba(11, 11, 10, 0.68) 0%, rgba(11, 11, 10, 0) 35%);
  content: "";
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 36px;
  height: 1px;
  background: var(--rv-copper);
  content: "";
}

.hero h1,
.page-hero h1,
.section-heading h2,
.service-detail h1 {
  margin: 0;
  font-family: var(--rv-serif);
  font-weight: 700;
  line-height: 1.02;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(46px, 7vw, 88px);
}

.hero__copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin-top: 42px;
}

.proof-item {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--rv-radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.proof-item strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
}

.proof-item span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.35;
}

.lead-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--rv-radius);
  background: rgba(251, 250, 247, 0.96);
  color: var(--rv-ink);
  box-shadow: var(--rv-shadow);
}

.lead-card__header {
  padding: 26px 28px 0;
}

.lead-card__header h2 {
  margin: 0;
  color: var(--rv-ink);
  font-family: var(--rv-serif);
  font-size: 30px;
  line-height: 1.1;
}

.lead-card__header p {
  margin: 10px 0 0;
  color: rgba(21, 21, 21, 0.7);
  font-size: 14px;
}

.rv-form {
  display: grid;
  gap: 12px;
  padding: 22px 28px 28px;
}

.rv-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rv-form label {
  display: grid;
  gap: 6px;
  color: rgba(21, 21, 21, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.rv-form input,
.rv-form select,
.rv-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid rgba(21, 21, 21, 0.16);
  border-radius: var(--rv-radius);
  background: var(--rv-white);
  color: var(--rv-ink);
  font: inherit;
  font-size: 15px;
  outline: none;
}

.rv-form textarea {
  min-height: 104px;
  resize: vertical;
}

.rv-form input:focus,
.rv-form select:focus,
.rv-form textarea:focus {
  border-color: var(--rv-copper);
  box-shadow: 0 0 0 3px rgba(184, 117, 63, 0.16);
}

.rv-form__fineprint,
.rv-form__consent {
  color: rgba(21, 21, 21, 0.66);
  font-size: 12px;
  line-height: 1.45;
}

.rv-form__consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 9px;
}

.rv-form__consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--rv-copper);
}

.rv-form__fineprint a,
.rv-form__consent a {
  color: var(--rv-copper-dark);
  font-weight: 900;
  text-decoration: underline;
}

.rv-form__status {
  padding: 12px 14px;
  border-radius: var(--rv-radius);
  background: var(--rv-mist);
  color: var(--rv-sage);
  font-size: 13px;
  font-weight: 900;
}

.rv-form__status--error {
  background: #f7e5dd;
  color: #883c23;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.section {
  padding: 86px 0;
}

.section--light {
  background: var(--rv-white);
}

.section--mist {
  background: var(--rv-mist);
}

.section--dark {
  background: var(--rv-ink);
  color: var(--rv-white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 38px;
}

.section-heading h2 {
  font-size: clamp(34px, 4vw, 56px);
}

.section-heading p {
  max-width: 620px;
  margin: 0;
  color: rgba(21, 21, 21, 0.68);
  font-size: 17px;
}

.section--dark .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius);
  background: var(--rv-line);
}

.trust-item {
  min-height: 164px;
  padding: 26px;
  background: var(--rv-white);
}

.trust-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--rv-mist);
  color: var(--rv-sage);
  font-weight: 900;
}

.trust-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.2;
}

.trust-item p {
  color: rgba(21, 21, 21, 0.66);
  font-size: 14px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius);
  background: var(--rv-white);
  box-shadow: 0 16px 42px rgba(21, 21, 21, 0.06);
}

.service-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--rv-sand);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__media img {
  transform: scale(1.04);
}

.service-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-family: var(--rv-serif);
  font-size: 26px;
  line-height: 1.08;
}

.service-card p {
  color: rgba(21, 21, 21, 0.67);
  font-size: 15px;
}

.service-card__link {
  margin-top: auto;
  color: var(--rv-copper-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.split__image {
  overflow: hidden;
  border-radius: var(--rv-radius);
  box-shadow: var(--rv-shadow);
}

.split__image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: rgba(21, 21, 21, 0.72);
}

.check-list li::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rv-sage);
  color: var(--rv-white);
  content: "";
}

.check-list li::after {
  position: absolute;
  top: 8px;
  left: 6px;
  width: 8px;
  height: 5px;
  border-bottom: 2px solid var(--rv-white);
  border-left: 2px solid var(--rv-white);
  content: "";
  transform: rotate(-45deg);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-step {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--rv-radius);
  background: rgba(255, 255, 255, 0.06);
}

.process-step span {
  color: var(--rv-copper);
  font-size: 14px;
  font-weight: 900;
}

.process-step h3 {
  margin: 18px 0 10px;
  font-size: 21px;
}

.process-step p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.city-grid li {
  padding: 10px 14px;
  border: 1px solid var(--rv-line);
  border-radius: 999px;
  background: var(--rv-white);
  color: rgba(21, 21, 21, 0.76);
  font-size: 14px;
  font-weight: 800;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-item {
  padding: 26px;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius);
  background: var(--rv-white);
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.faq-item p {
  color: rgba(21, 21, 21, 0.68);
  font-size: 15px;
}

.cta-band {
  padding: 58px;
  border-radius: var(--rv-radius);
  background: linear-gradient(135deg, var(--rv-ink) 0%, #24211d 64%, var(--rv-sage) 100%);
  color: var(--rv-white);
}

.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}

.cta-band h2 {
  margin: 0 0 10px;
  font-family: var(--rv-serif);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
}

.cta-band p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.page-hero {
  padding: 78px 0 54px;
  background: var(--rv-ink);
  color: var(--rv-white);
}

.page-hero h1 {
  max-width: 840px;
  font-size: clamp(40px, 6vw, 72px);
}

.page-hero p {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.service-detail {
  padding: 72px 0 86px;
}

.service-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 54px;
}

.service-detail h1 {
  font-size: clamp(40px, 5vw, 68px);
}

.service-detail__media {
  overflow: hidden;
  border-radius: var(--rv-radius);
  box-shadow: var(--rv-shadow);
}

.service-detail__media img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.content-page {
  max-width: 860px;
  padding: 72px 0 86px;
}

.content-page h2,
.content-page h3 {
  margin-top: 2rem;
  line-height: 1.15;
}

.content-page a {
  color: var(--rv-copper-dark);
  font-weight: 900;
  text-decoration: underline;
}

.site-footer {
  background: #11100f;
  color: var(--rv-white);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.75fr));
  gap: 36px;
  padding: 60px 0 42px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 16px;
  font-size: 18px;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer .brand__name,
.site-footer .brand__tag {
  color: var(--rv-white);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 96px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__bottom p {
  margin: 0;
}

.mobile-sticky {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
  background: rgba(251, 250, 247, 0.94);
  border-top: 1px solid var(--rv-line);
  backdrop-filter: blur(16px);
}

.mobile-sticky a {
  min-height: 48px;
}

@media (max-width: 1080px) {
  .hero__inner,
  .split,
  .service-detail__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .lead-card {
    max-width: 560px;
  }

  .service-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 880px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .site-header__inner {
    min-height: 72px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--rv-line);
    border-radius: var(--rv-radius);
    background: var(--rv-white);
    box-shadow: var(--rv-shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav ul,
  .header-actions {
    display: grid;
    gap: 10px;
    justify-content: stretch;
  }

  .primary-nav a,
  .phone-link {
    display: block;
    padding: 8px 0;
  }

  .section-heading,
  .cta-band__inner,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

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

  .mobile-sticky {
    display: grid;
  }

  .site-footer__bottom {
    padding-bottom: 88px;
  }
}

@media (max-width: 640px) {
  :root {
    --rv-header-height: 72px;
  }

  .rv-container {
    width: min(calc(100% - 28px), var(--rv-max));
  }

  .brand {
    min-width: 0;
  }

  .brand svg {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .brand__name {
    font-size: 18px;
  }

  .brand__tag {
    display: none;
  }

  .hero {
    padding: 58px 0 42px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero__copy {
    font-size: 17px;
  }

  .hero__actions,
  .rv-form__row {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    display: grid;
  }

  .rv-button {
    width: 100%;
  }

  .lead-card__header,
  .rv-form {
    padding-right: 18px;
    padding-left: 18px;
  }

  .section {
    padding: 62px 0;
  }

  .service-grid,
  .trust-grid,
  .process-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 34px 22px;
  }

  .split__image img,
  .service-detail__media img {
    min-height: 320px;
  }
}
