/* ==========================================================================
   Malabar Properties — home page
   Layout and type system modelled on the EstateLoft reference, with its
   indigo (#5758D6) swapped for Malabar green and its amber for the gold of
   the logo. Figtree throughout, as the reference uses.
   ========================================================================== */

:root {
  --font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* primary — replaces the reference indigo */
  --pr: #2A7A55;
  --pr-700: #1F5D40;
  --pr-900: #0E2018;
  --pr-050: #EAF3EE;

  /* secondary — the gold of the Malabar logo */
  --sd: #D9A227;
  --sd-200: #F3DFA6;
  --olive: #7EA23F;

  --ink: #000;
  --p: #515151;
  --soft: #F5F6F5;
  --line: #E6E8E6;
  --line-dark: rgba(255, 255, 255, .14);
  --white: #fff;

  --shell: 1296px;
  --gut: clamp(22px, 4.5vw, 40px);
  --r: 12px;
  --r-lg: 20px;
  --r-xl: 30px;
  --cube: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 18px 50px -26px rgba(14, 32, 24, .34);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: var(--p);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -.02em; text-align: left; text-wrap: balance; }
h1 { font-size: clamp(38px, 4.6vw, 56px); line-height: 1.1; max-width: 18ch; }
h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.16; max-width: 20ch; }
h3 { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.3; font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }

