/* =========================================================
   Verla's Home Sales — styles
   Fonts + colors taken from the live Wix theme.
   ========================================================= */
:root {
  --font-display: "Aboreto", "Trebuchet MS", sans-serif;      /* menus, footer, page titles */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif; /* buttons, headings */
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --navy: #091d35;        /* header + footer (Wix color_43) */
  --navy-2: #1d2d42;      /* footer strip (Wix color_24) */
  --btn: #0b2f5b;         /* CONTACT VERLA button */
  --hover: #f96f6c;       /* menu hover (Wix color_17) */
  --ink: #2b2b2b;         /* text (Wix color_15) */
  --ink-soft: #787878;    /* secondary text (Wix color_14) */
  --paper: #ffffff;
  --panel: #f4f4f4;

  --wrap: 1100px;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--btn); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1320px; }
:focus-visible { outline: 2px solid var(--hover); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--ink); padding: .6em 1em; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* Buttons — the Wix "CONTACT VERLA" style used site-wide */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: .55em 1.4em; background: var(--btn); color: #fff; border: 4px double #fff; font-family: var(--font-serif); font-size: 17px; letter-spacing: .15em; text-decoration: none; text-align: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: #fff; color: var(--ink); border: 4px double var(--btn); }
.btn-outline { background: transparent; color: var(--btn); border-color: var(--btn); }
.btn-outline:hover { background: var(--btn); color: #fff; border-color: #fff; }

/* Header */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 50; }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; min-height: 78px; padding: 8px clamp(16px, 3vw, 45px); max-width: 1600px; margin: 0 auto; }
.brand img { width: 257px; height: auto; }
.main-nav { justify-self: center; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(18px, 3vw, 44px); align-items: center; }
.main-nav a, .main-nav .sub-toggle { font-family: var(--font-display); font-size: 18px; text-transform: uppercase; color: #fff; text-decoration: none; background: none; border: 0; padding: .5em 0; cursor: pointer; transition: color .4s; }
.main-nav a:hover, .main-nav .sub-toggle:hover, .main-nav a[aria-current="page"] { color: var(--hover); }
.header-cta { justify-self: end; min-width: 195px; }
.nav-cta-mobile { display: none; }
.has-sub { position: relative; }
.sub-toggle::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: .5em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.main-nav .sub { list-style: none; margin: 0; padding: .4em 0; position: absolute; top: 100%; left: -1em; min-width: 290px; background: var(--navy); box-shadow: 0 10px 24px rgba(0,0,0,.35); display: none; }
.main-nav .sub a { display: block; padding: .65em 1em; font-size: 15px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { display: block; }
.menu-toggle { display: none; justify-self: end; background: none; border: 1px solid #fff; color: #fff; padding: .45em 1em; font-family: var(--font-display); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }

/* Hero */
.hero { position: relative; min-height: clamp(560px, 46vw, 820px); display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(9,29,53,.55) 0%, rgba(9,29,53,.4) 45%, rgba(9,29,53,.8) 80%, var(--navy) 100%); }
.hero-content { position: relative; text-align: center; color: #fff; padding: 48px 20px; display: flex; flex-direction: column; align-items: center; gap: .35em; }
.hero-logo { width: clamp(200px, 22vw, 290px); height: auto; }
.hero-kicker { margin: .8em 0 0; font-size: 1.05rem; }
.hero-states { margin: 0; font-family: var(--font-display); font-size: clamp(1.15rem, 2.6vw, 1.75rem); letter-spacing: .06em; }
.hero-phone { color: #fff; font-family: var(--font-display); font-size: 1.3rem; text-decoration: none; margin-bottom: .7em; }

/* Verla — solid navy; the hero fades down into it */
.about { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.about-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 32px; align-items: end; }
.about-copy { padding: 56px 0; }
.about h2 { font-size: clamp(2.4rem, 4vw, 3.2rem); margin-bottom: .2em; }
.about-tagline { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 0 0 1.4em; }
.about-copy p:not(.about-tagline) { max-width: 64ch; line-height: 1.45; margin: 0 0 1.2em; }
.about-photo { align-self: end; width: 100%; max-width: 440px; justify-self: start; opacity: .72; filter: sepia(.35) brightness(.95); -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent); mask-image: linear-gradient(to bottom, #000 80%, transparent); }

/* Section titles */
.section-title { text-align: center; font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: .04em; }
.section-sub { text-align: center; color: var(--ink-soft); margin: -.2em 0 2em; }

/* Buy / Sell / Rent */
.looking { padding: 72px 0; background: var(--panel); }
.looking-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 2.4em; }
.looking-card { position: relative; display: block; overflow: hidden; }
.looking-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.looking-card:hover img { transform: scale(1.04); }
.looking-card .btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); min-width: 150px; min-height: 52px; font-size: 19px; }
.looking-card:hover .btn { background: #fff; color: var(--ink); border-color: var(--btn); }

/* Featured */
.featured { padding: 72px 0; scroll-margin-top: 90px; }
.featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 40px; }
.property img { width: 100%; aspect-ratio: 403 / 334; object-fit: cover; }
.property-body { padding: 1em 0; text-align: center; }
.property-address { font-weight: 600; margin: 0; }
.property-price { font-family: var(--font-serif); font-size: 1.5rem; margin: .2em 0 .8em; }
.property-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.property-actions .btn { font-size: 14px; }
.property-source { font-size: .75rem; color: var(--ink-soft); margin-top: 1em; }

/* Reviews */
.reviews { position: relative; padding: 80px 0; color: #fff; overflow: hidden; background: var(--navy); }
.reviews-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reviews::before { content: ""; position: absolute; inset: 0; background: rgba(9,29,53,.6); z-index: 1; }
.reviews-inner { position: relative; z-index: 2; text-align: center; }
.review { display: none; margin: 1.5em auto 0; max-width: 780px; }
.review.is-active { display: block; }
.review blockquote { margin: 0; font-size: 1.05rem; line-height: 1.8; }
.review figcaption { margin-top: 1.2em; font-weight: 600; }
.review-dots { list-style: none; padding: 0; margin: 1.6em 0 0; display: flex; justify-content: center; gap: 10px; }
.review-dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.review-dots button[aria-current="true"] { background: #fff; }

/* Dream strip */
.dream { padding: 64px 0; background: var(--panel); text-align: center; }
.dream .dream-title { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 0; padding-bottom: 56px; }
.dream-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-top: 8px; }
.dream h3 { font-size: 1.15rem; margin: 0 0 .9em; }
.dream p { margin: 0; overflow-wrap: anywhere; }
.dream a { color: var(--ink); text-decoration: none; }

/* Contact page */
.contact { padding: 64px 0 88px; }
.contact-inner { max-width: 780px; }
.contact-intro { font-family: var(--font-body); font-weight: 500; text-align: center; font-size: 1.1rem; }
.contact-title { text-align: center; font-size: clamp(1.8rem, 4vw, 2.4rem); margin: .6em 0 1em; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .9rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] { font: inherit; font-size: 16px; padding: .7em .8em; border: 1px solid #bdbdbd; background: #fff; width: 100%; }
.field input:focus { outline: 2px solid var(--btn); outline-offset: 0; border-color: var(--btn); }
.radio { display: flex; align-items: center; gap: .5em; margin: .25em 0; }
.radio input { accent-color: var(--btn); width: 18px; height: 18px; }
.consent { font-size: .8rem; color: var(--ink-soft); margin: 0; }
.form-error { color: #b00020; margin: 0; font-size: .9rem; }
.form-note { margin: 0; font-size: .9rem; }
.btn-submit { width: 100%; }

/* Listings page — edge-to-edge and full-height so the IDX gets every pixel */
.listings { display: flex; flex-direction: column; min-height: calc(100vh - var(--header-h)); min-height: calc(100dvh - var(--header-h)); padding: 22px 0 0; }
.listings-title { font-family: var(--font-display); text-align: center; font-size: clamp(1.4rem, 3.2vw, 2rem); margin: 0 0 .6em; padding: 0 20px; }
.idx-embed { flex: 1 1 auto; display: flex; width: 100%; min-height: 520px; }
.idx-embed iframe { flex: 1 1 auto; display: block; width: 100%; height: auto; border: 0; }

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding: 44px 0 28px; border-top: 29px solid var(--navy-2); font-family: var(--font-display); }
.footer-inner { display: grid; grid-template-columns: 327px 1fr; gap: 24px 48px; align-items: start; max-width: 1600px; padding: 0 clamp(16px, 3vw, 45px); }
.footer-logos { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer-mark { width: 100%; max-width: 307px; }
.footer-broker { width: 179px; }
.footer-info { display: grid; grid-template-columns: auto 1fr; gap: 24px 64px; padding-top: 56px; }
.footer-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.footer-nav a, .footer-nav .sub-toggle { color: #fff; text-decoration: none; font-family: var(--font-display); font-size: 16px; text-transform: none; background: none; border: 0; padding: 0; cursor: default; }
.footer-nav a:hover { color: var(--hover); }
.footer-nav .sub-toggle::after { display: none; }
.footer-nav .sub { list-style: none; position: static; display: flex; flex-direction: column; gap: 8px; padding: 10px 0 0 14px; margin: 0; }
.footer-nav .sub a { font-family: var(--font-body); font-size: 14px; }
.footer-contact { font-style: normal; font-size: 18px; line-height: 1.8; }
.footer-contact p { margin: 0; }
.footer-contact a { color: #fff; font-size: 16px; overflow-wrap: anywhere; }
.built-by { grid-column: 1 / -1; text-align: right; font-size: 15px; letter-spacing: .04em; margin: 12px 0 0; }
.built-by a { color: #fff; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .looking-grid { gap: 20px; }
  .brand img { width: 210px; }
  .header-cta { min-width: 0; font-size: 15px; padding: .5em 1em; }
  .main-nav a, .main-nav .sub-toggle { font-size: 16px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .header-inner { grid-template-columns: 1fr auto; min-height: 68px; }
  .brand img { width: 180px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav { display: none; grid-column: 1 / -1; justify-self: stretch; padding-bottom: 14px; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-top: 1px solid rgba(255,255,255,.12); }
  .main-nav a, .main-nav .sub-toggle { display: block; width: 100%; text-align: left; padding: .8em 0; }
  .main-nav .sub { position: static; box-shadow: none; display: none; padding: 0 0 .4em 1em; min-width: 0; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .main-nav .sub a { padding: .6em 0; }
  .nav-cta-mobile { display: block; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
  .main-nav .nav-cta-mobile .btn { display: flex; width: 100%; padding: .6em 1em; background: var(--btn); color: #fff; border: 4px double #fff; font-family: var(--font-serif); font-size: 16px; letter-spacing: .15em; text-transform: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-copy { padding: 48px 0 8px; }
  .about-photo { justify-self: center; max-width: 320px; }

  .looking-grid { grid-template-columns: 1fr; gap: 20px; max-width: 520px; margin-left: auto; margin-right: auto; }
  .featured-grid { grid-template-columns: minmax(0, 480px); }
  .dream-grid { grid-template-columns: 1fr; gap: 26px; }
  .dream .dream-title { padding-bottom: 36px; }
  .contact-form { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-mark { max-width: 220px; }
  .footer-info { grid-template-columns: 1fr; padding-top: 0; justify-items: center; }
  .built-by { text-align: center; }
  .footer-nav > ul { align-items: center; }
  .footer-nav .sub { padding-left: 0; align-items: center; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .hero { min-height: 520px; }
  .hero-states { font-size: 15px; letter-spacing: .02em; white-space: nowrap; }
  .hero-content { padding: 40px 14px; }
  .looking, .featured, .reviews { padding: 52px 0; }
  .btn { font-size: 15px; letter-spacing: .12em; }
}

@media (max-width: 380px) {
  .hero-states { font-size: 13px; }
}
