/* ════════════════════════════════
   EASYACRES — COMMON STYLES
   Shared across inner pages.
   Load AFTER reset.css, BEFORE page-specific CSS.

   Nav, footer, buttons and FAQ already live in style.css
   (js/components.js injects the header/footer) — this file only
   holds the pieces every *inner* page will need that don't exist
   yet: a 2-column page header, and a bottom CTA banner.
════════════════════════════════ */

/* ────────────────────────────────
   PAGE HERO  (inner pages — 2-col)
   Eyebrow / title / subtitle / actions / breadcrumb on the left,
   an image panel on the right. Our header is position:sticky (not
   fixed), so this needs no top-padding offset for the nav.
──────────────────────────────── */
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -5px;
}

.icon--sm {
  width: 15px;
  height: 15px;
  vertical-align: -3px;
  margin-right: 6px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
  cursor: pointer;
  border-radius: 999px;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn--primary:hover {
  background: var(--ocean);
}

.btn--outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

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

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--outline-white {
  border-color: rgba(255, 255, 255);
  background: rgba(255, 255, 255);
  color: var(--navy);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn--sm {
  padding: 12px 22px;
}

.text-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--steel);
}

/* Header */
.easyacres-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
}

.easyacres-header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 98px;
}

.easyacres-brand-logo {
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav a {
  position: relative;
  padding: 4px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--surface);
  transition: width 0.25s ease;
}

.nav a:hover::after,
.nav a.is-active::after {
  width: 100%;
}

.easyacres-header-cta {
  margin-left: 12px;
}

.nav-toggle {
  display: none;
}
/* Hero Section */
.easyacres-herosection {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 235px);
  color: var(--white);
}

.easyacres-herosection__media {
  position: absolute;
  overflow: hidden;
  inset: 0;
}

.easyacres-herosection__media img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 180%;
  object-fit: cover;
}

.easyacres-herosection__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 26, 47, 0.45) 0%,
    rgba(10, 26, 47, 0.6) 40%,
    rgba(10, 26, 47, 0.95) 100%
  );
}

.easyacres-herosection__content {
  position: relative;
  padding: 150px 32px 120px;
  text-align: center;
}

.easyacres-herosection h1 {
  font-weight: 600;
  font-size: 56px;
  color: var(--white);
  font-size: clamp(36px, 4.6vw, 56px);
  margin-bottom: 14px;
  font-family: var(--font-display);
  line-height: 1.15;
  max-width: 820px;
}

.easyacres-herosection__content p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-md);
  max-width: 620px;
  margin-top: 18px;
}

.easyacres-herosection__search {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translateY(50%);
  z-index: 2;
}

.inner-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 28px;
}

.inner-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--duration-fast);
}

.inner-hero__breadcrumb a:hover {
  color: var(--white);
}

.inner-hero__breadcrumb span:last-child {
  color: var(--white);
}

.inner-hero__eyebrow {
  display: flex;
  margin-bottom: 16px;
}

.inner-hero__eyebrow span {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--surface);
  margin-bottom: 10px;
}
/* inner section */
.easyacres-herosection__innerhero {
  display: block;
  min-height: auto;
}
.easyacres-herosection__innerhero .easyacres-herosection__content {
  text-align: left;
}
.easyacres-herosection__innerhero .easyacres-herosection__scrim {
  background: linear-gradient(
    180deg,
    rgba(10, 26, 47, 0.88) 0%,
    rgba(10, 26, 47, 0.8) 55%,
    rgba(10, 26, 47, 0.94) 100%
  );
}
.easyacres-herosection__shorthero {
  background-color: var(--navy);
}
.easyacres-herosection__shorthero .inner-hero__content {
  padding: 70px 0 60px;
}
/* Section generic */
.easyacres-section {
  padding: 120px 0;
  position: relative;
}

.easyacres-section.nopad {
  padding: 0;
}

.easyacres-section__light {
  background: #fff;
}

.easyacres-section__dark {
  background: var(--navy);
}

.easyacres-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.easyacres-section__head .titletag {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 15px;
}

.easyacres-section__head h2 {
  font-size: clamp(28px, 3.4vw, 36px);
  max-width: 640px;
  margin-bottom: 16px;
  font-weight: 500;
  font-size: 36px;
}

.easyacres-section__head p {
  display: block;
  font-size: 16px;
  color: var(--graphite);
  max-width: 620px;
  margin-top: 30px;
}

.easyacres-section__dark .easyacres-section__head span {
  color: var(--surface);
}

.easyacres-section__dark .easyacres-section__head h2 {
  color: var(--white);
}

/* Row cards — off-plan properties */
.easyacres-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.easyacres-cards__block {
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--surface);
  transition: box-shadow 0.25s ease;
}

