/* ==========================================================================
   Hillwood Manor: site wide layout and readability fixes
   Loaded last on every page so these rules win over the page builder CSS.
   ========================================================================== */

:root {
  --hw-brown: #604b32;
  --hw-brown-dark: #3b2d1e;
  --hw-olive: #7d8259;
  --hw-cream: #fbf8f3;
  --hw-text: #4a4035;
}

/* ---------- Global ---------------------------------------------------- */

/* Stop the page from scrolling sideways on phones and small laptops */
html, body { overflow-x: clip; }
img, iframe, video { max-width: 100%; }

/* Headings and paragraphs set to "center/left/right" in the builder */
.ekit-heading.text_center,
.ekit-heading.text_center .ekit-heading__description,
.ekit-heading.text_center .ekit-heading__description p { text-align: center !important; }
.ekit-heading.text_left .ekit-heading__description p { text-align: left; }
.ekit-heading.text_right .ekit-heading__description p { text-align: right; }

/* Long headings must wrap instead of being cut off at the screen edge */
.elementor-heading-title,
.ekit-heading--title { overflow-wrap: break-word; word-break: normal; }

/* ---------- Home: Christmas hero -------------------------------------- */

/* Push the greeting below the centered logo so they never overlap */
html body .elementor-element-d2ac970 .hero-static-caption {
  padding-top: 170px !important;
  padding-bottom: 48px !important;
  box-sizing: border-box;
}
html body .elementor-element-d2ac970 .hero-static-caption__inner { gap: 16px !important; }
html body .elementor-element-d2ac970 .hero-static-caption .hero-line--script {
  font-size: clamp(38px, 5.4vw, 76px) !important;
  line-height: 1.12 !important;
}
html body .elementor-element-d2ac970 .hero-static-caption .hero-line--offer {
  font-size: clamp(17px, 2.1vw, 27px) !important;
}
html body .elementor-element-d2ac970 .hero-static-caption .hero-line {
  text-shadow: 0 2px 6px rgba(0, 0, 0, .55), 0 4px 24px rgba(0, 0, 0, .45) !important;
}
/* Slightly darker photo so white text reads on bright Christmas lights */
html body .elementor-element-d2ac970 .elementor-background-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,.22) 45%, rgba(0,0,0,.42) 100%) !important;
}
/* Give the slider enough height for logo + greeting + gift button */
html body .elementor-element-d2ac970 .swiper-slide,
html body .elementor-element-d2ac970 .elementor-slides-wrapper {
  min-height: 680px;
}

@media (max-width: 1024px) {
  html body .elementor-element-d2ac970 .hero-static-caption { padding-top: 60px !important; }
  html body .elementor-element-d2ac970 .swiper-slide,
  html body .elementor-element-d2ac970 .elementor-slides-wrapper { min-height: 600px; }
}
@media (max-width: 767px) {
  html body .elementor-element-d2ac970 .hero-static-caption {
    padding: 40px 20px 32px !important;
  }
  html body .elementor-element-d2ac970 .hero-static-caption .hero-line--script { font-size: clamp(34px, 10vw, 46px) !important; }
  html body .elementor-element-d2ac970 .swiper-slide,
  html body .elementor-element-d2ac970 .elementor-slides-wrapper { min-height: 560px; }
}

/* ---------- Floor Plans: hero ------------------------------------------ */

html body .elementor-element-a7c33fd {
  position: relative !important;
  min-height: 560px;
  justify-content: center !important;
  align-items: center !important;
  padding: 190px 24px 70px !important;
  gap: 22px !important;
  box-sizing: border-box;
}
html body .elementor-element-a7c33fd::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(25,18,10,.55) 0%, rgba(25,18,10,.45) 50%, rgba(25,18,10,.65) 100%);
  z-index: 0;
  pointer-events: none;
}
html body .elementor-element-a7c33fd > * { position: relative; z-index: 1; }

html body .elementor-element-a7c33fd .hw-hero-title {
  margin: 0 0 10px !important;
  color: #fff !important;
  font-size: clamp(36px, 5vw, 60px) !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0,0,0,.5);
}
html body .elementor-element-a7c33fd .ekit-heading__description p {
  color: #fff !important;
  font-size: clamp(16px, 1.6vw, 21px) !important;
  line-height: 1.5 !important;
  margin: 0 auto !important;
  max-width: 720px;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}
html body .elementor-element-8956bdb { margin-bottom: 12px !important; }

