/* =====================================================
   JUDY COLLINS HOMES
   PACIFIC NORTHWEST 2026 DESIGN SYSTEM

   CSS PART 1
   RESET + FOUNDATION + HEADER
===================================================== */


/* ===============================
   ROOT VARIABLES
================================ */

:root {
  --forest: #23413A;
  --evergreen: #18332D;
  --sage: #82977B;
  --mist: #EEF2EC;
  --sand: #D8C29D;
  --cream: #F8F6F1;
  --white: #FFFFFF;
  --charcoal: #263238;
  --gray: #66716C;
  --light-gray: #E7E5DF;

  --shadow: 0 20px 50px rgba(0, 0, 0, .08);

  --radius: 28px;

  --transition: all .3s ease;
}


/* ===============================
   RESET
================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--forest);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--sage);
}

ul {
  padding-left: 1.25rem;
}

button,
input,
textarea {
  font-family: inherit;
}


/* ===============================
   CONTAINER SYSTEM
================================ */

.container {
  width: min(1280px, 94%);
  margin: 0 auto;
}


/* ===============================
   TYPOGRAPHY
================================ */

h1,
h2,
h3,
h4 {
  margin-top: 0;
  line-height: 1.15;
  font-weight: 700;
  color: var(--evergreen);
}

h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -.03em;
}

h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: -.02em;
}

h3 {
  font-size: 1.2rem;
}

p {
  color: var(--gray);
  max-width: 760px;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}


/* ===============================
   HEADER
================================ */

.site-header {
  background: rgba(248, 246, 241, .92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}


.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
}


/* ===============================
   LOGO
================================ */

.logo-link {
  display: flex;
  align-items: center;
  gap: 15px;
}

.site-logo {
  width: 220px;
  height: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--forest);
}

.logo-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--sage);
}

.logo-area {
  font-size: .8rem;
  color: var(--gray);
}


/* ===============================
   NAVIGATION
================================ */

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 600;
  color: var(--forest);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--sand);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}


/* ===============================
   DROPDOWN SUPPORT
================================ */

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;

  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1rem;
  min-width: 220px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition: var(--transition);
  pointer-events: none;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu li {
  margin-bottom: .5rem;
}

.dropdown-menu a {
  display: block;
  padding: .5rem;
}


/* ===============================
   MOBILE HEADER PREP
================================ */

@media (max-width: 900px) {

  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

}
/* =====================================================
   JUDY COLLINS HOMES
   PACIFIC NORTHWEST 2026 DESIGN SYSTEM

   CSS PART 2
   HERO + CONTENT + CARDS + CTA
===================================================== */


/* ===============================
   STICKY CALL BUTTON
================================ */

.sticky-call {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 999;

  background: var(--sand);
  color: var(--evergreen);

  padding: 14px 24px;
  border-radius: 50px;

  font-weight: 700;
  box-shadow: var(--shadow);

  transition: var(--transition);
}

.sticky-call:hover {
  background: var(--forest);
  color: var(--white);
}


/* ===============================
   HERO
================================ */

.hero {
  min-height: 420px;
  display: flex;
  align-items: flex-start;

  background:
    linear-gradient(
      rgba(24, 51, 45, .75),
      rgba(24, 51, 45, .75)
    );

  background-size: cover;
  background-position: center;

  padding: 4rem 0 6rem;
}

.hero h1 {
  max-width: 900px;
  color: var(--white);
  margin: 0;
}

.hero p {
  color: rgba(255, 255, 255, .9);
  font-size: 1.1rem;
  max-width: 720px;
  margin-bottom: 2rem;
}

.hero-buttons,
.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ===============================
   HERO IMAGE SUPPORT
================================ */

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-text {
  flex: 1;
}

.hero-image {
  flex: 0 0 450px;
}

.hero-image img {
  width: 100%;
  height: auto;
}

.valuation-hero {
  min-height: auto;
  padding: 2.5rem 0;
}

.city-hero {
  background-position: center;
}


/* ===============================
   BUTTON SYSTEM
================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 32px;

  border-radius: 50px;
  border: 2px solid transparent;

  font-weight: 700;
  cursor: pointer;

  transition: var(--transition);
}

.btn-primary {
  background: var(--sand);
  color: var(--evergreen);
}

.btn-primary:hover {
  background: var(--white);
  transform: translateY(-3px);
}

.btn-secondary {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--evergreen);
}


/* ===============================
   GENERAL SECTIONS
================================ */

.section {
  padding: 3.5rem 0;
}

.section:nth-child(even) {
  background: var(--mist);
}


/* ===============================
   VALUATION CARD
================================ */

