/* Smart Property Choices — static website styles.
   Colours, fonts and spacing match the WordPress (Elementor) site it replaces. */

@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --green: #1c5540;
  --green-hover: #0f6847;
  --sand: #f1ede6;
  --ink: #1e293b;
  --text: #334155;
  --line: #cacaca;
  --faq-closed: #f7f9fb;
  --font-head: "Plus Jakarta Sans", sans-serif;
  --font-body: "Hanken Grotesk", sans-serif;
  --font-accent: "Manrope", sans-serif;
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --header-h: 126px;
  --page-max: 1400px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--text); font: 400 18px/1.65 var(--font-body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 700; line-height: 1.3; color: var(--ink); }
h2 { font-size: 39px; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 10000; padding: 10px 16px; border-radius: 8px; background: var(--green); color: #fff; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--green-hover); outline-offset: 3px; }

/* Small uppercase label with the arrow icon above each heading */
.eyebrow { display: flex; align-items: flex-start; gap: 4px; font: 600 18px/1.65 var(--font-body); text-transform: uppercase; color: var(--text); }
.eyebrow .icon { width: 14px; height: 14px; margin-top: calc((1.65em - 14px) / 2); fill: var(--green); }
.eyebrow-center { justify-content: center; }

/* Pill button (Book a Consultation, Read More) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; align-self: flex-start;
  padding: 15px 29px; border: 0; border-radius: 33px;
  background: var(--green); color: #fff; cursor: pointer;
  font: 600 18px/1 var(--font-head); text-transform: uppercase; text-decoration: none;
  transition: background-color .2s;
}
.btn:hover, .btn:focus-visible { background: var(--green-hover); }
@media (prefers-reduced-motion: no-preference) {
  .btn:hover { animation: pulse-shrink .3s linear infinite alternate; }
}
@keyframes pulse-shrink { to { transform: scale(.9); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; }
.header-inner { max-width: 1440px; margin: 0 auto; padding: 10px 30px; min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { flex: none; }
.logo img { width: 210px; }
.site-nav ul { display: flex; align-items: center; gap: 14px; }
.site-nav a {
  display: flex; align-items: center; height: 45px; padding: 0 11px; border-radius: 10px;
  color: #000; font: 600 18px/1.65 var(--font-system); text-transform: uppercase; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.site-nav a:hover { color: var(--green); }
.site-nav a[aria-current="page"] { background: var(--green); color: #fff; }
.menu-toggle, .menu-close { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 10px 20px 0; }
.hero-grid { max-width: var(--page-max); margin: 0 auto; display: grid; grid-template-columns: 55fr 45fr; min-height: 517px; }
.hero-text { display: flex; flex-direction: column; justify-content: flex-start; gap: 20px; padding: 76px 36px 93px 45px; border-radius: 20px 0 0 20px; background: var(--sand); }
.hero-text h1 { font-size: 46px; }
/* Text paragraphs keep the space the WordPress theme put under them */
.hero-text > p:not(.eyebrow), .about-text > p:not(.eyebrow) { margin-bottom: 30px; }
.hero-text > p:not(.eyebrow) { max-width: 593px; }
.hero-photo { position: relative; overflow: hidden; border-radius: 0 20px 20px 0; background: var(--sand); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- About ---------- */
.about { padding: 80px 20px 0; }
.about-grid { max-width: var(--page-max); margin: 0 auto; display: grid; grid-template-columns: 458fr 550fr 362fr; gap: 15px; min-height: 585px; }
.about-text { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 10px; }
.about-text h2 { font-size: 36px; }
.read-more summary { list-style: none; }
.read-more summary::-webkit-details-marker { display: none; }
.read-more-body { display: grid; gap: 1em; padding-top: 20px; }
.about-photo { position: relative; overflow: hidden; border-radius: 10px; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-side { display: flex; flex-direction: column; gap: 20px; padding: 56px 0; }
.side-photo { width: 100%; height: 205px; object-fit: cover; object-position: 50% 0; border-radius: 10px; }
.why { display: grid; gap: 16px; }
.about-side h3 { font: 600 24px/1.3 var(--font-accent); color: var(--green); }
.check-list { display: grid; gap: 11px; }
.check-list li { display: flex; align-items: center; gap: 5px; }
.check-list .icon { width: 19px; height: 19px; color: var(--green); }

/* ---------- Services ---------- */
.services { position: relative; margin-top: 70px; padding: 36px 20px 57px; border-radius: 10px; background: var(--sand); text-align: center; }
.services h2 { margin-top: 20px; }
.service-list { max-width: 1195px; margin: 26px auto 0; text-align: left; }
.service { display: grid; grid-template-columns: 105px 1fr 1fr; align-items: center; column-gap: 20px; min-height: 140px; padding: 20px 20px 24px; border-bottom: 1px solid var(--line); }
.service-icon { width: 50px; height: 50px; fill: var(--green); }
.service-icon.icon-wide { width: 60px; }
.service h3 { font-size: 24px; color: var(--green); }
.service p { align-self: start; color: var(--green); }
.services-arrow { position: relative; z-index: 1; display: block; width: 64px; height: 64px; margin: 35px auto 0; color: var(--green); border-radius: 50%; }
.services-arrow .icon { width: 64px; height: 64px; transition: transform .2s; }
.services-arrow:hover .icon { transform: translateY(3px); }
/* White notch the arrow sits in (the Elementor shape divider) */
.services::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 123px; height: 123px; transform: translateX(-50%); background: #fff; clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* ---------- Promise ---------- */
.promise { padding: 60px 20px 80px; text-align: center; }
.promise h2 { margin-top: 20px; }
.promise-cards { max-width: var(--page-max); margin: 30px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; text-align: left; }
.promise-card { display: flex; gap: 4px; min-height: 213px; padding: 17px; border-radius: 10px; background: var(--sand); }
.pc-text { flex: 0 0 144px; display: flex; flex-direction: column; gap: 39px; padding: 10px; }
.pc-text .icon { width: 42px; height: 42px; fill: var(--green); }
.pc-text h3 { font-size: 18px; color: var(--green); }
.pc-photo { position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: 10px; }
.pc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Process ---------- */
.process {
  --overlap: calc(0.14 * min(100vw - 60px, 1300px)); /* how far the photo below rises into this panel */
  max-width: var(--page-max); margin: 0 auto; padding: 95px 30px calc(var(--overlap) + 95px);
  border-radius: 10px; background: var(--green); color: var(--sand); text-align: center;
}
.process .eyebrow { color: #fff; }
.process .eyebrow .icon { fill: #fff; }
.process h2 { max-width: 1000px; margin: 20px auto 0; color: #fff; }
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; margin-top: 47px; }
.step img { width: 42px; margin: 0 auto; }
.step-divider {
  --dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMidYMid meet' overflow='visible' height='100%25' viewBox='0 0 126 26' fill='black' stroke='none'%3E%3Cpath d='M3,10.2c2.6,0,2.6,2,2.6,3.2S4.4,16.5,3,16.5s-3-1.4-3-3.2S0.4,10.2,3,10.2z M18.8,10.2c1.7,0,3.2,1.4,3.2,3.2s-1.4,3.2-3.2,3.2c-1.7,0-3.2-1.4-3.2-3.2S17,10.2,18.8,10.2z M34.6,10.2c1.5,0,2.6,1.4,2.6,3.2s-0.5,3.2-1.9,3.2c-1.5,0-3.4-1.4-3.4-3.2S33.1,10.2,34.6,10.2z M50.5,10.2c1.7,0,3.2,1.4,3.2,3.2s-1.4,3.2-3.2,3.2c-1.7,0-3.3-0.9-3.3-2.6S48.7,10.2,50.5,10.2z M66.2,10.2c1.5,0,3.4,1.4,3.4,3.2s-1.9,3.2-3.4,3.2c-1.5,0-2.6-0.4-2.6-2.1S64.8,10.2,66.2,10.2z M82.2,10.2c1.7,0.8,2.6,1.4,2.6,3.2s-0.1,3.2-1.6,3.2c-1.5,0-3.7-1.4-3.7-3.2S80.5,9.4,82.2,10.2zM98.6,10.2c1.5,0,2.6,0.4,2.6,2.1s-1.2,4.2-2.6,4.2c-1.5,0-3.7-0.4-3.7-2.1S97.1,10.2,98.6,10.2z M113.4,10.2c1.2,0,2.2,0.9,2.2,3.2s-0.1,3.2-1.3,3.2s-3.1-1.4-3.1-3.2S112.2,10.2,113.4,10.2z'/%3E%3C/svg%3E");
  display: flex; align-items: center; gap: 7px; height: 20px; margin: 25px 0 18px;
}
.step-divider::before, .step-divider::after {
  content: ""; flex: 1; height: 20px; background: var(--sand);
  -webkit-mask: var(--dots) repeat-x center / auto 100%; mask: var(--dots) repeat-x center / auto 100%;
}
.step-divider::before { -webkit-mask-position: right center; mask-position: right center; }
.step-divider::after { -webkit-mask-position: left center; mask-position: left center; }
.step-divider > span { width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.step h3 { font-size: 19px; color: var(--sand); }
.step p { margin-top: 3px; font-size: 15px; }

.choose { max-width: 1300px; margin: calc(-0.14 * min(100vw - 60px, 1300px)) auto 0; padding: 0; }
.choose img { width: 100%; border-radius: 10px; }
@media (max-width: 1360px) { .choose { margin-inline: 30px; } }

/* ---------- FAQ ---------- */
.faq { padding: 60px 20px 80px; text-align: center; }
.faq h2 { margin-top: 20px; }
.faq-list { max-width: var(--page-max); margin: 40px auto 0; display: grid; gap: 1px; text-align: left; }
.faq-item { background: var(--faq-closed); }
.faq-item[open] { border-radius: 10px; background: var(--sand); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 37px 28px 24px 62px; cursor: pointer; list-style: none;
  font: 500 22px/24px var(--font-system); color: #000;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 30px; height: 30px; margin: -3px 0; }
.faq-item .faq-open, .faq-item[open] .faq-closed { display: none; }
.faq-item[open] .faq-open { display: block; }
.faq-body { padding: 0 193px 35px 62px; font: 400 18px/24px var(--font-system); color: var(--text); }

/* ---------- Footer / contact ---------- */
.site-footer { padding: 0 20px 20px; }
.contact-box { max-width: var(--page-max); margin: 0 auto; padding: 110px 51px 24px; border-radius: 10px; background: var(--green); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-details, .contact-form { padding: 0 20px; }
.footer-logo { width: 305px; }
.footer-heading { font-size: 24px; color: var(--sand); }
.contact-details .footer-heading { margin-top: 20px; }
.contact-list { display: grid; gap: 20px; margin-top: 20px; }
.contact-list a { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.contact-list .icon { width: 13px; height: 13px; }
.contact-form .footer-heading { margin-bottom: 20px; }

.spc-form { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.spc-form input, .spc-form textarea {
  display: block; width: 100%; margin: 0; padding: 11px 15px;
  border: 1px solid #dadbdd; border-radius: 8px; background: #fff; color: #606266;
  font: 400 16px/1 var(--font-system);
}
.spc-form input { height: 40px; }
.spc-form textarea { min-height: 90px; line-height: 1.4; resize: vertical; }
.spc-form ::placeholder { color: #9b9ca0; opacity: 1; }
.spc-form input:focus, .spc-form textarea:focus { border-color: #fff; outline: 3px solid rgba(255, 255, 255, .55); outline-offset: 0; }
.spc-form button[type="submit"] {
  width: 100%; padding: 8px 20px; border: 0; border-radius: 8px; background: #fff; color: var(--green); cursor: pointer;
  font: 500 16px/24px var(--font-accent); transition: background-color .2s;
}
.spc-form button[type="submit"]:hover { background: var(--sand); }
.spc-form button[aria-busy="true"] { opacity: .7; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 12px 15px; border-radius: 8px; font-size: 16px; line-height: 1.5; }
.form-status.is-success { background: #e5f3ec; color: #14432f; }
.form-status.is-error { background: #fdecea; color: #8a1c13; }

.contact-box hr { margin: 60px 0 22px; border: 0; border-top: 2px solid #949494; }
.copyright { font-size: 16px; text-align: center; }
.copyright a { color: #fff; text-decoration: none; }
.copyright a:hover { text-decoration: underline; }

/* ---------- 404 ---------- */
.not-found { padding: 10px 20px 80px; }
.not-found-box { max-width: var(--page-max); margin: 0 auto; display: flex; flex-direction: column; gap: 20px; padding: 90px 45px; border-radius: 20px; background: var(--sand); }
.not-found-box h1 { font-size: 46px; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  :root { --header-h: 108px; }
  .logo img { width: 175px; }
  .menu-toggle {
    display: flex; align-items: center; justify-content: center; width: 45px; height: 50px; padding: 8px;
    border: 1px solid #dadbdd; border-radius: 3px; background: none; color: #333; cursor: pointer;
  }
  .menu-toggle .icon { width: 26px; height: 26px; }
  .site-nav {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 1002; width: min(350px, 86vw); padding: 22px 0 30px;
    overflow-y: auto; background: #f7f7f7; transform: translateX(-100%); visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
  }
  .site-nav.is-open { transform: none; visibility: visible; transition: transform .3s ease; }
  .menu-close {
    display: block; margin: 0 12px 22px auto; padding: 4px 14px; border: 0; border-radius: 3px;
    background: var(--green); color: #fff; font: 400 16px/22px var(--font-system); cursor: pointer;
  }
  .site-nav ul { display: block; }
  .site-nav a { height: auto; padding: 10px 8px 9px 23px; font-size: 12px; line-height: 1.65; }
  .menu-overlay { position: fixed; inset: 0; z-index: 1001; background: rgba(0, 0, 0, .3); }

  h2 { font-size: 34px; }
  .hero-text h1, .not-found-box h1 { font-size: 40px; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-side { grid-column: 1 / -1; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
  .side-photo { height: 300px; }
  .about-photo { min-height: 480px; }
  .service { grid-template-columns: 80px 1fr 1.4fr; }
  .promise-cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .faq-body { padding-right: 62px; }
}

/* Narrow tablet: the contact details sit above the form */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-box { padding-top: 60px; }
}

/* ---------- Phone ---------- */
@media (max-width: 767px) {
  body { font-size: 16px; }
  h2, .about-text h2 { font-size: 28px; }
  .header-inner { padding: 10px; }
  .eyebrow { font-size: 15px; }

  .hero { padding: 10px 10px 0; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; aspect-ratio: 370 / 318; border-radius: 20px 20px 0 0; }
  .hero-text { padding: 40px 20px; border-radius: 0 0 20px 20px; }
  .hero-text > p:not(.eyebrow), .about-text > p:not(.eyebrow) { margin-bottom: 20px; }
  .hero-text h1, .not-found-box h1 { font-size: 28px; }
  .btn { padding: 12px 24px; font-size: 14px; }

  .about { padding: 40px 10px 0; }
  .about-grid { grid-template-columns: 1fr; min-height: 0; }
  .about-text { padding: 0 10px; }
  .about-photo { min-height: 0; aspect-ratio: 350 / 357; margin: 0 10px; }
  .about-side { display: flex; padding: 0 10px; }
  .side-photo { display: none; }

  .services { margin-top: 40px; padding: 10px 10px 40px; }
  .services h2 { margin-top: 10px; }
  .service-list { margin-top: 10px; }
  .service { grid-template-columns: 1fr; row-gap: 16px; padding: 20px 20px 24px; }
  .service-icon { width: 46px; height: 46px; }
  .service-icon.icon-wide { width: 56px; }
  .service h3 { font-size: 18.24px; }
  .service p { font-size: 16px; }

  .promise { padding: 40px 10px 20px; }
  .promise h2 { margin-top: 10px; }
  .promise-cards { grid-template-columns: 1fr; gap: 20px; }
  .promise-card { min-height: 188px; }

  .process { margin: 0 10px; padding: 50px 20px 60px; }
  .process h2 { margin-top: 10px; }
  .steps { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
  .choose { display: none; }

  .faq { padding: 40px 10px; }
  .faq h2 { margin-top: 10px; }
  .faq-list { margin-top: 30px; }
  .faq-item summary { padding: 20px 14px 12px 10px; font-size: 15px; }
  .faq-item summary .icon { width: 26px; height: 26px; }
  .faq-body { padding: 10px; font-size: 14px; }

  .site-footer { padding: 0 10px 10px; }
  .contact-box { padding: 40px 10px 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-logo { width: 165px; }
  .footer-heading { font-size: 19px; }
  .contact-list a { font-size: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 20px; }
  .contact-box hr { margin-top: 40px; }
  .copyright { font-size: 14px; }

  .not-found { padding: 10px 10px 40px; }
  .not-found-box { padding: 40px 20px; }
}
