/* ============================================================
   THE PEARL COTTAGES — shared component styles
   ============================================================ */

/* ---------- Booking widget ---------- */
.booking-widget{background:rgba(255,253,248,.96);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.6);
  border-radius:var(--r-lg);box-shadow:var(--shadow-lg);padding:18px}
.booking-widget.solid{background:var(--paper);backdrop-filter:none}
.bw-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 4px 14px}
.bw-title{font-family:var(--serif);font-size:1.25rem;font-weight:600;color:var(--green-deep);white-space:nowrap}
.bw-note{font-size:.8rem;color:var(--clay);font-weight:600}
.bw-grid{display:grid;grid-template-columns:1fr 1fr 1.1fr auto;gap:10px;align-items:end}
.booking-widget.stack .bw-grid{grid-template-columns:1fr}
.bw-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.bw-field label{display:flex;align-items:center;gap:.45em;font-size:.74rem;font-weight:600;letter-spacing:.08em;
  text-transform:uppercase;color:var(--muted)}
.bw-field label svg{width:15px;height:15px;color:var(--green)}
.bw-field input,.bw-field select{
  font-family:inherit;font-size:.98rem;font-weight:500;color:var(--ink);
  padding:.74em .8em;border:1.5px solid var(--line);border-radius:var(--r-sm);background:var(--paper);
  width:100%;transition:border-color .2s,box-shadow .2s}
.bw-field input:focus,.bw-field select:focus{outline:none;border-color:var(--green);box-shadow:0 0 0 3px var(--green-tint)}
.bw-submit{height:48px;align-self:end}
.bw-foot{display:flex;align-items:center;gap:8px;padding:13px 4px 2px;font-size:.82rem;color:var(--muted)}
.bw-foot b{color:var(--green-700)}
@media (max-width:760px){
  .bw-grid{grid-template-columns:1fr 1fr}
  .bw-submit{grid-column:1/-1}
}

/* ---------- Value strip ---------- */
.value-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);
  border-block:1px solid var(--line);border-radius:0}
.value-item{background:var(--cream);padding:34px 28px;display:flex;flex-direction:column;gap:13px;transition:background .3s}
.value-item:hover{background:var(--paper)}
.value-item .vi-ico{width:46px;height:46px;border-radius:13px;background:var(--green-tint);color:var(--green);
  display:grid;place-items:center}
.value-item .vi-ico svg{width:24px;height:24px;stroke-width:1.6}
.value-item h4{font-family:var(--serif);font-size:1.32rem;font-weight:600;color:var(--green-deep)}
.value-item p{font-size:.92rem;color:var(--muted);line-height:1.5}
@media (max-width:880px){.value-strip{grid-template-columns:1fr 1fr}}
@media (max-width:480px){.value-strip{grid-template-columns:1fr}}

/* ---------- Unit cards ---------- */
.unit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.unit-grid.two{grid-template-columns:repeat(2,1fr)}
@media (max-width:920px){.unit-grid,.unit-grid.two{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.unit-grid,.unit-grid.two{grid-template-columns:1fr}}
.unit-card{display:flex;flex-direction:column}
.unit-card .uc-media{position:relative;aspect-ratio:4/3;overflow:hidden}
.unit-card .uc-media img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease)}
.unit-card:hover .uc-media img{transform:scale(1.05)}
.uc-badge{position:absolute;top:14px;left:14px;background:rgba(255,253,248,.94);color:var(--green-deep);
  font-size:.74rem;font-weight:700;letter-spacing:.04em;padding:.45em .8em;border-radius:var(--r-pill);box-shadow:var(--shadow-sm)}
.uc-badge.featured{background:var(--gold);color:#241c08}
.uc-fav{position:absolute;top:12px;right:12px;width:34px;height:34px;border-radius:50%;background:rgba(255,253,248,.9);
  display:grid;place-items:center;color:var(--clay)}
.uc-body{padding:20px 22px 22px;display:flex;flex-direction:column;flex:1;gap:13px}
.uc-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.uc-name{font-family:var(--serif);font-size:1.55rem;font-weight:600;color:var(--ink);line-height:1.05}
.uc-name small{display:block;font-family:var(--sans);font-size:.72rem;font-weight:600;letter-spacing:.14em;
  text-transform:uppercase;color:var(--clay);margin-top:6px}
.uc-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:2px}
.uc-meta .m{display:inline-flex;align-items:center;gap:.4em;font-size:.82rem;color:var(--muted);font-weight:500}
.uc-meta .m svg{width:15px;height:15px;color:var(--green);opacity:.8}
.uc-price{margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:12px;
  padding-top:15px;border-top:1px solid var(--line-soft)}
.uc-price .p b{font-family:var(--serif);font-size:1.7rem;font-weight:600;color:var(--green-deep)}
.uc-price .p span{font-size:.82rem;color:var(--muted)}
.uc-price .p small{display:block;font-size:.72rem;color:var(--muted-2)}