.easyacres-cards__block:hover {
  box-shadow: 0 12px 30px rgba(10, 26, 47, 0.08);
}

.easyacres-cards__media {
  display: block;
  position: relative;
  aspect-ratio: 4/3;
}

.easyacres-cards__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.easyacres-cards__media .tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.easyacres-cards__detail {
  position: relative;
  padding: 24px 16px;
}

.easyacres-cards__detail h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.easyacres-cards__detail p {
  display: block;
  font-size: 12px;
  color: var(--graphite);
  margin-bottom: 10px;
}

.easyacres-cards__detail strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.easyacres-cards__detail .btn--primary {
  padding: 8px;
  position: absolute;
  bottom: 20px;
  right: 16px;
}

.easyacres-cards__detail svg {
  width: 18px;
  height: 18px;
}

.easyacres-cards.card-bg {
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.easyacres-cards.card-bg .easyacres-cards__detail {
  padding: 22px;
}

.easyacres-cards.card-bg h4 {
  font-size: 21px;
  margin-bottom: 10px;
}

.easyacres-cards.card-bg p {
  font-size: 14px;
  margin-bottom: 14px;
}

/* ────────────────────────────────
   CTA STRIP  (bottom banner — inner pages)
──────────────────────────────── */
.easyacres-cta {
  background: var(--ocean);
  padding: var(--space-2xl) 0;
}

.easyacres-cta__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.easyacres-cta__text {
  position: relative;
  display: block;
  width: calc(100% - 400px);
}
.easyacres-cta__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}

.easyacres-cta__sub {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
}

.easyacres-cta__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  flex-shrink: 0;
}
/* ────────────────────────────────
   FAQ — two-column layout: sticky intro beside a
   clean, minimally-divided list (no boxed cards)
──────────────────────────────── */
.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.faq-layout__intro {
  position: sticky;
  top: 110px;
}
.easyacres-faq .easyacres-section__head .btn--outline {
  margin-top: 40px;
}
.faq-layout__intro span {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 10px;
}

.faq-layout__intro h2 {
  font-size: clamp(26px, 2.6vw, 34px);
  margin-bottom: 16px;
}

.faq-layout__intro p {
  font-size: 15px;
  color: var(--graphite);
  max-width: 320px;
  margin-bottom: 26px;
}

.faq-list {
  border-top: 1px solid var(--surface);
}

.faq-item {
  border-bottom: 1px solid var(--surface);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 2px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--navy);
  transition: color 0.2s ease;
  font-weight: 600;
}

.faq-item summary:hover {
  color: var(--steel);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--navy);
  transform: translate(-50%, -50%);
  transition:
    transform var(--duration-base) var(--ease),
    opacity var(--duration-base) var(--ease);
}

.faq-icon::before {
  width: 14px;
  height: 1.5px;
}

.faq-icon::after {
  width: 1.5px;
  height: 14px;
}

.faq-item[open] .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item__body {
  padding: 0 0 24px;
  max-width: 680px;
}

.faq-item__body p {
  font-size: 14px;
  color: var(--graphite);
}

.faq-item__body a {
  color: var(--navy);
  text-decoration: underline;
}
/* ────────────────────────────────
   RESPONSIVE
──────────────────────────────── */
@media (max-width: 991px) {
  .container {
    padding: 0 24px;
  }
  .easyacres-header {
    position: fixed;
    width: 100%;
  }
  main{
    padding-top: 85px;
  }
  .easyacres-brand-logo {
    height: 35px;
  }
  .easyacres-header-inner {
    height: 85px;
  }
  .easyacres-section {
    padding: 40px 0;
  }
  .nav a:hover::after,
  .nav a.is-active::after {
    width: 0% !important;
  }
  .easyacres-cta__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .easyacres-cta__text {
    width: 100%;
  }
  .easyacres-cta__title {
    font-size: 20px;
  }
  .easyacres-cta__sub {
    font-size: 14px;
    max-width: 100%;
  }
  .split,
  .easyacres-cards.card-bg,
  .process-list,
  .easyacres-blog__grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }
  .split-copy {
    padding: 24px !important;
  }
  .easyacres-herosection {
    flex-direction: column;
  }
  .easyacres-herosection__content,
  .easyacres-herosection__shorthero .inner-hero__content {
    padding: 40px 24px !important;
  }
  .easyacres-herosection h1 {
    font-size: 32px !important;
  }
  .easyacres-herosection__content p {
    font-size: 14px;
  }
  .easyacres-herosection__search {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    padding: 0 24px 40px;
    width: 100%;
  }

  .easyacres-section__head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
  }
  .easyacres-section__head h2 {
    font-size: 28px;
  }
  .easyacres-section__head--left {
    margin-bottom: 10px;
  }
  .easyacres-section__head p {
    font-size: 14px;
  }
  /* card */
  .easyacres-cards__media {
    aspect-ratio: 3 / 2;
  }
  .easyacres-cards.card-bg h4 {
    font-size: 18px;
  }
  .easyacres-cards.card-bg p {
    font-size: 12px;
  }
  .easyacres-cards,
  .easyacres-cards.card-bg {
    gap: 16px;
  }
  /* easyacres-cta__actions */
  .easyacres-cta__actions {
    margin: 0 auto;
  }
  /* faq */
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .faq-layout__intro {
    position: static;
  }

  .faq-layout__intro p {
    max-width: none;
  }
  .faq-item summary {
    font-size: 16px;
  }

  /* btn */
  .btn {
    font-size: 12px;
  }
  .easyacres-faq .easyacres-section__head .btn--outline {
    margin-top: 20px3;
  }
}
/* @media (max-width: 520px) {
  .btn {
    width: 100%;
  }
} */