.valuation-form-section {
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.valuation-card {
  margin-top: -60px;
  position: relative;
  z-index: 5;
}

.card-inner {
  background: var(--white);

  border-radius: var(--radius);

  padding: 2rem;

  box-shadow: var(--shadow);

  text-align: center;
}

.card-inner h2 {
  margin-bottom: 1rem;
}


/* ===============================
   FORM SYSTEM
================================ */

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 1rem;

  margin-top: 2rem;
}

.form-grid input {
  padding: 15px 18px;

  border-radius: 50px;
  border: 1px solid var(--light-gray);

  background: var(--cream);
  color: var(--charcoal);
}

.form-grid input:focus {
  outline: none;
  border-color: var(--sage);
}

.form-grid button {
  border: none;
}


/* ===============================
   MODERN VALUATION FORM
================================ */

.form-card {
  max-width: 900px;
  margin: 0 auto;

  background: var(--white);

  padding: 3rem;

  border-radius: var(--radius);

  box-shadow: var(--shadow);
}

.valuation-form {
  margin-top: 2rem;
}

.form-grid-modern {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  margin-bottom: .5rem;

  font-weight: 600;
  color: var(--forest);
}

.form-group input,
.form-group textarea {
  width: 100%;

  padding: 16px 18px;

  border: 1px solid var(--light-gray);
  border-radius: 16px;

  background: var(--cream);
  color: var(--charcoal);

  transition: var(--transition);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;

  border-color: var(--sage);
  background: var(--white);
}

.full-btn {
  width: 100%;
  margin-top: 1.5rem;
}

.form-disclaimer {
  margin-top: 15px;

  font-size: .85rem;

  color: #666;

  line-height: 1.5;

  text-align: center;
}


/* ===============================
   CARD SYSTEM
================================ */

.card {
  background: var(--white);

  border-radius: var(--radius);

  padding: 1.5rem;

  box-shadow: var(--shadow);

  border: 1px solid rgba(0, 0, 0, .04);

  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
}

.card h3 {
  color: var(--forest);
}

.card p {
  color: var(--gray);
}

.market-tag {
    display: inline-block;

    background: var(--mist);
    color: var(--forest);

    padding: 6px 14px;

    border-radius: 50px;

    font-size: .85rem;
    font-weight: 700;

    margin-bottom: 1rem;

    text-decoration: none;
    transition: all .2s ease;
}
.market-tag:hover {
    background: var(--forest);
    color: #fff;
}

/* ===============================
   GRID LAYOUTS
================================ */

.grid,
.hub-grid,
.cards {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 1.5rem;
}


/* ===============================
   TRUST LISTS
================================ */

.feature-list,
.trust-list {
  list-style: none;
  padding: 0;
}

.feature-list li,
.trust-list li {
  padding: .6rem 0;

  color: var(--gray);
}


/* ===============================
   FINAL CTA
================================ */

.final-cta {
  background: var(--forest);

  border-radius: 28px;

  padding: 2.5rem;

  max-width: 900px;

  margin: 0 auto;

  text-align: center;

  color: var(--white);
}

.final-cta h2 {
  color: var(--white);
}

.final-cta p {
  color: rgba(255, 255, 255, .85);

  margin: 1rem auto 2rem;
}


/* ===============================
   ABOUT / TRUST SECTIONS
================================ */

.trust-proof,
.about,
.services,
.intent-hubs {
  padding: 3.5rem 0;
}

.about-flex {
  display: flex;

  gap: 1.75rem;

  align-items: center;
}

.about-photo{
    width:380px;
    max-width:100%;
    border-radius:20px;
    object-fit:cover;
    flex-shrink:0;
}
/* =====================================================
   JUDY COLLINS HOMES
   PACIFIC NORTHWEST 2026 DESIGN SYSTEM

   CSS PART 3
   FAQ + FOOTER + ANIMATIONS + RESPONSIVE
===================================================== */


/* ===============================
   FAQ BUBBLE SYSTEM
================================ */

.faq {
  background: var(--mist);
}

.faq-item {
  background: var(--white);

  border-radius: 30px;

  padding: 1.5rem 2rem;

  margin-bottom: 1.2rem;

  box-shadow: var(--shadow);

  border: 1px solid rgba(0, 0, 0, .04);

  transition: var(--transition);
}

.faq-item:hover {
  transform: translateY(-3px);
}

.faq-question {
  width: 100%;

  display: flex;

  justify-content: space-between;

  align-items: center;

  background: none;

  border: none;

  padding: 0;

  cursor: pointer;

  text-align: left;

  font-size: 1.15rem;

  font-weight: 700;

  color: var(--forest);
}

.faq-question::after {
  content: "+";

  font-size: 1.8rem;

  color: var(--sage);

  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
  max-height: 0;

  overflow: hidden;

  opacity: 0;

  transition: .35s ease;
}

.faq-answer p {
  margin-bottom: 0;
}

.faq-item.active .faq-answer {
  max-height: 300px;

  opacity: 1;
}