/* ---------- Section heading ---------- */
.sec-head{max-width:680px}
.sec-head.center{margin-inline:auto}
.sec-head .h-lg{margin-top:16px}
.sec-head p{margin-top:16px}
.sec-head-row{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap}

/* ---------- Trust / why-us split ---------- */
.feature-row{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
@media (max-width:760px){.feature-row{grid-template-columns:1fr}}
.feature-card{display:flex;gap:16px;padding:22px;background:var(--paper);border:1px solid var(--line);border-radius:var(--r)}
.feature-card .fc-ico{width:48px;height:48px;flex:none;border-radius:12px;background:var(--green-tint);color:var(--green);display:grid;place-items:center}
.feature-card .fc-ico svg{width:24px;height:24px;stroke-width:1.6}
.feature-card h4{font-family:var(--serif);font-size:1.28rem;color:var(--green-deep);margin-bottom:5px}
.feature-card p{font-size:.9rem;color:var(--muted);line-height:1.5}
.proof-figure{position:relative;border-radius:var(--r-lg);overflow:hidden;aspect-ratio:4/3}
.proof-figure img{width:100%;height:100%;object-fit:cover}
.proof-cap{position:absolute;left:14px;bottom:14px;background:rgba(20,30,18,.78);color:#f1ece0;backdrop-filter:blur(4px);
  font-size:.78rem;font-weight:500;padding:.5em .9em;border-radius:var(--r-pill);display:inline-flex;gap:.5em;align-items:center}
.proof-cap svg{width:15px;height:15px;color:var(--gold-soft)}

/* ---------- Amenity grid ---------- */
.amenity-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
@media (max-width:880px){.amenity-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:520px){.amenity-grid{grid-template-columns:repeat(2,1fr)}}
.amenity{display:flex;flex-direction:column;gap:9px;padding:18px;border:1px solid var(--line);border-radius:var(--r);background:var(--paper)}
.amenity .a-ico{width:40px;height:40px;border-radius:11px;background:var(--cream);color:var(--green);display:grid;place-items:center}
.amenity .a-ico svg{width:21px;height:21px;stroke-width:1.6}
.amenity b{font-size:.95rem;font-weight:600}
.amenity span{font-size:.8rem;color:var(--muted)}
.amenity-group-label{font-size:.74rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--clay);margin:0 0 14px}

/* ---------- Testimonials ---------- */
.rating-head{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.rating-score{font-family:var(--serif);font-size:3.4rem;font-weight:600;color:var(--green-deep);line-height:1}
.stars{display:inline-flex;gap:2px;color:var(--gold)}
.stars svg{width:18px;height:18px;fill:currentColor}
.testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media (max-width:880px){.testi-grid{grid-template-columns:1fr}}
.testi{background:var(--paper);border:1px solid var(--line);border-radius:var(--r-lg);padding:28px;display:flex;flex-direction:column;gap:16px}
.testi .stars{margin-bottom:0}
.testi blockquote{margin:0;font-family:var(--serif);font-size:1.32rem;line-height:1.34;color:var(--ink-soft);font-weight:500}
.testi .who{display:flex;align-items:center;gap:12px;margin-top:auto}
.testi .who .av{width:42px;height:42px;border-radius:50%;background:var(--green-tint);color:var(--green-deep);
  display:grid;place-items:center;font-weight:700;font-size:.95rem;flex:none}
.testi .who b{font-size:.92rem;display:block}
.testi .who span{font-size:.8rem;color:var(--muted)}

/* ---------- Why book direct ---------- */
.wbd-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
@media (max-width:880px){.wbd-grid{grid-template-columns:1fr 1fr;gap:28px}}
@media (max-width:480px){.wbd-grid{grid-template-columns:1fr}}
.wbd{display:flex;flex-direction:column;gap:11px}
.wbd .w-ico{width:50px;height:50px;border-radius:14px;background:rgba(216,184,120,.16);color:var(--gold-soft);
  display:grid;place-items:center;border:1px solid rgba(216,184,120,.25)}
.wbd .w-ico svg{width:25px;height:25px;stroke-width:1.6}
.wbd h4{font-family:var(--serif);font-size:1.34rem;color:#f4efe2}
.wbd p{font-size:.9rem;color:#bcc4b2;line-height:1.5}

/* ---------- Location ---------- */
.loc-split{display:grid;grid-template-columns:1.1fr 1fr;gap:0;border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow)}
@media (max-width:880px){.loc-split{grid-template-columns:1fr}}
.loc-map{position:relative;min-height:380px;background:var(--green-tint)}
.loc-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0;filter:saturate(.92)}
.loc-info{background:var(--paper);padding:clamp(28px,4vw,46px);display:flex;flex-direction:column;gap:22px}
.dist-list{display:flex;flex-direction:column;gap:0}
.dist-list .d{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid var(--line-soft)}
.dist-list .d:last-child{border-bottom:0}
.dist-list .d .dl{display:flex;align-items:center;gap:11px;font-weight:500}
.dist-list .d .dl svg{width:18px;height:18px;color:var(--green);flex:none}
.dist-list .d .dv{font-family:var(--serif);font-size:1.2rem;font-weight:600;color:var(--green-deep);white-space:nowrap}
.dist-list .d .dv small{font-family:var(--sans);font-size:.72rem;color:var(--muted);font-weight:500;margin-left:4px}

/* ---------- Forms ---------- */
.field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}
.field label{font-size:.82rem;font-weight:600;color:var(--ink-soft)}
.field label .req{color:var(--clay)}
.field input,.field select,.field textarea{font-family:inherit;font-size:1rem;color:var(--ink);
  padding:.82em .9em;border:1.5px solid var(--line);border-radius:var(--r-sm);background:var(--paper);transition:border-color .2s,box-shadow .2s}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--green);box-shadow:0 0 0 3px var(--green-tint)}