/* Plan tabs: clear, readable pill buttons */
html body .elementor-element-a7c33fd .elementor-element-de6cf0f,
html body .elementor-element-a7c33fd .elementor-element-de6cf0f > .e-con-inner {
  width: 100% !important;
  max-width: 980px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 14px !important;
}
html body .elementor-element-a7c33fd .uc_creative_buttons .container {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
}
html body .elementor-element-a7c33fd .uc_creative_buttons .uc_button {
  display: inline-block !important;
  padding: 13px 28px !important;
  border: 1px solid rgba(255,255,255,.75) !important;
  border-radius: 40px !important;
  background: rgba(255,255,255,.14) !important;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  letter-spacing: .02em;
  line-height: 1.2 !important;
  white-space: nowrap;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
html body .elementor-element-a7c33fd .uc_creative_buttons .uc_button span { color: #fff !important; }
html body .elementor-element-a7c33fd .uc_creative_buttons .uc_button::after { background: var(--hw-brown) !important; }
html body .elementor-element-a7c33fd .uc_creative_buttons .uc_button:hover,
html body .elementor-element-a7c33fd .uc_creative_buttons .uc_button:focus-visible {
  border-color: #fff !important;
}

@media (max-width: 1024px) {
  html body .elementor-element-a7c33fd { padding-top: 90px !important; min-height: 460px; }
}
@media (max-width: 767px) {
  html body .elementor-element-a7c33fd { padding: 70px 16px 48px !important; min-height: 0; }
  html body .elementor-element-a7c33fd .uc_creative_buttons .uc_button { padding: 11px 20px !important; font-size: 15px !important; }
}

/* ---------- Floor Plans: section heading -------------------------------- */

html body .elementor-element-ede432c > .e-con-inner {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 70px 24px 80px !important;
  box-sizing: border-box;
}
html body .elementor-element-a394e0b { width: 100% !important; }
html body .elementor-element-a394e0b .ekit-heading--title {
  color: var(--hw-brown-dark) !important;
  font-size: clamp(26px, 3.2vw, 40px) !important;
  line-height: 1.25 !important;
  text-align: center !important;
  margin: 0 auto 14px !important;
  max-width: 900px;
}
html body .elementor-element-a394e0b .ekit-heading__description p {
  color: var(--hw-text) !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
  max-width: 760px;
  margin: 0 auto 40px !important;
}

/* ---------- Floor Plans: cards ------------------------------------------ */

html body .elementor-element-6a15e0e,
html body .elementor-element-6a15e0e > .e-con-inner { width: 100% !important; max-width: 100% !important; padding: 0 !important; }

html body .elementor-element-6a15e0e > .e-con-inner.responsive-floor-plans-container {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch !important;
}
html body .responsive-floor-plans-container > [data-plan] {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: none !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid #ebe4d9 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(60, 45, 30, .08);
  scroll-margin-top: 140px;
  transition: transform .25s ease, box-shadow .25s ease;
}
html body .responsive-floor-plans-container > [data-plan]:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(60, 45, 30, .14);
}

/* Card title */
html body .responsive-floor-plans-container .hw-plan-head {
  padding: 22px 24px 6px;
  text-align: center;
}
html body .responsive-floor-plans-container .hw-plan-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hw-olive);
}
html body .responsive-floor-plans-container .hw-plan-name {
  margin: 4px 0 0 !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  color: var(--hw-brown-dark) !important;
}

