
/* ==========================================
   VSL REAL ESTATE GROUP
   COMPLETE WEBSITE STYLESHEET
   ========================================== */

/* ==========================================
   1. COLORS & VARIABLES
   ========================================== */

:root {
  --navy: #102b43;
  --navy-dark: #091e30;
  --blue: #075b97;
  --gold: #e5bc0b;

  --white: #ffffff;
  --text: #172b40;
  --muted: #34495e;
  --soft: #f4f7fa;
  --border: #bdcbd7;

  --container: 1280px;
  --radius: 14px;
  --font-family: Arial, Helvetica, sans-serif;
}

/* ==========================================
   2. GLOBAL STYLES
   ========================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  font-family: var(--font-family);
  font-size: 22px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-wrap: break-word;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

p {
  margin-bottom: 22px;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-weight: 800;
  line-height: 1.25;
}

h1 {
  font-size: clamp(38px, 4vw, 56px);
}

h2 {
  font-size: clamp(32px, 3vw, 42px);
}

h3 {
  font-size: 26px;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.wrap {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 75px 0;
}

.section h2 {
  margin: 14px 0 26px;
}

.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow.gold {
  color: var(--gold);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================
   3. TOP CONTACT BAR
   ========================================== */

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;

  padding: 12px 28px;

  background: var(--navy-dark);
  color: var(--white);

  font-size: 18px;
  font-weight: 700;
}

.top a {
  color: var(--gold);
  font-weight: 800;
}

/* ==========================================
   4. NAVIGATION
   ========================================== */

header.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;

  min-height: 115px;
  padding: 16px 0;
}

.brand img {
  width: 260px;
  height: auto;
}

.nav nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.nav nav a {
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
}

.nav nav a:hover {
  color: var(--blue);
  text-decoration: underline;
}

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

#lang,
.call {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 54px;
  padding: 12px 18px;

  border-radius: 10px;

  font-size: 18px;
  font-weight: 800;
}

#lang {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--border);
}

.call {
  background: var(--gold);
  color: var(--navy-dark);
}

.call:hover {
  background: #f2ca20;
}

/* ==========================================
   5. BUTTONS
   ========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 62px;
  padding: 15px 24px;

  border: 2px solid transparent;
  border-radius: 10px;

  font-size: 21px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.btn.primary {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn.primary:hover {
  background: #f2ca20;
}

.btn.secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
}

.btn.full {
  width: 100%;
}

/* ==========================================
   6. STICKY CASH OFFER BAR
   Hidden until scrolling past Hero
   ========================================== */

.sticky-offer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;

  padding: 8px 0;

  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(16, 43, 67, 0.12);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);

  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    visibility 0.25s ease;
}

/* JavaScript adds this class after Hero */

.sticky-offer.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Sticky bar layout */

.sticky-offer-inner {
  display: flex;
  align-items: center;
  gap: 22px;
}

/* Small logo */

.sticky-offer-brand {
  display: flex;
  align-items: center;
  flex: 0 0 100px;
}

.sticky-offer-brand img {
  width: 100px;
  max-height: 55px;
  height: auto;
  object-fit: contain;
}

/* Address field and button */

.sticky-offer-form {
  display: flex;
  flex: 1;
  min-width: 0;
  height: 52px;
}

.sticky-offer-form input {
  flex: 1;
  min-width: 0;
  width: 100%;

  padding: 0 18px;

  background: var(--white);
  color: var(--navy);

  border: 1px solid var(--border);
  border-right: none;
  border-radius: 10px 0 0 10px;

  font-size: 17px;
}

.sticky-offer-form input::placeholder {
  color: #5d6d7c;
}

/* Gold Request Cash Offer button */