::selection { background: var(--pr); color: #fff; }
:focus-visible { outline: 2px solid var(--pr); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; background: var(--pr-900); color: #fff; padding: 12px 20px; z-index: 999; }
.skip:focus { left: 12px; top: 12px; }

/* ------------------------------------------------------------- layout -- */

.shell { width: min(100% - var(--gut) * 2, var(--shell)); margin-inline: auto; min-width: 0; }
.section { padding: clamp(52px, 5.6vw, 88px) 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--pr-900); color: rgba(255, 255, 255, .7); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* ------------------------------------------ the reference's title block -- */

/* small uppercase section label */
.eyebrow {
  display: block;
  font-size: 16px; font-weight: 500; line-height: 1;
  text-transform: uppercase; letter-spacing: .02em;
  color: var(--pr); margin: 0 0 14px;
}
.section--dark .eyebrow, .eyebrow--gold { color: var(--sd); }


/* headings set one word per line, as the reference does */
.stack { display: block; }
.stack .w { display: inline-block; opacity: 0; transform: translateY(.5em); }
.stack.is-in .w { animation: wordUp .75s var(--cube) forwards; }
@keyframes wordUp { to { opacity: 1; transform: none; } }

.sec-head { display: grid; gap: 22px; margin-bottom: clamp(28px, 3vw, 40px); }
/* asides that hold only a button or pill row still sit right, as the reference does */
.sec-head__end { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
@media (min-width: 992px) { .sec-head__end { justify-content: flex-end; } }
@media (min-width: 992px) {
  .sec-head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 40px; }
  .sec-head--split > :last-child { justify-self: stretch; text-align: left; }
}
.lede { font-size: 18px; color: var(--p); max-width: 58ch; }
.section--dark .lede { color: rgba(255, 255, 255, .68); }
.muted { color: var(--p); }

/* ------------------------------------------------------------ buttons -- */

/* pill with the leading circular arrow the reference uses */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 24px 7px 7px; border-radius: 999px;
  font-size: 16px; font-weight: 600; line-height: 40px;
  background: var(--pr); color: #fff; border: 1px solid transparent;
  transition: background .3s var(--cube), color .3s, transform .3s var(--cube);
}
.btn__ico {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: #fff; color: var(--pr);
  transition: background .3s, color .3s, transform .4s var(--cube);
}
.btn__ico svg { width: 17px; height: 17px; }
.btn:hover { background: var(--pr-900); }
.btn:hover .btn__ico { transform: rotate(45deg); }

.btn--gold { background: var(--sd); color: #1E1503; }
.btn--gold .btn__ico { background: #1E1503; color: var(--sd); }
.btn--gold:hover { background: #C08F1B; color: #1E1503; }

.btn--dark { background: var(--pr-900); color: #fff; }
.btn--dark .btn__ico { background: var(--sd); color: #1E1503; }

.btn--outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--outline .btn__ico { background: var(--pr); color: #fff; }
.btn--outline:hover { background: var(--pr); color: #fff; border-color: var(--pr); }
.btn--outline:hover .btn__ico { background: #fff; color: var(--pr); }

.btn--onDark { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn--onDark .btn__ico { background: #fff; color: var(--pr); }
.btn--onDark:hover { background: #fff; color: var(--pr-900); }

.tlink {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 16px; font-weight: 600; color: var(--ink);
  transition: color .3s, gap .3s;
}
.tlink svg { width: 15px; height: 15px; }
.tlink:hover { color: var(--pr); gap: 14px; }
.section--dark .tlink { color: #fff; }
.section--dark .tlink:hover { color: var(--sd); }

/* ------------------------------------------------- header (floating pill) */

.site-head {
  position: absolute; top: 0; left: 0; right: 0; z-index: 60;
  padding-top: 22px;
}
.site-head.is-stuck {
  position: fixed; padding-top: 10px; padding-bottom: 10px;
  background: rgba(14, 32, 24, .94); backdrop-filter: blur(12px);
  animation: dropIn .45s var(--cube);
}
@keyframes dropIn { from { transform: translateY(-100%); } }

.head-in { display: flex; align-items: center; gap: 20px; }

.brand { flex: none; display: block; }
.brand img { height: 92px; width: auto; }
.site-head.is-stuck .brand img { height: 62px; }
@media (max-width: 991px) { .brand img { height: 72px; } .site-head.is-stuck .brand img { height: 56px; } }
@media (max-width: 575px) { .brand img { height: 60px; } }

.nav-pill {
  margin-left: auto;
  display: flex; align-items: center; gap: 4px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px; padding: 6px; backdrop-filter: blur(10px);
}
.nav-pill a {
  padding: 9px 17px; border-radius: 999px;
  font-size: 16px; font-weight: 500; color: #fff; white-space: nowrap;
  transition: background .25s, color .25s;
}
.nav-pill a:hover, .nav-pill a.is-active { background: #fff; color: var(--pr-900); }

.head-cta { flex: none; margin-left: 4px; }
.burger {
  display: none; width: 46px; height: 46px; border-radius: 50%; margin-left: auto;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .24);
  color: #fff; place-items: center;
}
.burger svg { width: 22px; height: 22px; }

@media (max-width: 1150px) {
  .nav-pill { display: none; }
  .head-cta { display: none; }
  .burger { display: grid; }
}

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 90; background: var(--pr-900); color: #fff;
  padding: 24px var(--gut); overflow-y: auto;
  transform: translateY(-100%); transition: transform .5s var(--cube); visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.drawer__top img { height: 66px; }
.drawer__close { color: #fff; }
.drawer__close svg { width: 26px; height: 26px; }
.drawer a { display: block; padding: 14px 0; font-size: 20px; font-weight: 600; border-bottom: 1px solid var(--line-dark); }
.drawer a:hover { color: var(--sd); }
.drawer .btn { margin-top: 26px; }

/* --------------------------------------------------------------- hero -- */

.hero { position: relative; background: var(--pr); color: #fff; overflow: hidden; }

/* the stock video runs full-bleed behind the hero; the green stays in the wash */
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg video, .hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(20, 74, 52, .95) 0%, rgba(20, 74, 52, .84) 42%, rgba(14, 32, 24, .62) 76%, rgba(14, 32, 24, .5) 100%),
    linear-gradient(to bottom, rgba(14, 32, 24, .55) 0%, rgba(14, 32, 24, 0) 34%);
}

.hero__in {
  position: relative; z-index: 2;
  padding: clamp(140px, 12vw, 170px) 0 clamp(78px, 7vw, 110px);
  min-height: min(78vh, 700px); display: flex; align-items: center;
}
.hero__content { max-width: 660px; }

.hero .eyebrow { color: #fff; opacity: .85; }
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .22); }
.hero h1 .w--gold { color: var(--sd); }
.hero__text { font-size: 18px; color: rgba(255, 255, 255, .86); max-width: 52ch; margin: 22px 0 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__proof { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.hero__avatars { display: flex; }
.hero__proof strong { display: block; color: #fff; font-size: 26px; font-weight: 700; line-height: 1.2; }
.hero__proof span { font-size: 15px; color: rgba(255, 255, 255, .78); }
.hero__stars { display: flex; gap: 2px; color: var(--sd); margin-bottom: 2px; }
.hero__stars svg { width: 15px; height: 15px; }

.videobtn {
  position: absolute; right: var(--gut); top: 50%; z-index: 3;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .16); color: #fff;
  border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(8px); transition: background .3s, color .3s;
}
.videobtn:hover { background: var(--sd); color: #1E1503; border-color: var(--sd); }
.videobtn svg { width: 16px; height: 16px; }

.hero__tag {
  position: absolute; right: var(--gut); bottom: clamp(120px, 12vw, 160px); z-index: 3;
  display: flex; align-items: center; gap: 14px; max-width: 300px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--r-lg); padding: 18px 22px; color: #fff; backdrop-filter: blur(10px);
}
.hero__tag svg { width: 24px; height: 24px; color: var(--sd); flex: none; }
.hero__tag strong { display: block; font-size: 16px; font-weight: 700; }
.hero__tag small { font-size: 13px; color: rgba(255, 255, 255, .72); }
/* on small screens the pause control moves below the header so it can never
   collide with the floating WhatsApp button */
@media (max-width: 1150px) {
  .hero__tag { display: none; }
  .videobtn { top: clamp(104px, 20vw, 140px); bottom: auto; }
}

/* ------------------------------------------------------- search bar -- */

.booking { position: relative; z-index: 20; margin-top: clamp(-70px, -6vw, -50px); }
.booking__card {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow);
  border: 1px solid var(--line); padding: clamp(16px, 2vw, 24px);
}
.booking__tabs { display: flex; gap: 6px; margin-bottom: 18px; }
.booking__tabs button {
  padding: 10px 24px; border-radius: 999px; font-size: 16px; font-weight: 600; color: var(--p);
  background: var(--soft); transition: background .25s, color .25s;
}
.booking__tabs button.is-active { background: var(--pr); color: #fff; }

.booking__row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); align-items: end; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 14px; font-weight: 600; color: var(--ink); }
.field select, .field input, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--soft); font-size: 16px; color: var(--ink); appearance: none;
  transition: border-color .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23515151' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px;
}
.field :is(select, input, textarea):focus { border-color: var(--pr); background: #fff; outline: none; }
.booking__row .btn { justify-content: center; }

/* ---------------------------------------------------------- area cards -- */

.tile {
  position: relative; display: block; border-radius: var(--r-lg); overflow: hidden;
  min-height: 330px; color: #fff; isolation: isolate;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--cube); }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(14, 32, 24, .92) 2%, rgba(14, 32, 24, .25) 55%, transparent 100%);
}
.tile:hover img { transform: scale(1.06); }
.tile__in { min-height: 330px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 26px; }
.tile__in span { font-size: 14px; font-weight: 600; color: var(--sd); text-transform: uppercase; letter-spacing: .06em; }
.tile__in h3 { color: #fff; font-size: 24px; font-weight: 700; }
.tile__in p { font-size: 15px; color: rgba(255, 255, 255, .78); margin: 0; }
.tile__arrow {
  position: absolute; top: 20px; right: 20px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); transition: all .35s var(--cube);
}
.tile:hover .tile__arrow { background: var(--sd); color: #1E1503; transform: rotate(-45deg); }
.tile__arrow svg { width: 17px; height: 17px; }
.tile--tall, .tile--tall .tile__in { min-height: 430px; }

/* ------------------------------------------------------- listing cards -- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip {
  padding: 10px 22px; border-radius: 999px; background: var(--soft);
  font-size: 16px; font-weight: 600; color: var(--p); transition: background .25s, color .25s;
}
.chip:hover { background: var(--pr-050); color: var(--pr); }
.chip.is-active { background: var(--pr); color: #fff; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .45s var(--cube), box-shadow .45s var(--cube);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--cube); }
.card:hover .card__media img { transform: scale(1.06); }
.card__badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; gap: 8px; align-items: flex-start; }
.badge {
  padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 600;
  background: rgba(255, 255, 255, .95); color: var(--ink);
}
.badge--pr { background: var(--pr); color: #fff; }
.badge--gold { background: var(--sd); color: #1E1503; }
.badge--right { margin-left: auto; }
.card__count {
  position: absolute; right: 14px; bottom: 14px;
  padding: 6px 12px; border-radius: 8px; background: rgba(14, 32, 24, .7); color: #fff;
  font-size: 13px; font-weight: 600;
}
.card__save {
  position: absolute; left: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .94); display: grid; place-items: center; color: var(--ink);
  transition: background .25s, color .25s;
}
.card__save svg { width: 17px; height: 17px; }
.card__save:hover, .card__save.is-saved { background: var(--pr); color: #fff; }

.card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__price { font-size: 26px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.card__price small { font-size: 15px; font-weight: 500; color: var(--p); }
.card__title { font-size: 20px; font-weight: 600; }
.card__loc { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; color: var(--p); }
.card__loc svg { width: 16px; height: 16px; color: var(--pr); flex: none; margin-top: 5px; }
.card__specs {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: auto; padding-top: 16px;
  border-top: 1px solid var(--line); font-size: 15px; color: var(--p);
}
.card__specs span { display: inline-flex; align-items: center; gap: 7px; }
.card__specs svg { width: 16px; height: 16px; color: var(--pr); }

.empty { text-align: center; padding: 64px 20px; border: 1px dashed var(--line); border-radius: var(--r-lg); }
.empty svg { width: 34px; height: 34px; color: var(--p); margin: 0 auto 14px; }

/* --------------------------------------------- why choose us (numbered) -- */

.reason { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 330px; isolation: isolate; }
.reason img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.reason::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(14, 32, 24, .95) 6%, rgba(14, 32, 24, .55) 60%, rgba(14, 32, 24, .3) 100%);
}
.reason__in { min-height: 330px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.reason__num { font-size: 44px; font-weight: 700; color: var(--sd); line-height: 1; margin-bottom: 14px; }
.reason h3 { color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.reason p { font-size: 15px; color: rgba(255, 255, 255, .76); margin: 0; }

/* --------------------------------------------------------------- stats -- */

.stats { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.stat { padding-left: 22px; border-left: 2px solid var(--line); }
.section--dark .stat { border-color: var(--line-dark); }
.stat strong { display: block; font-size: 44px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.section--dark .stat strong { color: #fff; }
.stat b { font-size: 18px; font-weight: 700; color: var(--pr); display: block; margin: 6px 0 4px; }
.section--dark .stat b { color: var(--sd); }
.stat small { font-size: 15px; color: var(--p); }
.section--dark .stat small { color: rgba(255, 255, 255, .62); }

/* --------------------------------------------------------- testimonials -- */

.quotes { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; display: grid; gap: 16px; align-content: start;
}
.section--dark .quote { background: rgba(255, 255, 255, .05); border-color: var(--line-dark); }
.quote__stars { display: flex; gap: 3px; color: var(--sd); }
.quote__stars svg { width: 17px; height: 17px; }
.quote p { font-size: 17px; color: var(--ink); margin: 0; }
.section--dark .quote p { color: #fff; }
.quote footer { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.section--dark .quote footer { border-color: var(--line-dark); }
.quote footer .initial {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--pr-050); color: var(--pr); font-weight: 700; font-size: 17px;
}
.section--dark .quote footer .initial { background: rgba(255, 255, 255, .1); color: var(--sd); }
.quote footer strong { display: block; font-size: 16px; font-weight: 700; color: var(--ink); }
.section--dark .quote footer strong { color: #fff; }
.quote footer span { font-size: 14px; color: var(--p); }
.section--dark .quote footer span { color: rgba(255, 255, 255, .6); }

/* ---------------------------------------------------------------- team -- */

.person { border-radius: var(--r-lg); overflow: hidden; background: var(--soft); }
.person__photo { position: relative; aspect-ratio: 1 / 1.08; overflow: hidden; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--cube); }
.person:hover .person__photo img { transform: scale(1.05); }
.person__wa {
  position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--pr); color: #fff; display: grid; place-items: center;
  opacity: 0; transform: translateY(10px); transition: all .4s var(--cube);
}
.person:hover .person__wa { opacity: 1; transform: none; }
.person__wa svg { width: 20px; height: 20px; }
.person__body { padding: 22px; }
.person__body h3 { font-size: 20px; font-weight: 700; }
.person__body p { font-size: 15px; color: var(--p); margin: 6px 0 0; }
.person__body ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.person__body li { font-size: 13px; font-weight: 600; color: var(--pr); background: var(--pr-050); border-radius: 999px; padding: 5px 12px; }

/* ------------------------------------------------------------- guides -- */

.post__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--p); }
.post__meta span { display: inline-flex; align-items: center; gap: 7px; }
.post__meta svg { width: 15px; height: 15px; color: var(--pr); }

/* ------------------------------------------------------------ contact -- */

.contact { display: grid; gap: clamp(34px, 5vw, 64px); }
@media (min-width: 992px) { .contact { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.contact__lines { display: grid; gap: 18px; margin-top: 32px; }
.contact__line { display: flex; gap: 16px; align-items: flex-start; }
.contact__line .ico {
  width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--sd);
  display: grid; place-items: center; flex: none;
}
.contact__line .ico svg { width: 20px; height: 20px; }
.contact__line strong { display: block; color: #fff; font-size: 17px; font-weight: 700; }
.contact__line span { font-size: 15px; }

.form-grid { display: grid; gap: 16px; }
@media (min-width: 576px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid--2 .wide { grid-column: 1 / -1; } }
.form-card { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 38px); }
.form-note { font-size: 14px; color: var(--p); }
.form-ok {
  display: none; gap: 12px; align-items: flex-start; padding: 16px 20px;
  background: var(--pr-050); border-radius: var(--r); color: var(--pr-700); font-size: 15px;
}
.form-ok.is-on { display: flex; }
.form-ok svg { width: 20px; height: 20px; flex: none; }

/* -------------------------------------------------------------- footer -- */

.footer { background: var(--pr-900); color: rgba(255, 255, 255, .62); padding: clamp(56px, 7vw, 92px) 0 0; }
.footer h4 { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.footer__grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.footer__brand { max-width: 340px; }
.footer__brand img { height: 116px; margin-bottom: 20px; }
.footer li { margin-bottom: 10px; font-size: 16px; }
.footer a:hover { color: var(--sd); }
.footer address { font-style: normal; font-size: 16px; line-height: 1.7; }
.footer__social { display: flex; gap: 10px; margin-top: 24px; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-dark); transition: all .3s;
}
.footer__social a:hover { background: var(--sd); color: var(--pr-900); border-color: var(--sd); }
.footer__social svg { width: 17px; height: 17px; }
.footer__bar {
  margin-top: 56px; padding: 24px 0; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: 15px;
}

/* ------------------------------------------------------- floating chat -- */

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px;
  background: #1F9D55; color: #fff; font-size: 15px; font-weight: 700;
  box-shadow: 0 14px 34px -12px rgba(31, 157, 85, .7); transition: transform .3s var(--cube);
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 20px; height: 20px; }
@media (max-width: 575px) { .wa-float span { display: none; } .wa-float { padding: 15px; } }

/* --------------------------------------------------------------- modal -- */

.modal { position: fixed; inset: 0; z-index: 120; display: none; place-items: center; padding: 20px; }
.modal.is-open { display: grid; }
.modal__veil { position: absolute; inset: 0; background: rgba(14, 32, 24, .7); backdrop-filter: blur(4px); }
.modal__card {
  position: relative; background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px);
  width: min(580px, 100%); max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow);
  animation: pop .35s var(--cube);
}
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal__close { position: absolute; top: 16px; right: 16px; color: var(--p); }
.modal__close svg { width: 24px; height: 24px; }

/* ----------------------------------------------------------- animation -- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--cube), transform .8s var(--cube); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal, .stack .w { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* review avatars: initials rather than stock faces, since these are real people */
.avatar {
  width: 54px; height: 54px; border-radius: 50%; margin-left: -16px;
  display: grid; place-items: center; flex: none;
  background: var(--pr-700); border: 3px solid var(--pr); color: var(--sd);
  font-size: 15px; font-weight: 700; letter-spacing: .02em;
}
.avatar:first-child { margin-left: 0; }

/* team member placeholder — stands in until real headshots are supplied */
.person__photo .ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--pr-050), #DCE7DF);
  color: var(--pr); border-bottom: 1px solid var(--line);
}
.person__photo .ph svg { width: 42%; height: auto; opacity: .5; }