/* Plan image: show the whole floor plan, never cropped */
html body .responsive-floor-plans-container > [data-plan] .elementor-widget-image {
  width: 100% !important;
  margin: 0 !important;
  padding: 10px 18px !important;
  box-sizing: border-box;
  background: #fff;
}
html body .responsive-floor-plans-container > [data-plan] .elementor-widget-image a { display: block !important; }
html body .responsive-floor-plans-container > [data-plan] .elementor-widget-image img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  aspect-ratio: 4 / 3;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Specs: one tidy row at the bottom of each card */
html body .responsive-floor-plans-container > [data-plan] .elementor-widget-premium-icon-list {
  width: 100% !important;
  margin-top: auto !important;
  padding: 0 !important;
  flex: none !important;
}
html body .responsive-floor-plans-container > [data-plan] .premium-bullet-list-box {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  border-top: 1px solid #efe8de;
  background: var(--hw-cream);
  height: auto !important;
  width: 100% !important;
}
html body .responsive-floor-plans-container > [data-plan] .premium-bullet-list-content {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 16px 6px !important;
  text-align: center !important;
}
html body .responsive-floor-plans-container > [data-plan] .premium-bullet-list-content + .premium-bullet-list-content {
  border-left: 1px solid #efe8de;
}
html body .responsive-floor-plans-container > [data-plan] .premium-bullet-list-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: 100%;
}
html body .responsive-floor-plans-container > [data-plan] .premium-bullet-list-wrapper,
html body .responsive-floor-plans-container > [data-plan] .premium-drawable-icon {
  display: flex !important;
  justify-content: center !important;
  margin: 0 !important;
}
html body .responsive-floor-plans-container > [data-plan] .premium-drawable-icon svg {
  width: 22px !important;
  height: 22px !important;
  fill: var(--hw-brown) !important;
}
html body .responsive-floor-plans-container > [data-plan] .premium-bullet-list-text-wrapper {
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
html body .responsive-floor-plans-container > [data-plan] .premium-bullet-text {
  display: block;
  color: var(--hw-brown-dark) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  white-space: nowrap;
}
/* Price stands out */
html body .responsive-floor-plans-container > [data-plan] .premium-bullet-list-content:last-child .premium-bullet-text {
  color: var(--hw-brown) !important;
  font-weight: 700 !important;
}

@media (max-width: 1100px) {
  html body .elementor-element-6a15e0e > .e-con-inner.responsive-floor-plans-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 700px) {
  html body .elementor-element-6a15e0e > .e-con-inner.responsive-floor-plans-container {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
  html body .elementor-element-ede432c > .e-con-inner { padding: 48px 16px 56px !important; }
  html body .responsive-floor-plans-container > [data-plan] .premium-bullet-text { font-size: 13px !important; white-space: normal; }
}

/* ---------- Contact: office hours ---------------------------------------- */

html body .elementor-element-63e0c29 > .e-con-inner {
  max-width: 1040px !important;
  margin: 0 auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box;
}
html body .elementor-element-48cf7a9 {
  width: 100% !important;
  max-width: 1040px !important;
  margin: 18px auto 0 !important;
  padding: 0 24px !important;
  box-sizing: border-box;
}
html body .elementor-element-48cf7a9 .ekit-heading__description p {
  text-align: center !important;
  color: var(--hw-text) !important;
  font-size: 16px !important;
  font-style: italic;
  margin: 0 !important;
}

/* ---------- Floor Plans: feature boxes over the kitchen photo ----------- */

html body .elementor-element-8f2e37d {
  position: relative !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 20px !important;
  align-items: stretch !important;
  padding: 90px max(24px, calc((100% - 1240px) / 2)) !important;
  box-sizing: border-box;
  min-height: 0 !important;
}
html body .elementor-element-8f2e37d::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 10, .62);
  z-index: 0;
  pointer-events: none;
}
html body .elementor-element-8f2e37d > .e-con {
  position: relative;
  z-index: 1;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: none !important;
}
html body .elementor-element-8f2e37d > .e-con > .e-con-inner {
  width: 100% !important;
  max-width: none !important;
  height: 100%;
  padding: 0 !important;
  margin: 0 !important;
}
html body .elementor-element-8f2e37d .elementor-widget-elementskit-icon-box,
html body .elementor-element-8f2e37d .ekit-wid-con { width: 100% !important; height: 100%; margin: 0 !important; }
html body .elementor-element-8f2e37d .elementskit-infobox {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 16px;
  height: 100% !important;
  min-height: 210px;
  margin: 0 !important;
  padding: 34px 18px 28px !important;
  box-sizing: border-box;
  text-align: center !important;
  background: rgba(255, 255, 255, .08) !important;
  border: 1px solid rgba(255, 255, 255, .55) !important;
  border-radius: 14px !important;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  transition: transform .25s ease, background .25s ease;
}
html body .elementor-element-8f2e37d .elementskit-infobox:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .16) !important;
}
html body .elementor-element-8f2e37d .elementskit-box-header,
html body .elementor-element-8f2e37d .elementskit-info-box-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 72px !important;
  height: 72px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  float: none !important;
}
html body .elementor-element-8f2e37d .elementskit-info-box-icon {
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .95) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
html body .elementor-element-8f2e37d .elementskit-info-box-icon svg {
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  fill: var(--hw-brown) !important;
  margin: 0 !important;
  position: static !important;
}
html body .elementor-element-8f2e37d .elementskit-info-box-icon i {
  font-size: 34px !important;
  line-height: 1 !important;
  width: auto !important;
  height: auto !important;
  color: var(--hw-brown) !important;
  margin: 0 !important;
}
html body .elementor-element-8f2e37d .box-body { margin: 0 !important; padding: 0 !important; }
html body .elementor-element-8f2e37d .elementskit-info-box-title {
  margin: 0 !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}

@media (max-width: 1100px) {
  html body .elementor-element-8f2e37d { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; padding: 70px 24px !important; }
}
@media (max-width: 700px) {
  html body .elementor-element-8f2e37d { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; padding: 56px 16px !important; }
  html body .elementor-element-8f2e37d .elementskit-infobox { min-height: 170px; padding: 24px 12px 20px !important; }
  html body .elementor-element-8f2e37d .elementskit-info-box-title { font-size: 15px !important; }
  html body .elementor-element-8f2e37d .elementskit-info-box-icon { width: 60px !important; height: 60px !important; }
  html body .elementor-element-8f2e37d .elementskit-info-box-icon svg { width: 28px !important; height: 28px !important; }
  html body .elementor-element-8f2e37d > .e-con:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 7px) !important;
  }
}