/* ===============================
   FOOTER
================================ */

.site-footer {
  background: var(--evergreen);

  color: var(--white);

  padding: 3rem 0 1rem;

  margin-top: 4rem;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, .85);
}

.site-footer a:hover {
  color: var(--sand);
}

.footer-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 2rem;
}

.footer-section h3 {
  color: var(--sand);
}

.footer-bottom {
  margin-top: 3rem;

  padding-top: 1.5rem;

  border-top: 1px solid rgba(255, 255, 255, .15);

  text-align: center;
}

.footer-bottom p {
  margin: 0 auto;

  color: rgba(255, 255, 255, .65);
}


/* ===============================
   ANIMATIONS
================================ */

.reveal {
  opacity: 0;

  transform: translateY(30px);

  transition:
    opacity .7s ease,
    transform .7s ease;
}

.reveal.visible {
  opacity: 1;

  transform: translateY(0);
}


/* ===============================
   TESTIMONIAL SUPPORT
================================ */

.testimonial {
  opacity: 0;

  position: absolute;

  transition: opacity .6s ease;
}

.testimonial.active {
  opacity: 1;

  position: relative;
}


/* ===============================
   MOBILE DROPDOWN RESET
================================ */

@media (max-width: 900px) {

  .dropdown-menu {
    position: static;

    box-shadow: none;

    background: transparent;

    padding-left: 1rem;
  }

}


/* ===============================
   TABLET
================================ */

@media (max-width: 1000px) {

  .grid,
  .cards,
  .hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

}


/* ===============================
   MOBILE
================================ */

@media (max-width: 700px) {

  body {
    font-size: 15px;
  }

  h1 {
    font-size: 2.3rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .container {
    width: 90%;
  }

  .hero {
    min-height: 520px;

    padding: 4rem 0;
  }

  .hero-content {
    flex-direction: column;

    text-align: center;

    gap: 2rem;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-image {
    flex: none;

    width: 100%;

    max-width: 350px;
  }

  .hero-image img {
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;

    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .grid,
  .cards,
  .hub-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-inner,
  .final-cta {
    padding: 2rem 1.5rem;

    border-radius: 24px;
  }

  .valuation-card {
    margin-top: -30px;
  }

  .sticky-call {
    right: 15px;

    bottom: 15px;

    padding: 12px 20px;
  }


  /* About */

  .about-flex {
    flex-direction: column;

    text-align: center;
  }

  .about-photo {
    width: 70%;

    max-width: 260px;
  }


  /* Forms */

  .form-card {
    padding: 2rem 1.5rem;
  }

  .form-grid-modern {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: auto;
  }

}


/* ===============================
   MOBILE HEADER MENU
================================ */

.menu-toggle {
  display: none;

  font-size: 2rem;

  background: none;

  border: none;

  cursor: pointer;

  color: var(--forest);
}


@media (max-width: 900px) {

  .navbar {
    flex-direction: row;

    align-items: center;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;

    top: 90px;

    left: 0;

    right: 0;

    flex-direction: column;

    background: var(--cream);

    padding: 1rem 1.5rem;

    display: none;

    box-shadow: var(--shadow);

    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    padding: 12px 0;

    display: block;
  }

  .dropdown-menu {
    position: static;

    display: none;

    opacity: 1;

    visibility: visible;

    transform: none;

    box-shadow: none;

    padding-left: 1rem;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

}


/* ===============================
   ACCESSIBILITY
================================ */

:focus-visible {
  outline: 3px solid var(--sand);

  outline-offset: 4px;
}

::selection {
  background: var(--sand);

  color: var(--evergreen);
}


/* ===============================
   FINAL HERO OVERRIDES
================================ */

.hero h1 {
  font-size: clamp(2rem, 2.6vw, 2.5rem);

  line-height: 1.15;
}

.hero p {
  margin-bottom: 1rem;
}



/* ===============================
   TABLE OF CONTENTS
================================ */

.toc-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;

  max-width: 900px;
  margin: 0 auto;
}

.toc-links a {
  display: block;

  background: var(--white);
  color: var(--forest);

  padding: 1rem 1.25rem;

  border-radius: 18px;

  font-weight: 700;

  border: 1px solid rgba(0, 0, 0, .05);

  box-shadow: var(--shadow);

  transition: var(--transition);
}

.toc-links a:hover {
  background: var(--forest);
  color: var(--white);

  transform: translateY(-4px);
}

.toc-links a:focus-visible {
  outline: 3px solid var(--sand);
  outline-offset: 4px;
}

@media (max-width: 700px) {
  .toc-links {
    grid-template-columns: 1fr;
  }
}


/* ===============================
   CENTERED SECTION INTRO TEXT
================================ */

.section-intro{
    max-width:1000px;
    margin:0 auto 2.5rem;
    text-align:center;
    line-height:1.8;
}