/* ────────────────────────────────
   "BOOK CONSULTATION" POPUP
   Injected by js/components.js on every page (not just contact.html) —
   deliberately separate class names from contact.css's .contact-form /
   .contact-modal (which only load on the Contact page) rather than
   reusing them, so this never depends on a page-specific stylesheet.
──────────────────────────────── */
.book-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 26, 47, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
}

.book-modal {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}

.book-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--graphite);
  transition: background var(--duration-fast), color var(--duration-fast);
}

.book-modal__close:hover {
  background: var(--ivory);
  color: var(--navy);
}

.book-modal #bookModalTitle {
  font-size: 24px;
  margin-bottom: 8px;
  padding-right: 30px;
}

.book-modal__subtitle {
  font-size: 14.5px;
  color: var(--graphite);
  margin-bottom: 26px;
}

.book-form__field {
  margin-bottom: 18px;
}

.book-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.book-form__field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 8px;
}

.book-form__optional {
  text-transform: none;
  font-weight: 400;
  letter-spacing: normal;
}

.book-form__field input[type="text"],
.book-form__field input[type="email"],
.book-form__field input[type="tel"],
.book-form__field select,
.book-form__field textarea {
  width: 100%;
  border: 1px solid var(--surface);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--duration-fast);
}

.book-form__field select {
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E6B78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
    no-repeat right 14px center / 14px;
  appearance: none;
}

.book-form__field textarea {
  resize: vertical;
  min-height: 80px;
}

.book-form__field input:focus,
.book-form__field select:focus,
.book-form__field textarea:focus {
  outline: none;
  border-color: var(--steel);
}

.book-form__phone {
  display: flex;
  align-items: center;
  border: 1px solid var(--surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.book-form__phone span {
  padding: 12px 12px;
  font-size: 14px;
  color: var(--graphite);
  background: var(--ivory);
  border-right: 1px solid var(--surface);
}

.book-form__phone input {
  border: none !important;
  border-radius: 0 !important;
}

.book-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--graphite);
  margin-bottom: 20px;
  cursor: pointer;
}

/* Fully custom checkbox — same treatment as contact.html's, so the two
   consent checkboxes on the site look and behave identically instead of
   drifting apart. See css/contact.css for the full rationale. */
.book-form__consent input {
  appearance: none;
  -webkit-appearance: none;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  flex-shrink: 0;
  border: 2px solid var(--steel) !important;
  border-radius: 4px;
  background: var(--white) !important;
  cursor: pointer;
  position: relative;
  transition: background var(--duration-fast), border-color var(--duration-fast);
}

/* !important here isn't stylistic — some browsers keep painting a native
   checkbox background/border underneath author styles even with
   appearance:none unless these two properties are forced, which was the
   actual cause of the checkmark not reading as "checked" for some users. */
.book-form__consent input:checked {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
}

.book-form__consent input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.book-form__consent a {
  color: var(--navy);
  text-decoration: underline;
}

.book-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.book-form__error {
  font-size: 13px;
  color: #b3261e;
  background: #fdeceb;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 18px;
}

.book-form__submit {
  width: 100%;
}

.book-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#bookModalResultView {
  text-align: center;
}

.book-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 22px;
  background: #e3f6ea;
  color: #1c6b39;
}

.book-modal__icon--error {
  background: #fdeceb;
  color: #b3261e;
}

#bookModalResultView h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

#bookModalResultView p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--graphite);
  margin-bottom: 26px;
}

#bookModalResultView .btn {
  width: 100%;
}

@media (max-width: 560px) {
  .book-modal {
    padding: 32px 24px;
  }
  .book-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
