/* =========================
   InsideHOA theme variables
   ========================= */
:root {
  --brand-primary: #cb4724;
  --brand-primary-dark: #a83a1d;
  --brand-primary-light: #e06a4b;

  --brand-text-dark: #333333;
  --brand-text-muted: #6c757d;

  --brand-bg-dark: #2f2f2f;
  --brand-bg-light: #f8f9fa;

  --brand-dot-muted: #d9c2b7;
}

/* =========================
   Bootstrap overrides test
   ========================= */

/* Nav links */
.nav-link {
  color: var(--brand-primary) !important;
}

/* Hamburger/toggler */
.navbar-toggler {
  border: none;
  outline: none;
  box-shadow: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

/* (Optional) remove logo focus ring if it bugs you */
.navbar-brand:focus,
.navbar-brand:active {
  outline: none !important;
  box-shadow: none !important;
}

/* =========================
   Layout container (site max width)
   ========================= */
.ihoa-container {
  max-width: 900px; /* set to 1200px if you want to match old site */
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 576px) {
  .ihoa-container {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* =========================
   Hero
   ========================= */
.ihoa-hero {
  background: var(--brand-bg-dark) !important;
  color: #fff !important;
  padding: 0 !important; /* container controls spacing */
}

.ihoa-hero-lead {
  color: rgba(255,255,255,.78) !important;
  max-width: 56rem;
}

.ihoa-hero-logo {
  max-height: 240px !important;
}

.ihoa-hero h1 {
  margin-bottom: 1rem !important;
}

.ihoa-hero-intro {
  font-size: 1.1rem !important;
}

/* =========================
   Callout bar
   ========================= */
.ihoa-callout-bar {
  background: var(--brand-primary);
  color: #fff;
  height: 56px;
}

.ihoa-callout-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ihoa-callout-link {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}

.ihoa-callout-link:hover {
  color: #fff;
  opacity: 0.85;
}

/* =========================
   Scribble header
   ========================= */
.ihoa-scribble {
  max-width: 520px;
  width: 100%;
  height: 64px;
}

.ihoa-scribble-arrow {
  height: 54px;
}

/* =========================
   Why-choose nav + items
   ========================= */

/* Shared dot-link styling (used by both nav variants) */
.ihoa-why-nav .ihoa-why-link,
.ihoa-sticky-nav .ihoa-nav-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none !important;
  font-weight: 600;
}

.ihoa-why-nav .ihoa-why-link::before,
.ihoa-sticky-nav .ihoa-nav-link::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-dot-muted);
  display: inline-block;
}

/* Default (inactive) colors */
.ihoa-why-nav .ihoa-why-link {
  color: #a6a6a6 !important;
}

.ihoa-sticky-nav .ihoa-nav-link {
  color: #9aa0a6;
}

/* Active */
.ihoa-why-nav .ihoa-why-link.active,
.ihoa-sticky-nav .ihoa-nav-link.active {
  color: #222 !important;
}

.ihoa-why-nav .ihoa-why-link.active::before,
.ihoa-sticky-nav .ihoa-nav-link.active::before {
  background: var(--brand-primary);
}

/* Content styles */
.ihoa-why-heading {
  color: var(--brand-primary);
}

.ihoa-why-icon {
  font-size: 110px;
  color: #c9c9c9;
}

/* RTE body cleanup */
.ihoa-why-body p:last-child {
  margin-bottom: 0 !important;
}

/* =========================
   Bottom CTA
   ========================= */
.ihoa-bottom-cta {
  background: #fbf6f2; /* warm off-white */
}

.ihoa-bottom-cta-heading {
  color: var(--brand-primary);
  font-size: 2rem;
  line-height: 1.2;
}

.ihoa-bottom-cta-button {
  background-color: var(--brand-primary);
  color: #fff;
  border: none !important;
}

.ihoa-bottom-strip {
  background: #e6e6e6;
}

.ihoa-strip-text {
  color: var(--brand-primary);
  font-weight: 600;
}

.ihoa-small-arrow-scribble {
  height: 32px;
}

/* =========================
   Footer
   ========================= */
.ihoa-footer {
  background: #2f2f2f !important;
  color: #aaa !important;
  text-align: center !important;
  padding: 0 !important;
}

.ihoa-footer-top {
  background: #e6e6e6 !important;
  padding: 18px 12px 14px !important;   /* was 12px */
}

.ihoa-footer-top a {
  color: var(--brand-primary);
  font-size: 1.4rem !important;
  margin: 0 6px !important;
}

.ihoa-footer-location {
  margin-top: 10px;
  color: #666;
  font-size: .92rem;
  line-height: 1.4;
}

.ihoa-footer-location strong {
  color: #444;
  font-weight: 600;
}

.ihoa-footer-bottom {
  font-size: 0.85rem !important;
  padding: 14px 12px !important;   /* slightly more breathing room */
}

.ihoa-footer a {
  color: #aaa !important;
  text-decoration: none !important;
}

.ihoa-footer a:hover {
  color: #fff !important;
}

.ihoa-footer-icon {
  color: var(--brand-primary);
}

/* =========================
   Responsive rules
   ========================= */

/* Tablet + down: hide heavy images (your latest requirement) */
@media (max-width: 1024px) {
  .ihoa-hero img,
  .ihoa-hero-logo,
  .ihoa-hero-logo-container,
  .ihoa-laptop {
    display: none !important;
  }
}