.sticky-offer-form button {
  flex-shrink: 0;

  padding: 0 24px;

  background: var(--gold);
  color: var(--navy);

  border: 1px solid var(--gold);
  border-radius: 0 10px 10px 0;

  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

.sticky-offer-form button:hover {
  background: #f2ca20;
}

/* ==========================================
   7. HERO SECTION
   ========================================== */

.hero {
  padding: 75px 0 90px;

  background: linear-gradient(
    135deg,
    #f7f9fc,
    #eaf2f8
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.intro h1 {
  margin: 20px 0 26px;
}

.lead {
  max-width: 680px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;

  margin-top: 30px;

  color: var(--navy);
  font-size: 19px;
  font-weight: 700;
}

.hero-house {
  width: 100%;
  height: auto;

  border-radius: 18px;
  box-shadow: 0 20px 55px rgba(16, 43, 67, 0.18);
}

/* ==========================================
   8. THREE SIMPLE STEPS
   ========================================== */

.soft {
  background: var(--soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin-top: 42px;
}

.steps article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 32px;

  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.steps article b {
  display: grid;
  place-items: center;
  flex-shrink: 0;

  width: 65px;
  height: 65px;
  margin-bottom: 25px;

  background: var(--navy);
  color: var(--gold);

  border-radius: 50%;
  font-size: 26px;
}

.steps h3 {
  width: 100%;
  min-height: 2.7em;
  margin-bottom: 18px;
}

.steps p {
  width: 100%;
  margin: 0;

  color: var(--muted);
  font-size: 21px;
}

/* ==========================================
   9. SIX BENEFITS
   ========================================== */

.why-section {
  padding: 45px 0;
}

.why-wrap {
  max-width: 1100px;
}

.why-section h2 {
  text-align: center;
  margin: 0 0 30px;
}

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

  list-style: none;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 15px;

  min-height: 76px;
  padding: 16px 20px;

  background: var(--soft);
  border: 1px solid #e0e7ed;
  border-radius: 12px;

  font-size: 20px;
  line-height: 1.45;
}

.why-check {
  display: grid;
  place-items: center;
  flex-shrink: 0;

  width: 36px;
  height: 36px;

  background: #205e9f;
  color: var(--white);

  border-radius: 50%;
  font-size: 23px;
  font-weight: 800;
}

/* ==========================================
   10. SERVICE AREAS
   ========================================== */

#areas > p {
  max-width: 850px;
  color: var(--muted);
}

.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 32px;
}

.cities span {
  padding: 10px 22px;

  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 50px;

  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
}

/* ==========================================
   11. SELLER SITUATIONS
   ========================================== */

.situations-section {
  padding: 20px 0;
}

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

.situation-column {
  min-width: 0;
  padding: 40px 32px;

  background: #102B43;
  color: var(--white);
}

.situation-column:nth-child(2) {
  background: #102B43;
}

.situation-column:nth-child(3) {
  background: #102B43;
}

.situation-column h3 {
  margin-bottom: 24px;

  color: var(--white);
  font-size: clamp(26px, 2.3vw, 36px);
  font-style: italic;
}

.situation-list {
  list-style: none;
}

.situation-list li {
  display: flex;
  align-items: center;
  gap: 14px;

  min-height: 68px;
  padding: 12px 0;

  border-bottom: 1px solid rgba(12, 48, 83, 0.22);

  font-size: 20px;
  line-height: 1.45;
}

.situation-list li:last-child {
  border-bottom: none;
}

.situation-check {
  display: grid;
  place-items: center;
  flex-shrink: 0;

  width: 36px;
  height: 36px;

  background: var(--white);
  color: #376da5;

  border-radius: 50%;
  font-size: 23px;
  font-weight: 800;
}

/* ==========================================
   12. FAQ
   ========================================== */

#faq {
  max-width: 1050px;
}

#faq details {
  margin-bottom: 16px;
  padding: 0 26px;

  border: 2px solid var(--border);
  border-radius: 12px;
}

#faq details[open] {
  border-color: var(--blue);
  background: #fafdff;
}

#faq summary {
  padding: 24px 0;

  color: var(--navy);
  font-size: 23px;
  font-weight: 800;
  cursor: pointer;
}

#faq details p {
  padding-bottom: 25px;

  color: var(--muted);
  font-size: 21px;
}

/* ==========================================
   13. CONTACT SECTION
   ========================================== */

.contact {
  background: var(--navy-dark);
  color: var(--white);
}

.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 65px;
  align-items: start;
}

.contact h2 {
  color: var(--white);
}

.contact p {
  color: #e0eaf2;
}

.contact-phone a {
  color: var(--gold);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
}

.text-link {
  color: var(--white);
  font-size: 21px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* ==========================================
   14. CONTACT FORM
   ========================================== */

#lead-form {
  padding: 36px;

  background: var(--white);
  color: var(--text);

  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

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

#lead-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;

  margin-bottom: 20px;

  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
}

#lead-form input:not([type="checkbox"]),
#lead-form select,
#lead-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 60px;

  padding: 14px 15px;

  background: var(--white);
  color: var(--text);

  border: 2px solid #aebfcd;
  border-radius: 9px;

  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
}

