/*
Theme Name: Space Coast Realty
Theme URI: https://example.com/
Author: Your Agency
Author URI: https://example.com/
Description: A single-page real estate agent theme converted from a static HTML design. Built for a local agent site with hero, about, services, listings (custom post type), testimonials (custom post type), Calendly scheduling, and a working contact form.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spacecoast
*/

/* ==========================================================================
   The rules below are ported directly from the original static design.
   They are written against the same class names used in the PHP templates,
   so no class names needed to change during the WordPress conversion.
   ========================================================================== */

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

    :root {
      --black: #0e0e0e;
      --white: #fafaf8;
      --sky: #7ec8e3;
      --sky-light: #c5e9f5;
      --sky-dark: #4aa8c8;
      --gray: #6b6b6b;
      --gray-light: #e8e8e6;
      --serif: 'Cormorant Garamond', Georgia, serif;
      --sans: 'DM Sans', sans-serif;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--sans);
      background: var(--white);
      color: var(--black);
      overflow-x: hidden;
    }

    /* NAV */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.2rem 4vw;
      background: rgba(250, 250, 248, 0.92);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--gray-light);
      transition: box-shadow 0.3s;
    }

    nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.07); }

    .nav-logo {
      font-family: var(--serif);
      font-size: 1.35rem;
      font-weight: 600;
      letter-spacing: 0.02em;
      color: var(--black);
      text-decoration: none;
    }

    .nav-logo span { color: var(--sky-dark); }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 2rem;
      list-style: none;
    }

    .nav-links a {
      font-size: 0.82rem;
      font-weight: 500;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--black);
      text-decoration: none;
      transition: color 0.2s;
    }

    .nav-links a:hover { color: var(--sky-dark); }

    .nav-cta {
      background: var(--black) !important;
      color: var(--white) !important;
      padding: 0.6rem 1.4rem !important;
      border-radius: 2px;
    }

    .nav-cta:hover { background: var(--sky-dark) !important; }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 4px;
    }

    .hamburger span {
      display: block;
      width: 24px;
      height: 1.5px;
      background: var(--black);
      transition: all 0.3s;
    }

    /* HERO */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding-top: 72px;
      overflow: hidden;
      background-size: cover;
      background-position: center;
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(100deg, rgba(8,18,24,0.78) 0%, rgba(8,18,24,0.5) 45%, rgba(8,18,24,0.15) 100%);
    }

    .hero-left {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 6vw 4vw 6vw 6vw;
      max-width: 800px;
    }

    .hero-eyebrow {
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.35em;
      text-transform: uppercase;
      color: var(--sky-light);
      margin-bottom: 1.5rem;
    }

    .hero-title {
      font-family: var(--serif);
      font-size: clamp(2.8rem, 5vw, 4.5rem);
      font-weight: 300;
      line-height: 1.1;
      color: var(--white);
      margin-bottom: 1.5rem;
    }

    .hero-title em {
      font-style: italic;
      color: var(--sky-light);
    }

    .hero-subtitle {
      font-size: 1rem;
      font-weight: 300;
      line-height: 1.7;
      color: rgba(250,250,250,0.9);
      max-width: 420px;
      margin-bottom: 2.5rem;
    }

    .hero-actions {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--black);
      color: var(--white);
      padding: 0.9rem 2rem;
      font-family: var(--sans);
      font-size: 0.82rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      text-decoration: none;
      border: 1.5px solid var(--black);
      border-radius: 2px;
      cursor: pointer;
      transition: all 0.25s;
      display: inline-block;
    }

    .btn-primary:hover { background: var(--sky-dark); border-color: var(--sky-dark); }

    .btn-outline {
      background: transparent;
      color: var(--black);
      padding: 0.9rem 2rem;
      font-family: var(--sans);
      font-size: 0.82rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      text-decoration: none;
      border: 1.5px solid var(--black);
      border-radius: 2px;
      cursor: pointer;
      transition: all 0.25s;
      display: inline-block;
    }

    .btn-outline:hover { background: var(--black); color: var(--white); }

    .hero .btn-primary { background: var(--white); color: var(--black); border-color: var(--white); }
    .hero .btn-primary:hover { background: var(--sky-dark); border-color: var(--sky-dark); color: var(--white); }
    .hero .btn-outline { color: var(--white); border-color: var(--white); }
    .hero .btn-outline:hover { background: var(--white); color: var(--black); }

    .hero-stats {
      display: flex;
      gap: 2.5rem;
      margin-top: 3.5rem;
      padding-top: 2.5rem;
      border-top: 1px solid rgba(255,255,255,0.3);
    }

    .hero-stat-num {
      font-family: var(--serif);
      font-size: 2rem;
      font-weight: 600;
      color: var(--white);
      line-height: 1;
    }

    .hero-stat-label {
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(250,250,250,0.75);
      margin-top: 0.3rem;
    }

    /* TRUST BAR */
    .trust-bar {
      background: var(--black);
      color: var(--white);
      padding: 1.2rem 4vw;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 3rem;
      flex-wrap: wrap;
    }

    .trust-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.78rem;
      font-weight: 500;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      opacity: 0.85;
    }

    .trust-item::before { content: '✦'; color: var(--sky); font-size: 0.6rem; }

    /* SECTIONS */
    section { padding: 7rem 6vw; }

    .section-eyebrow {
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--sky-dark);
      margin-bottom: 1rem;
    }

    .section-title {
      font-family: var(--serif);
      font-size: clamp(2rem, 3.5vw, 3rem);
      font-weight: 300;
      line-height: 1.15;
      color: var(--black);
      margin-bottom: 1.25rem;
    }

    .section-title em { font-style: italic; }

    .section-body {
      font-size: 0.95rem;
      font-weight: 300;
      line-height: 1.8;
      color: var(--gray);
      max-width: 560px;
    }

    /* ABOUT */
    #about {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5vw;
      align-items: center;
    }

    .about-image-wrap { position: relative; }

    .about-image-frame {
      position: relative;
      padding-bottom: 115%;
      overflow: hidden;
      border-radius: 2px;
    }

    .about-image-frame img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .about-accent {
      position: absolute;
      bottom: -1.5rem; right: -1.5rem;
      width: 60%; height: 60%;
      border: 2px solid var(--sky-light);
      border-radius: 2px;
      z-index: -1;
    }

    .about-tag {
      position: absolute;
      top: 1.5rem; right: -2rem;
      background: var(--sky);
      color: var(--black);
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 0.5rem 1rem;
      writing-mode: vertical-rl;
      text-orientation: mixed;
      transform: rotate(180deg);
    }

    .about-content { padding-left: 2vw; }

    .about-quote {
      font-family: var(--serif);
      font-size: 1.4rem;
      font-weight: 300;
      font-style: italic;
      color: var(--black);
      line-height: 1.5;
      border-left: 3px solid var(--sky);
      padding-left: 1.5rem;
      margin: 2rem 0;
    }

    .about-highlights {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      margin-top: 2.5rem;
    }

    .highlight-card {
      background: var(--gray-light);
      padding: 1.25rem;
      border-radius: 2px;
      border-left: 3px solid var(--sky);
    }

    .highlight-card strong {
      display: block;
      font-family: var(--serif);
      font-size: 1.6rem;
      font-weight: 600;
      color: var(--black);
      line-height: 1;
      margin-bottom: 0.25rem;
    }

    .highlight-card span { font-size: 0.75rem; color: var(--gray); }

    /* SERVICES */
    #services { background: var(--black); color: var(--white); }
    #services .section-title { color: var(--white); }
    #services .section-body { color: rgba(255,255,255,0.55); }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5px;
      margin-top: 4rem;
      background: rgba(255,255,255,0.08);
    }

    .service-card {
      background: var(--black);
      padding: 2.5rem;
      transition: background 0.3s;
    }

    .service-card:hover { background: #1a1a1a; }

    .service-icon { margin-bottom: 1.25rem; display: flex; align-items: center; }

    .service-card h3 {
      font-family: var(--serif);
      font-size: 1.35rem;
      font-weight: 400;
      color: var(--white);
      margin-bottom: 0.75rem;
      line-height: 1.2;
    }

    .service-card p {
      font-size: 0.85rem;
      font-weight: 300;
      color: rgba(255,255,255,0.55);
      line-height: 1.7;
    }

    .service-line { width: 32px; height: 2px; background: var(--sky); margin-top: 1.5rem; }

    /* HOME SEARCH */
    #home-search { background: var(--gray-light); text-align: center; }

    .search-header { max-width: 560px; margin: 0 auto 3.5rem; text-align: center; }

    .search-widget {
      display: flex;
      max-width: 680px;
      margin: 0 auto 2rem;
      box-shadow: 0 4px 24px rgba(0,0,0,0.07);
      border-radius: 3px;
      overflow: hidden;
    }

    .search-widget input {
      flex: 1;
      padding: 1rem 1.25rem;
      font-family: var(--sans);
      font-size: 0.9rem;
      border: 1.5px solid var(--gray-light);
      border-right: none;
      outline: none;
      background: var(--white);
      color: var(--black);
    }

    .search-widget input::placeholder { color: #aaa; }
    .search-widget input:focus { border-color: var(--sky); }

    .search-widget button {
      padding: 1rem 1.75rem;
      background: var(--sky-dark);
      color: var(--white);
      font-family: var(--sans);
      font-size: 0.82rem;
      font-weight: 500;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      border: none;
      cursor: pointer;
      transition: background 0.2s;
    }

    .search-widget button:hover { background: var(--black); }

    .search-filters {
      display: flex;
      gap: 0.75rem;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 2rem;
    }

    .filter-btn {
      padding: 0.5rem 1.1rem;
      background: var(--white);
      border: 1.5px solid var(--gray-light);
      border-radius: 20px;
      font-family: var(--sans);
      font-size: 0.78rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s;
      color: var(--black);
    }

    .filter-btn:hover, .filter-btn.active {
      background: var(--sky-dark);
      color: var(--white);
      border-color: var(--sky-dark);
    }

    .listings-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.25rem;
      text-align: left;
    }

    .listing-card {
      background: var(--white);
      border-radius: 2px;
      overflow: hidden;
      border: 1px solid var(--gray-light);
      transition: transform 0.2s, box-shadow 0.2s;
      cursor: pointer;
    }

    .listing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }

    .listing-image {
      height: 180px;
      background: linear-gradient(135deg, #c5e9f5 0%, #e8e8e6 100%);
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2.5rem;
      opacity: 0.5;
    }

    .listing-tag {
      position: absolute;
      top: 0.75rem; left: 0.75rem;
      background: var(--black);
      color: var(--white);
      font-size: 0.65rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 0.25rem 0.6rem;
      border-radius: 1px;
    }

    .listing-body { padding: 1.1rem; }

    .listing-price {
      font-family: var(--serif);
      font-size: 1.3rem;
      font-weight: 600;
      color: var(--black);
      margin-bottom: 0.25rem;
    }

    .listing-address { font-size: 0.78rem; color: var(--gray); margin-bottom: 0.75rem; }

    .listing-meta { display: flex; gap: 1rem; font-size: 0.72rem; color: var(--gray); }

    .idx-cta-note {
      font-size: 0.78rem;
      color: var(--gray);
      margin-top: 2rem;
    }

    .idx-cta-note a { color: var(--sky-dark); text-decoration: none; font-weight: 500; }

    /* TESTIMONIALS */
    #testimonials { background: var(--white); }

    .testimonials-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      margin-top: 4rem;
    }

    .testimonial-card {
      padding: 2rem;
      border: 1px solid var(--gray-light);
      border-radius: 2px;
      position: relative;
      transition: box-shadow 0.2s;
    }

    .testimonial-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.07); }

    .testimonial-card::before {
      content: '"';
      font-family: var(--serif);
      font-size: 5rem;
      color: var(--sky-light);
      position: absolute;
      top: -0.5rem; left: 1.25rem;
      line-height: 1;
    }

    .testimonial-stars { color: var(--sky-dark); font-size: 0.85rem; margin-bottom: 1rem; }

    .testimonial-text {
      font-size: 0.88rem;
      line-height: 1.75;
      color: var(--black);
      font-weight: 300;
      margin-bottom: 1.5rem;
    }

    .testimonial-author { display: flex; align-items: center; gap: 0.75rem; }

    .author-avatar {
      width: 40px; height: 40px;
      border-radius: 50%;
      background: var(--sky-light);
      display: flex; align-items: center; justify-content: center;
      font-family: var(--serif);
      font-size: 1rem;
      color: var(--sky-dark);
      font-weight: 600;
      flex-shrink: 0;
    }

    .author-name { font-size: 0.82rem; font-weight: 500; color: var(--black); }
    .author-detail { font-size: 0.72rem; color: var(--gray); margin-top: 0.1rem; }

    /* CALENDLY */
    #schedule { background: var(--sky-light); }

    .schedule-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5vw;
      align-items: start;
    }

    .schedule-perks { list-style: none; margin-top: 2rem; }

    .schedule-perks li {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      font-size: 0.88rem;
      font-weight: 300;
      color: var(--black);
      line-height: 1.6;
      margin-bottom: 0.75rem;
    }

    .schedule-perks li::before { content: '→'; color: var(--sky-dark); flex-shrink: 0; }

    .calendly-embed-wrapper {
      background: var(--white);
      border-radius: 4px;
      overflow: hidden;
      box-shadow: 0 8px 40px rgba(0,0,0,0.1);
    }

    .calendly-placeholder {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 560px;
      padding: 2rem;
      text-align: center;
      gap: 1rem;
    }

    .calendly-placeholder .cal-icon { font-size: 3rem; opacity: 0.3; }

    .calendly-placeholder h3 {
      font-family: var(--serif);
      font-size: 1.4rem;
      font-weight: 400;
    }

    .calendly-placeholder p { font-size: 0.85rem; color: var(--gray); line-height: 1.6; max-width: 300px; }

    /* CONTACT */
    #contact { background: var(--black); color: var(--white); }
    #contact .section-title { color: var(--white); }
    #contact .section-body { color: rgba(255,255,255,0.55); }

    .contact-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6vw;
      align-items: start;
      margin-top: 3.5rem;
    }

    .contact-form { display: flex; flex-direction: column; gap: 1rem; }

    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

    .form-group { display: flex; flex-direction: column; gap: 0.4rem; }

    .form-group label {
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.55);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.12);
      color: var(--white);
      padding: 0.85rem 1rem;
      font-family: var(--sans);
      font-size: 0.88rem;
      font-weight: 300;
      border-radius: 2px;
      outline: none;
      transition: border-color 0.2s;
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder { color: rgba(255,255,255,0.25); }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus { border-color: var(--sky); }

    .form-group select option { background: #1a1a1a; color: var(--white); }
    .form-group textarea { resize: vertical; min-height: 100px; }

    .form-submit {
      background: var(--sky-dark);
      color: var(--white);
      padding: 1rem 2rem;
      font-family: var(--sans);
      font-size: 0.82rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      border: none;
      border-radius: 2px;
      cursor: pointer;
      transition: background 0.2s;
      margin-top: 0.5rem;
    }

    .form-submit:hover { background: var(--white); color: var(--black); }

    .contact-info h3 {
      font-family: var(--serif);
      font-size: 1.5rem;
      font-weight: 300;
      color: var(--white);
      margin-bottom: 2rem;
    }

    .contact-detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.75rem; }

    .contact-detail-icon {
      width: 38px; height: 38px;
      background: rgba(126,200,227,0.15);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.9rem;
      flex-shrink: 0;
    }

    .contact-detail-label {
      font-size: 0.7rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--sky);
      margin-bottom: 0.2rem;
    }

    .contact-detail-value { font-size: 0.9rem; color: rgba(255,255,255,0.8); }

    .contact-areas {
      margin-top: 3rem;
      padding-top: 2rem;
      border-top: 1px solid rgba(255,255,255,0.08);
    }

    .contact-areas h4 {
      font-size: 0.7rem;
      font-weight: 500;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.4);
      margin-bottom: 1rem;
    }

    .area-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

    .area-tag {
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.1);
      color: rgba(255,255,255,0.7);
      font-size: 0.75rem;
      padding: 0.35rem 0.8rem;
      border-radius: 20px;
    }

    /* FOOTER */
    footer {
      background: #080808;
      color: rgba(255,255,255,0.35);
      padding: 2rem 6vw;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1rem;
      font-size: 0.75rem;
    }

    .footer-logo { font-family: var(--serif); font-size: 1.1rem; color: rgba(255,255,255,0.6); }
    .footer-logo span { color: var(--sky); }
    footer a { color: rgba(255,255,255,0.35); text-decoration: none; }
    footer a:hover { color: var(--sky); }

    /* ANIMATIONS */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .hero-eyebrow { animation: fadeUp 0.6s 0.1s ease both; }
    .hero-title   { animation: fadeUp 0.6s 0.2s ease both; }
    .hero-subtitle { animation: fadeUp 0.6s 0.3s ease both; }
    .hero-actions { animation: fadeUp 0.6s 0.4s ease both; }
    .hero-stats   { animation: fadeUp 0.6s 0.5s ease both; }

    /* RESPONSIVE */
    @media (max-width: 1024px) {
      .listings-grid { grid-template-columns: 1fr 1fr; }
      .services-grid { grid-template-columns: 1fr 1fr; }
      .testimonials-grid { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 768px) {
      nav { padding: 1rem 5vw; }
      .nav-links { display: none; }
      .hamburger { display: flex; }

      .hero { min-height: 92vh; }
      .hero-left { padding: 4rem 6vw; }
      .hero-stats { gap: 1.5rem; flex-wrap: wrap; }

      #about { grid-template-columns: 1fr; }
      .about-content { padding-left: 0; }

      .services-grid { grid-template-columns: 1fr; }
      .listings-grid { grid-template-columns: 1fr; }
      .testimonials-grid { grid-template-columns: 1fr; }
      .schedule-inner { grid-template-columns: 1fr; }
      .contact-inner { grid-template-columns: 1fr; }
      .form-row { grid-template-columns: 1fr; }

      section { padding: 4.5rem 5vw; }
      .trust-bar { gap: 1.25rem; }
    }

    nav.open .nav-links {
      display: flex;
      flex-direction: column;
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: var(--white);
      align-items: center;
      justify-content: center;
      gap: 2.5rem;
      z-index: 99;
    }

    nav.open .nav-links a { font-size: 1.1rem; }
  

/* ==========================================================================
   WordPress-specific additions
   ========================================================================== */

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

.custom-logo-link img { max-height: 40px; width: auto; display: block; }

#contact .form-note {
  font-size: 0.82rem;
  margin-top: 0.75rem;
}
#contact .form-note.success { color: #6fd49a; }
#contact .form-note.error { color: #ff8a8a; }