/* Mobile: tighten spacing + hide section icons */
@media (max-width: 767.98px) {

  /* Hide section icons only on true mobile */
  .ihoa-why-icon {
    display: none !important;
  }

  /* Hero spacing tighter */
  .ihoa-hero .container {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .ihoa-hero h1 {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
  }

  .ihoa-hero .ihoa-hero-lead {
    margin-bottom: 0 !important;
  }

  /* Callout bar */
  .ihoa-callout-bar {
    margin-bottom: 0 !important;
  }

  /* Scribble block spacing */
  #why-choose-header,
  .ihoa-why-header,
  .ihoa-why-scribble-section {
    padding-top: 12px !important;
    padding-bottom: 6px !important;
    margin-top: 0 !important;
  }

  .ihoa-scribble {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
  }

  /* Why-choose item spacing */
  #why-choose-items [id] {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }

  /* Reduce gutters when icons are hidden */
  #why-choose-items .row.g-4,
  #why-choose-items .row.g-5 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: .75rem;
  }

  /* Divider spacing */
  #why-choose-items .border-top {
    margin-top: 10px !important;
    padding-top: 18px !important;
  }

  /* Headings + paragraphs tighter */
  #why-choose-items h3 {
    margin-bottom: 6px !important;
  }

  .ihoa-why-body p {
    margin-bottom: 0.5rem;
  }
  .ihoa-why-body p:last-child {
    margin-bottom: 0 !important;
  }
}

.ihoa-contact-layout {
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 48px;
    align-items: start;
}

.ihoa-contact-copy h2 {
    color: #c55332;
    font-weight: 700;
    margin-bottom: 16px;
}

.ihoa-contact-copy p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.ihoa-contact-card {
    background: #fff;
    padding: 32px;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(0,0,0,.10);
}

.ihoa-contact-card .umbraco-forms-field {
    margin-bottom: 18px;
}

.ihoa-contact-card label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}

.ihoa-contact-card input,
.ihoa-contact-card select,
.ihoa-contact-card textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font: inherit;
    box-sizing: border-box;
}

.ihoa-contact-card textarea {
    min-height: 150px;
    resize: vertical;
}

.ihoa-contact-card input[type="submit"],
.ihoa-contact-card button[type="submit"] {
    background: #c55332;
    color: white;
    border: 0;
    border-radius: 8px;
    padding: 13px 24px;
    font-weight: 700;
    cursor: pointer;
}

.ihoa-contact-card .umbraco-forms-hidden {
    display: none !important;
}

.ihoa-contact-card .umbraco-forms-hidden input {
    display: none !important;
}

@media (max-width: 850px) {
    .ihoa-contact-layout {
        grid-template-columns: 1fr;
    }
}

.ihoa-about-page {
    --ihoa-orange: #cb4724;
    --ihoa-soft: #f7f4f1;
    --ihoa-border: #eee7e2;
    color: #252525;
}

.ihoa-about-page h2 {
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.ihoa-about-page h3 {
    font-size: 1.28rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 8px;
}

.ihoa-about-page p {
    line-height: 1.55;
}

.ihoa-about-intro {
    padding: 12px 0 30px;
    max-width: 900px;
}

.ihoa-about-section {
    padding: 34px 0;
}

.ihoa-section-heading {
    margin-bottom: 24px;
    max-width: 900px;
}

.ihoa-kicker {
    color: var(--ihoa-orange);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.ihoa-title {
    color: var(--ihoa-orange);
    font-weight: 600;
    margin-bottom: 12px;
}

.ihoa-soft-card,
.ihoa-team-card {
    background: #fff;
    border: 1px solid var(--ihoa-border);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0,0,0,.04);
}

.ihoa-soft-card {
    height: 100%;
    padding: 24px;
}

.ihoa-soft-icon {
    color: var(--ihoa-orange);
    font-size: 1.75rem;
    margin-bottom: 14px;
    opacity: .72;
}

.ihoa-team-card {
    height: 100%;
    padding: 22px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    
}

.ihoa-team-photo {
    width: 105px !important;
    height: 105px !important;
    min-width: 105px;
    border-radius: 12px !important;
    object-fit: cover;
    background: #d88761;
    border: 1px solid #ead8d0;
}

.ihoa-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--ihoa-orange);
    font-size: .85rem;
    text-align: center;
}

.ihoa-personal {
    color: #555;
    font-size: .93rem;
    margin-bottom: 0;
}

.ihoa-fast-facts {
    padding: 34px 0;
}

.ihoa-fast-facts i {
    color: var(--ihoa-orange);
    width: 24px;
    margin-right: 8px;
    opacity: .8;
}

.ihoa-fast-facts .col-12 {
    padding: 10px 14px;
    border-bottom: 1px solid var(--ihoa-border);
}

.ihoa-about-cta {
    background: var(--ihoa-soft);
    border-radius: 16px;
    padding: 40px 28px;
    text-align: center;
    margin-top: 24px;
}

.ihoa-about-button {
    display: inline-block;
    background: var(--ihoa-orange);
    color: #fff;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.ihoa-about-button:hover {
    background: #a93b1f;
    color: #fff;
}

@media (max-width: 768px) {
    .ihoa-team-card {
        display: block;
    }

    .ihoa-team-photo {
        margin-bottom: 16px;
    }

    .ihoa-about-cta {
        padding: 32px 22px;
    }
    
    .our-mission-card {
        display: none;   
    }
}