#lead-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* SMS consent */

#lead-form .consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;

  margin: 20px 0 14px;
  font-weight: 400;
}

#lead-form .consent span {
  flex: 1;
  min-width: 0;
}

#lead-form .consent input[type="checkbox"] {
  flex-shrink: 0;

  width: 26px;
  height: 26px;
  margin-top: 4px;

  accent-color: var(--blue);
}

/* Privacy note */

.privacy-note {
  margin: 8px 0 25px;
  padding: 20px 22px;

  background: var(--soft);
  border-left: 5px solid var(--blue);
  border-radius: 10px;

  font-size: 20px;
  line-height: 1.6;
}

.privacy-note strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
}

.privacy-note p {
  margin: 0;
  color: var(--text);
  font-size: inherit;
}

/* Form messages */

#form-message {
  margin: 14px 0;
  font-size: 20px;
  font-weight: 700;
}

#form-message.error {
  color: #a32018;
}

#form-message.success {
  color: #146c43;
}

#lead-form small {
  display: block;
  margin-top: 18px;

  color: var(--muted);
  font-size: 18px;
  text-align: center;
}

/* ==========================================
   15. FOOTER
   ========================================== */

footer {
  padding: 65px 0 0;

  background: #071725;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 45px;
}

.footer-grid img {
  width: 135px;
  max-height: 100px;
  object-fit: contain;
  margin-bottom: 22px;
}

.footer-grid strong {
  display: block;
  margin-bottom: 15px;
  font-size: 21px;
}

.footer-grid p {
  color: #d5e1ea;
  font-size: 20px;
}

.bottom {
  margin-top: 50px;
  padding: 24px 0;

  border-top: 1px solid rgba(255, 255, 255, 0.25);

  color: #d5e1ea;
  font-size: 18px;
  text-align: center;
}

/* ==========================================
   16. TABLET
   ========================================== */

@media (max-width: 1150px) {
  .nav nav {
    order: 3;
    width: 100%;
    justify-content: center;

    padding-top: 15px;
    border-top: 1px solid var(--border);
  }

  .brand img {
    width: 220px;
  }

  .hero-grid {
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .two {
    grid-template-columns: 1fr;
  }

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

  .steps h3 {
    min-height: 0;
  }

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

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

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
}

/* ==========================================
   17. MOBILE
   ========================================== */

@media (max-width: 700px) {
  .situations-grid {
    grid-template-columns: 1fr;
  }

  .situation-column {
    padding: 30px 24px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 20px;
  }

  .wrap {
    width: calc(100% - 30px);
  }

  .section {
    padding: 60px 0;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 24px;
  }

  .top {
    justify-content: center;
    text-align: center;
    font-size: 17px;
    padding: 12px 15px;
  }

  header.nav,
  .actions {
    justify-content: center;
  }

  .brand img {
    width: 200px;
  }

  .nav nav a {
    font-size: 18px;
  }

  .hero {
    padding: 55px 0 65px;
  }

  .hero-actions,
  .trust {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .steps article {
    padding: 27px;
  }

  .steps p,
  .lead,
  .contact p {
    font-size: 20px;
  }

  .why-list,
  .fields,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .why-item {
    font-size: 19px;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  #lead-form {
    padding: 24px 18px;
  }

  #faq details {
    padding: 0 18px;
  }

  /* Slim mobile sticky bar */

  .sticky-offer {
    padding: 7px 0;
  }

  .sticky-offer-inner {
    gap: 9px;
  }

  .sticky-offer-brand {
    flex-basis: 48px;
  }

  .sticky-offer-brand img {
    width: 48px;
    max-height: 44px;
  }

  .sticky-offer-form {
    height: 44px;
  }

  .sticky-offer-form input {
    padding: 0 10px;
    font-size: 14px;
  }

  .sticky-offer-form button {
    max-width: 115px;
    padding: 0 9px;

    font-size: 12px;
    line-height: 1.15;
    white-space: normal;
  }
}

@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 24px);
  }

  h1 {
    font-size: 32px;
  }

  .sticky-offer-brand {
    display: none;
  }

  .sticky-offer-form button {
    max-width: 100px;
  }
}

/* ==========================================
   18. REDUCED MOTION
   ========================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sticky-offer {
    transition: none;
  }
}