.listing-image { background-size: cover; background-position: center; }
.listing-image img { display:none; }

/* ---- Booking gate form (schedule section) ---- */
.booking-gate { background: #fff; border-radius: 12px; padding: 40px 36px; box-shadow: 0 20px 60px rgba(0,0,0,.12); }
.booking-gate-title { font-family: var(--serif); font-size: 1.9rem; margin-bottom: 8px; color: var(--black); }
.booking-gate-sub { color: var(--gray); margin-bottom: 24px; font-size: .95rem; }
#booking-form input { width: 100%; padding: 14px 16px; margin-bottom: 14px; border: 1px solid var(--gray-light); border-radius: 6px; font-family: var(--sans); font-size: 1rem; background: var(--white); }
#booking-form input:focus { outline: none; border-color: var(--sky-dark); }
#booking-form .btn-primary { width: 100%; cursor: pointer; border: 0; }

/* ---- Hero booking form (right column) ---- */
.hero-right { position: relative; z-index: 2; margin-left: auto; padding: calc(72px + 4vw) 6vw 4vw 2vw; width: min(460px, 100%); flex-shrink: 0; }
.hero-right .booking-gate { padding: 32px 28px; }
.hero-right .booking-gate-title { font-size: 1.6rem; }
@media (max-width: 960px) {
	.hero { flex-wrap: wrap; }
	.hero-right { margin: 0 auto; padding: 0 6vw 8vw; width: 100%; max-width: 520px; }
}


/* ============================================================
   IDX Broker widgets — styled to match Space Coast Realty theme
   ============================================================ */

/* --- Omnibar search --- */
#home-search .idx-omnibar-wrap { background: var(--white, #fafaf8); border-radius: 14px; padding: 26px 30px; box-shadow: 0 10px 30px rgba(14,14,14,.08); max-width: 780px; margin: 0 auto; }
#home-search .idx-omnibar-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; justify-content: center; }
#home-search .idx-omnibar-form .awesomplete { flex: 1 1 300px; }
#home-search .idx-omnibar-input, #home-search .idx-omnibar-extra input { width: 100%; font-family: "DM Sans", sans-serif; font-size: 15px; padding: 13px 16px; border: 1px solid #ddd; border-radius: 8px; background: #fff; color: var(--black, #0e0e0e); box-sizing: border-box; }
#home-search .idx-omnibar-input:focus { outline: none; border-color: var(--sky-dark, #4aa8c8); box-shadow: 0 0 0 3px rgba(74,168,200,.18); }
#home-search .idx-omnibar-form button { background: var(--sky-dark, #4aa8c8); color: #fff; border: none; border-radius: 8px; padding: 0 28px; font-family: "DM Sans", sans-serif; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .2s ease; }
#home-search .idx-omnibar-form button:hover { background: var(--sky, #7ec8e3); }

/* --- Listing showcase grid --- */
#home-search .impress-property-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0 0 28px; }
#home-search .impress-property-showcase:last-child { margin-bottom: 0; }
#home-search .impress-showcase-property { float: none; width: auto; padding: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 24px rgba(14,14,14,.07); transition: transform .25s ease, box-shadow .25s ease; }
#home-search .impress-showcase-property:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(14,14,14,.13); }
#home-search .impress-showcase-photo { display: block; position: relative; text-decoration: none; color: inherit; }
#home-search .impress-showcase-photo img { width: 100%; height: 210px; object-fit: cover; display: block; }
#home-search .impress-status { position: absolute; top: 14px; left: 14px; background: var(--sky-dark, #4aa8c8); color: #fff; font-family: "DM Sans", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; }
#home-search .impress-price { display: block; padding: 16px 18px 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 28px; font-weight: 600; color: var(--black, #0e0e0e); line-height: 1.1; }
#home-search .impress-address { display: block; padding: 6px 18px 0; margin: 0; font-family: "DM Sans", sans-serif; font-size: 14px; color: var(--gray, #6b6b6b); line-height: 1.5; }
#home-search .impress-address span { display: inline; }
#home-search .impress-beds-baths-sqft { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 18px 20px; margin: 0; font-family: "DM Sans", sans-serif; font-size: 13px; color: var(--gray, #6b6b6b); }
#home-search .impress-beds-baths-sqft span { white-space: nowrap; }

@media (max-width: 960px) {
  #home-search .impress-property-showcase { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  #home-search .impress-property-showcase { grid-template-columns: 1fr; }
  #home-search .idx-omnibar-wrap { padding: 20px; }
}


/* IDX fixes: neutralize outer theme grid + keep omnibar on one line */
#home-search .listings-grid.idx-featured-grid { display: block; }
@media (min-width: 641px) {
  #home-search .idx-omnibar-form { flex-wrap: nowrap; }
  #home-search .idx-omnibar-form .awesomplete { flex: 1 1 auto; }
  #home-search .idx-omnibar-form button { flex: 0 0 auto; min-height: 48px; }
}


/* IDX fixes round 2: clearfix pseudo-elements steal grid cells; input must grow */
#home-search .impress-property-showcase::before,
#home-search .impress-property-showcase::after { content: none !important; display: none !important; }
#home-search .idx-omnibar-form .awesomplete { flex: 1 1 auto !important; width: auto !important; }
#home-search .idx-omnibar-input { width: 100% !important; }


/* IDX fixes round 3: plugin constrains omnibar form width */
#home-search .idx-omnibar-form, #home-search form.idx-omnibar-original-form { width: 100% !important; max-width: none !important; margin: 0 !important; }