.field textarea{resize:vertical;min-height:120px}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:560px){.field-row{grid-template-columns:1fr}}

/* ---------- Newsletter ---------- */
.newsletter{display:flex;gap:10px;max-width:460px}
.newsletter input{flex:1;font-family:inherit;font-size:1rem;padding:.85em 1em;border:1.5px solid rgba(255,255,255,.25);
  border-radius:var(--r-pill);background:rgba(255,255,255,.08);color:#f1ece0}
.newsletter input::placeholder{color:#a9b29e}
.newsletter input:focus{outline:none;border-color:var(--gold-soft)}
@media (max-width:480px){.newsletter{flex-direction:column}.newsletter input{border-radius:var(--r)}}

/* ---------- Breadcrumb ---------- */
.crumbs{display:flex;align-items:center;gap:8px;font-size:.84rem;color:var(--muted)}
.crumbs a:hover{color:var(--green)}
.crumbs svg{width:14px;height:14px;opacity:.5}

/* ---------- Page hero (interior pages) ---------- */
.page-hero{position:relative;padding-block:clamp(48px,7vw,90px);background:var(--green-deep);color:#f1ece0;overflow:hidden}
.page-hero.tall{padding-block:clamp(70px,9vw,130px)}
.page-hero .ph-bg{position:absolute;inset:0;z-index:0;opacity:.32}
.page-hero .ph-bg img{width:100%;height:100%;object-fit:cover}
.page-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--green-900) 10%,rgba(22,48,31,.6))}
.page-hero .wrap{position:relative;z-index:2}
.page-hero h1{font-family:var(--serif);font-weight:500;font-size:clamp(2.6rem,5vw,4.2rem);line-height:1.02;max-width:18ch}
.page-hero p{color:#cdd3c3;font-size:clamp(1.05rem,1.5vw,1.25rem);max-width:56ch;margin-top:18px;line-height:1.55}
.page-hero .crumbs{color:#a9b6a0;margin-bottom:22px}
.page-hero .crumbs a{color:#cbd5c2}
.page-hero .crumbs a:hover{color:#fff}
.page-hero .eyebrow{color:var(--gold-soft)}

/* ---------- Filter bar ---------- */
.filter-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:16px 20px;background:var(--paper);
  border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow-sm)}
.seg{display:inline-flex;background:var(--cream);border:1px solid var(--line);border-radius:var(--r-pill);padding:4px}
.seg button{border:0;background:none;font-family:inherit;font-size:.88rem;font-weight:600;color:var(--muted);
  padding:.5em 1.1em;border-radius:var(--r-pill);transition:all .2s}
.seg button.active{background:var(--green);color:#f4efe2;box-shadow:var(--shadow-sm)}
.filter-bar .fb-label{font-size:.78rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.filter-bar select{font-family:inherit;font-size:.9rem;font-weight:500;padding:.55em .8em;border:1px solid var(--line);
  border-radius:var(--r-sm);background:var(--paper);color:var(--ink)}
.filter-bar .count{margin-left:auto;font-size:.88rem;color:var(--muted)}
.filter-bar .count b{color:var(--green-700)}
@media (max-width:680px){.filter-bar .count{margin-left:0;width:100%}}

/* ---------- Split content (about/corporate) ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(36px,5vw,72px);align-items:center}
.split.media-left{grid-template-columns:1.05fr 1fr}
@media (max-width:880px){.split,.split.media-left{grid-template-columns:1fr;gap:32px}}
.media-frame{border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:4/3}
.media-frame img{width:100%;height:100%;object-fit:cover}
.checklist{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-direction:column;gap:13px}
.checklist li{display:flex;gap:12px;align-items:flex-start;font-size:.98rem;color:var(--ink-soft)}
.checklist li svg{width:22px;height:22px;flex:none;color:var(--green);margin-top:1px}
.checklist li b{color:var(--ink)}
