:root{ --aqua:#7db7c6; --overlay:rgba(0,0,0,.36); --text:#fff; }
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0; color:var(--text); background:#000; font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}

/* Top strip */
.topstrip{position:fixed; inset:0 0 auto 0; height:56px; z-index:40; background:var(--aqua);
  display:grid; grid-template-columns:56px 1fr auto; align-items:center; padding:0 12px; gap:8px;}
.iconbtn{width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:12px;background:transparent;color:#0b2a32;cursor:pointer}
.iconbtn:hover{background:rgba(255,255,255,.22)}
.bar{display:block;width:18px;height:2px;background:#0b2a32;margin:2px 0;border-radius:2px}
.brand{display:flex;align-items:center;gap:8px;color:#0b2a32;font-weight:700}
.actions{display:flex;align-items:center;gap:8px}
.signin{display:inline-block;padding:8px 12px;border-radius:12px;font-weight:600;background:rgba(255,255,255,.18);color:#0b2a32;text-decoration:none}
.signin:hover{background:rgba(255,255,255,.28)}

/* Drawer */
.drawer{position:fixed; inset:0; z-index:60; display:grid; grid-template-columns:320px 1fr; pointer-events:none}
.drawer[aria-hidden="true"]{visibility:hidden}
.drawer[aria-hidden="false"]{visibility:visible; pointer-events:auto}
.drawer-panel{background:rgba(11,15,18,.75); backdrop-filter:blur(14px); color:#fff; height:100%;
  transform:translateX(-100%); transition:transform .28s ease; display:flex; flex-direction:column}
.drawer[aria-hidden="false"] .drawer-panel{transform:translateX(0)}
.drawer-backdrop{background:rgba(0,0,0,.42); transition:opacity .28s ease; opacity:0}
.drawer[aria-hidden="false"] .drawer-backdrop{opacity:1}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:16px 16px 8px;border-bottom:1px solid rgba(255,255,255,.08)}
.drawer-head h2{font-size:18px;margin:0;font-weight:600}
.drawer-nav{display:flex;flex-direction:column;gap:6px;padding:12px}
.drawer-link{display:block;padding:12px;border-radius:12px;color:#fff;text-decoration:none}
.drawer-link:hover{background:rgba(255,255,255,.12)}
.drawer-cta{display:block;margin-top:8px;padding:12px 14px;border-radius:12px;background:rgba(125,183,198,.85);color:#0b2a32;font-weight:700;text-align:center;text-decoration:none}
.drawer-cta:hover{background:rgba(125,183,198,1)}
.drawer-foot{margin-top:auto;padding:12px 16px;border-top:1px solid rgba(255,255,255,.08);color:rgba(255,255,255,.75)}
.body-lock{overflow:hidden}
@media (max-width:420px){ .drawer{grid-template-columns:100% 0} }

/* Hero */
.hero{position:relative; min-height:100svh; display:grid; place-items:center; overflow:hidden}
.slide{position:absolute; inset:0; background-size:cover; background-position:center; opacity:0; transition:opacity .9s ease; z-index:-2}
.slide.front{opacity:1}
.overlay{position:absolute; inset:0; background:var(--overlay); z-index:-1}
.center{margin-top:10vh; text-align:center; padding:0 16px}
.title{font-family:"Playfair Display",ui-serif,Georgia,serif; font-weight:600; font-size:clamp(36px,6vw,72px); line-height:1.06; margin:0 0 16px}
.search{display:flex;align-items:center;gap:10px;width:min(680px,92vw);margin:18px auto 0;background:#fff;color:#111;border-radius:12px;padding:12px 14px;box-shadow:0 10px 25px rgba(0,0,0,.25)}
.search input{flex:1;border:0;outline:0;background:transparent;color:#111;font-size:16px}
.visually-hidden{position:absolute;clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap}
.circlebtn{margin-top:18px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.45);color:#fff;border:1px solid rgba(255,255,255,.35);cursor:pointer}
.circlebtn:hover{background:rgba(0,0,0,.65)}
.down{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);text-decoration:none;color:#fff;font-size:28px;opacity:.85}
.content{background:#0b0f12;padding:80px 16px}
section{scroll-margin-top:90px}
/* === Alternative Home page hero === */
.alt-hero{
  position:relative;
  min-height:100vh;
  background:url("assets/houston.jpg") center center/cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
}

.alt-hero .overlay{
  position:absolute; inset:0;
  background:rgba(0,0,0,.45);
  backdrop-filter: blur(2px);
}

.hero-center{
  position:relative; z-index:1; max-width:720px; padding:0 16px;
}
.hero-center .title{
  font-family:"Playfair Display",serif;
  font-weight:600;
  font-size:clamp(36px,5vw,64px);
  margin-bottom:12px;
}
.hero-center .subtitle{
  font-family:Inter,sans-serif;
  font-size:clamp(16px,2vw,20px);
  line-height:1.4;
  opacity:.9;
  margin-bottom:24px;
}
.cta-btn{
  display:inline-block;
  padding:14px 26px;
  border-radius:12px;
  background:var(--aqua);
  color:#0b2a32;
  font-weight:600;
  text-decoration:none;
  transition:background .2s;
}
.cta-btn:hover{background:#90c3d2;}

.alt-footer{
  background:#0b0f12;
  text-align:center;
  color:#ccc;
  padding:18px;
  font-size:14px;
}
/* === Page hero (static image) === */
.page-hero{
  position:relative; min-height:52vh; display:grid; place-items:center;
  background: var(--overlay) center/cover no-repeat;
  background-image: var(--hero, url('./assets/apm3.jpg'));
}
.page-hero .overlay{ position:absolute; inset:0; background:rgba(0,0,0,.35); }
.page-hero-inner{ position:relative; z-index:1; text-align:center; padding:72px 16px 48px; }
.page-hero .title{ font-family:"Playfair Display",serif; font-size:clamp(32px,5vw,56px); margin:0 0 8px; }
.page-hero .subtitle{ font-size:clamp(15px,2vw,20px); opacity:.9; }

/* === Content layout === */
.page-wrap {
  background: #f7f4ef;       /* soft cream base */
  color: #2f2f2f;            /* warm dark gray text */
  padding: 48px 16px;
}
.section{ max-width:1100px; margin:0 auto 32px; }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@media (max-width: 900px){ .grid-3{ grid-template-columns:1fr; } }

.card {
  background: #ffffff;
  border: 1px solid #e6e2dc;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.card h2{ margin-top:0; color:#fff; }

.bullets{ margin:0; padding-left:18px; }
.bullets li{ margin:6px 0; }

/* Feature block with image */
.feature{ display:grid; grid-template-columns:1.2fr .8fr; gap:18px; align-items:center; }
.feature img{ width:100%; border-radius:16px; border:1px solid rgba(255,255,255,.06); object-fit:cover; }
@media (max-width: 900px){ .feature{ grid-template-columns:1fr; } }

/* KPIs */
.kpis{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.kpi {
  background: #ffffff;
  border: 1px solid #e6e2dc;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.kpi-num { color: #5ca8a4; font-weight: 700; }
.kpi-label { color: #6b6b6b; }

@media (max-width:900px){ .kpis{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .kpis{ grid-template-columns:1fr; } }

/* CTA */
.section.cta{ text-align:center; padding:32px 16px; }
.section.cta h2{ margin:0 0 6px; }
.section.cta p{ margin:0 0 16px; color:#cfd6db; }
/* === Video hero (scene1.mp4) === */
.video-hero{
  position:relative; min-height:56vh; display:grid; place-items:center; overflow:hidden;
}
.video-hero .hero-video{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center;
}
.video-hero .overlay{ position:absolute; inset:0; background:rgba(0,0,0,.15); }
.page-hero-inner{ position:relative; z-index:1; text-align:center; padding:84px 16px 56px; }
.page-hero .title{ font-family:"Playfair Display",serif; font-size:clamp(32px,5vw,56px); margin:0 0 8px; }
.page-hero .subtitle{ font-size:clamp(15px,2vw,20px); opacity:.9; }

/* === Generic page layout (reuses earlier About styles) === */
.page-wrap {
  background: #f7f4ef;       /* soft cream base */
  color: #2f2f2f;            /* warm dark gray text */
  padding: 48px 16px;
}
.section{ max-width:1100px; margin:0 auto 32px; }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width: 900px){ .grid-3{ grid-template-columns:1fr } .grid-2{ grid-template-columns:1fr } }

.card {
  background: #ffffff;
  border: 1px solid #e6e2dc;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.card h2{ margin-top:0; color:black; }
.bullets{ margin:0; padding-left:18px; }
.bullets li{ margin:6px 0; }

/* Feature (text + image) */
.feature{ display:grid; grid-template-columns:1.2fr .8fr; gap:18px; align-items:center; }
.feature img{ width:100%; border-radius:16px; border:1px solid rgba(255,255,255,.06); object-fit:cover; }
@media (max-width: 900px){ .feature{ grid-template-columns:1fr } }

/* KPIs */
.kpis{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.kpi {
  background: #ffffff;
  border: 1px solid #e6e2dc;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.kpi-num { color: #5ca8a4; font-weight: 700; }
.kpi-label { color: #6b6b6b; }

@media (max-width:900px){ .kpis{ grid-template-columns:repeat(2,1fr) } }
@media (max-width:520px){ .kpis{ grid-template-columns:1fr } }

/* CTA */
.section.cta{ text-align:center; padding:32px 16px; }
.section.cta h2{ margin:0 0 6px; }
.section.cta p{ margin:0 0 16px; color:#cfd6db; }

/* === Video band (scene2.mp4) === */
.video-band{
  position:relative; max-width:1100px; margin:24px auto 40px; border-radius:20px; overflow:hidden;
  aspect-ratio: 16 / 7;
}
.band-video{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center;
}
.band-overlay{ position:absolute; inset:0; background:linear-gradient(0deg, rgba(0,0,0,.5), rgba(0,0,0,.25)); }
.band-content{
  position:relative; z-index:1; height:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:16px; color:#fff;
}
.band-content h2{ margin:0 0 6px; font-size:clamp(22px,3.2vw,32px) }
.band-content p{ margin:0; opacity:.95 }


.section.cta {
  text-align: center;
  padding: 32px 16px;
  background: #e0f0ee;       /* subtle teal tint */
  border-radius: 20px;
}

.section.cta h2 { color: #1a1a1a; }
.section.cta p { color: #444; }
.cta-btn {
  background: #5ca8a4;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: background 0.25s ease;
}
.cta-btn:hover { background: #4d918d; }

/* Contact specifics */
.contact-card .contact-list{
  list-style:none; padding:0; margin:8px 0 12px;
  display:grid; gap:10px;
}
.contact-card .contact-list li{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:10px 12px; border:1px solid #e6e2dc; border-radius:12px; background:#fff;
}
.contact-card .contact-list span{ color:#6b6b6b; }
.contact-card .small-note{ color:#6b6b6b; margin:8px 2px 0; }

.contact-form{ display:grid; gap:12px; }
.contact-form label{ display:grid; gap:6px; }
.contact-form input, .contact-form textarea{
  border:1px solid #e0dbd4; background:#fff; color:#2f2f2f;
  border-radius:10px; padding:12px; font-size:16px; outline:none;
}
.contact-form input:focus, .contact-form textarea:focus{
  border-color:#5ca8a4; box-shadow:0 0 0 3px rgba(92,168,164,.18);
}
.form-note{ margin:8px 0 0; color:#2f2f2f; }
/* Landing page sections */
.lp-section{ padding:44px 0; background:#f7f4ef; }
.lp-wrap{ max-width:1200px; margin:0 auto; padding:0 16px; }
.lp-title{ margin:0 0 10px; font-family:"Playfair Display",serif; font-size:clamp(26px,4.5vw,40px); color:#1f2a29; }
.lp-sub{ margin:0 0 16px; color:#6b6b6b; }

/* Cards grid */
.lp-grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@media (max-width:900px){ .lp-grid-3{ grid-template-columns:1fr; } }
.lp-card{
  background:#fff; border:1px solid #e6e2dc; border-radius:16px; padding:18px;
  box-shadow:0 2px 8px rgba(0,0,0,.05);
}
.lp-card h3{ margin:.25rem 0 .35rem; color:#2f2f2f; }
.lp-card p{ margin:0; color:#444; }

/* Chips wall */
.chip-wall{ list-style:none; padding:0; margin:8px 0 0; display:flex; flex-wrap:wrap; gap:10px; }
.chip-wall li{
  background:#fff; color:#2f2f2f; border:1px solid #e6e2dc; border-radius:999px;
  padding:8px 12px; font-size:14px; box-shadow:0 2px 8px rgba(0,0,0,.03);
}
.chip-wall em{ font-style:normal; color:#5ca8a4; font-weight:600; }

/* Video band */
.lp-video-band{ background:#f7f4ef; padding:0; }
.lp-video-wrap{ position:relative; max-width:1100px; margin:0 auto; border-radius:20px; overflow:hidden; aspect-ratio:16/7; }
.lp-band-video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.lp-band-overlay{ position:absolute; inset:0; background:linear-gradient(0deg, rgba(0,0,0,.45), rgba(0,0,0,.2)); }
.lp-band-content{
  position:relative; z-index:1; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; color:#fff; padding:16px;
}
.cta-light{ background:rgba(255,255,255,.9); color:#0d3a38; }
.cta-light:hover{ background:#fff; }

/* Gallery */
.lp-gallery{
  background:#f7f4ef;
}

.lp-gallery .lp-wrap{
  padding-top:32px;
  padding-bottom:40px;
}

.lp-gallery .lp-title{
  text-align:center;
  margin-bottom:8px;
}

.lp-gallery .lp-sub{
  text-align:center;
  margin-bottom:24px;
}

/* 3-up grid for the images */
.lp-gallery .images{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:20px;
}

@media (max-width:900px){
  .lp-gallery .images{
    grid-template-columns:1fr;
  }
}

.lp-gallery figure{
  margin:0;
  text-align:center;
}

.lp-gallery img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:18px;
  border:1px solid #e6e2dc;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  display:block;
  background:#fff;
}

.lp-gallery figcaption{
  margin-top:10px;
  font-size:0.98rem;
  font-weight:500;
  color:#444;
}

/* Mini gallery frame */
.gallery-frame {
  background: #f7f4ef;
  border-radius: 24px;
  padding: 32px 24px 28px;
  border: 4px solid #0d3a38; /* deep teal frame */
}

/* Make sure the gallery uses a neat grid */
.lp-gallery .images {
  /* lp-grid-3 already sets display:grid; columns; gap;
     this is just a safety net if needed */
}

/* CTA centered under gallery */
.gallery-cta {
  margin-top: 24px;
  text-align: center;
}



/* CTA button (uses your palette) */
.cta-btn{
  display:inline-block; margin-top:16px; padding:12px 20px; border-radius:10px; text-decoration:none;
  font-weight:700; background:#5ca8a4; color:#fff; transition:background .25s ease, transform .05s ease-in;
}
.cta-btn:hover{ background:#4d918d; }
.cta-btn:active{ transform:translateY(1px); }
/* Pricing grid */
.pricing-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:12px; }
@media (max-width:900px){ .pricing-grid{ grid-template-columns:1fr; } }

.price-card{
  position:relative; background:#fff; border:1px solid #e6e2dc; border-radius:16px; padding:18px;
  box-shadow:0 2px 8px rgba(0,0,0,.05);
}
.price-card.featured{ border-color:#5ca8a4; box-shadow:0 6px 18px rgba(92,168,164,.18); }
.badge{
  position:absolute; top:12px; right:12px;
  background:#5ca8a4; color:#fff; font-weight:700; font-size:12px; padding:4px 8px; border-radius:999px;
}
.price-head{ display:flex; align-items:end; justify-content:space-between; gap:8px; margin-bottom:8px; }
.price-head h3{ margin:0; color:#2f2f2f; }
.price{ font-size:28px; font-weight:800; color:#2f2f2f; }
.price span{ font-size:14px; font-weight:600; color:#6b6b6b; margin-left:2px; }

.checklist{ list-style:none; padding:0; margin:8px 0 0; display:grid; gap:8px; }
.checklist li{ position:relative; padding-left:26px; color:#444; }
.checklist li::before{
  content:"✓"; position:absolute; left:0; top:0; color:#5ca8a4; font-weight:900;
}

.micro-note{ margin-top:10px; color:#6b6b6b; }

/* Link row under gallery */
.link-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }

/* Soft reassurance bar under pricing */
.reassure{
  margin-top:18px;
  background:#e9f4f3;          /* gentle teal tint */
  border:1px solid #d4ebe9;
  border-radius:14px;
  padding:14px 16px;
  color:#0d3a38;
  box-shadow:0 1px 6px rgba(0,0,0,.04);
}
.reassure p{ margin:0; font-weight:600; }

/* Reassurance banner redesign */
.reassure {
  position: relative;
  overflow: hidden;
  margin-top: 32px;
  border-radius: 20px;
  color: #0b2f2d;
  text-align: center;
  padding: 60px 20px;
  background: #e9f4f3;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Layer images blended for soft ambience */
.reassure::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    url("./assets/apm10.jpg") center/cover no-repeat,
    url("./assets/apm11.jpg") center/cover no-repeat;
  opacity: 0.25;
  mix-blend-mode: lighten;
  z-index: 0;
}

/* Overlay for readability */
.reassure-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
  z-index: 1;
}

.reassure-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin: 0 auto;
}

.reassure-content h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin-bottom: 0.5em;
  color: #134b48;
}

.reassure-content p {
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 500;
  color: #204d4a;
}

@media (max-width: 768px) {
  .reassure {
    padding: 40px 16px;
  }
  .reassure-content h3 {
    font-size: 1.5rem;
  }
}

.bg-aple-light {
  background-color: #eaf6f5; /* soft teal tint */
  color: #0d3a38;
}
/* Make hero content truly centered */
.page-hero .page-hero-inner.center{
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  min-height: clamp(340px, 52vh, 640px);
  display: flex;
  flex-direction: column;
  align-items: center;       /* horizontal centering */
  justify-content: center;   /* vertical centering */
  text-align: center;        /* center text */
}

/* Styled subtitle pill */
.subtitle-chip{
  margin: 12px 0 16px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #0d3a38;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  backdrop-filter: blur(3px);
  display: inline-block;
}

/* gentle entrance */
.subtitle-chip{
  animation: fadeInUp 800ms ease both;
}
@keyframes fadeInUp{
  from{ opacity:0; transform: translateY(18px); }
  to{ opacity:1; transform: translateY(0); }
}
/* --- HARD OVERRIDE: keep cards side-by-side and vertically centered --- */
#partnersRow {
  display: flex !important;         /* crush any prior grid rule */

}

/* Card sizing & look */
#partnersRow .partner-card {
  flex: 0 1 360px !important;       /* consistent width, can shrink a bit */
  max-width: 380px !important;
  width: 100% !important;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

#partnersRow .partner-card img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

#partnersRow .partner-card figcaption {
  font-weight: 600;
  color: #0d3a38;
  padding: 14px 10px 18px;
  background: #f9f9f9;
}

/* Wrap to two/one columns only on smaller screens */
@media (max-width: 1100px){
  #partnersRow { flex-wrap: wrap !important; }
}
@media (max-width: 640px){
  #partnersRow { gap: 22px !important; }
  #partnersRow .partner-card { flex: 1 1 100% !important; max-width: 520px !important; }
}

/* ===== Aple Referral Form – visual upgrade (no Bootstrap required) ===== */

/* Card wrapper */
.aple-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 14px 40px rgba(0,0,0,.08);
  border: 1px solid #ece7df;
}

/* Headings + helper text */
.aple-title { color:#0d3a38; font-weight:800; margin-bottom:8px; }
.aple-subtle { color:#51605f; }

/* Labels and field spacing */
#referralForm label { display:block; font-weight:600; color:#0f403d; margin-bottom:6px; }
#referralForm .group { margin-bottom:16px; }

/* Inputs, selects, textareas */
#referralForm input:not([type="checkbox"]),
#referralForm select,
#referralForm textarea {
  width: 100%;
  border: 1px solid #e1dcd4;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  background: #fff;
  color: #1a1a1a;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

/* Focus ring */
#referralForm input:not([type="checkbox"]):focus,
#referralForm select:focus,
#referralForm textarea:focus {
  border-color: #5ca8a4;
  box-shadow: 0 0 0 4px rgba(92,168,164,.18);
}

/* Select chevron */
#referralForm select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #0d3a38 50%),
    linear-gradient(135deg, #0d3a38 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px),
    100% 0;
  background-size: 6px 6px, 6px 6px, 2.2em 100%;
  background-repeat: no-repeat;
}

/* Checkbox row */
#referralForm .form-check { display:flex; align-items:flex-start; gap:10px; margin-top:6px; }
#referralForm .form-check-input { width:18px; height:18px; margin-top:3px; }

/* Validation messages (your existing text) */
#referralForm .invalid-feedback { color:#b42318; font-size:.9rem; margin-top:6px; }

/* CTA button */
.aple-btn {
  display:inline-block;
  padding: 12px 22px;
  border-radius: 12px;
  background:#198754;
  color:#fff;
  font-weight:700;
  border: none;
  box-shadow: 0 8px 20px rgba(25,135,84,.25);
  transition: transform .1s ease, box-shadow .2s ease, background .2s ease;
}
.aple-btn:hover { background:#157347; box-shadow:0 10px 24px rgba(25,135,84,.35); }
.aple-btn:active { transform: translateY(1px); }

/* Simple responsive grid (replaces Bootstrap cols if CDN fails) */
.row { display:flex; flex-wrap:wrap; margin:-10px; }
.col-12, .col-md-6, .col-md-4 { padding:10px; }
.col-12 { flex:0 0 100%; max-width:100%; }
.col-md-6 { flex:0 0 50%; max-width:50%; }
.col-md-4 { flex:0 0 33.333%; max-width:33.333%; }
@media (max-width: 900px){
  .col-md-6, .col-md-4 { flex:0 0 100%; max-width:100%; }
}

/* Nice alert/incentive bar */
.aple-alert {
  background:#eaf6f5;
  color:#0d3a38;
  border:1px solid #d9efec;
  padding:14px 16px;
  border-radius:14px;
  box-shadow:0 8px 24px rgba(0,0,0,.04);
}

/* Section spacing helper */
.aple-section { padding: 24px 0; }
/* Hide red messages by default */
.invalid-feedback { 
  display: none; 
  color: #d93025; 
  font-size: 0.9rem; 
  margin-top: 6px; 
  font-weight: 600;
}

/* Red highlight when invalid after submit */
.is-invalid {
  border-color: #d93025 !important;
  box-shadow: 0 0 0 3px rgba(217,48,37,.15);
}

/* For custom checkboxes/radios */
.form-check-input.is-invalid {
  outline: 2px solid rgba(217,48,37,.45);
  outline-offset: 2px;
}

/* Contact form layout & inputs */
#contactForm { max-width: 720px; }
#contactForm .group { margin-bottom: 16px; }

#contactForm input:not([type="checkbox"]),
#contactForm select,
#contactForm textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: block;
  border: 1px solid #e1dcd4;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  background: #fff;
  color: #1a1a1a;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

#contactForm input:not([type="checkbox"]):focus,
#contactForm select:focus,
#contactForm textarea:focus {
  border-color: #5ca8a4;
  box-shadow: 0 0 0 4px rgba(92,168,164,.18);
}

/* Validation (same as referral) */
.invalid-feedback { 
  display: none; 
  color: #d93025; 
  font-size: 0.9rem; 
  margin-top: 6px; 
  font-weight: 600;
}
.is-invalid {
  border-color: #d93025 !important;
  box-shadow: 0 0 0 3px rgba(217,48,37,.15);
}

.contact-hours {
  text-align: center;
  margin-top: 20px;
  line-height: 1.6;
  color: #2b2b2b;
  font-size: 1rem;
  background: #f7f5f2;
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.contact-hours p {
  margin: 6px 0;
}

.contact-hours p strong {
  color: #14635b;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
}

/* Referral form validation styles */
#referralForm .invalid-feedback {
  display: none;
  font-size: 0.875rem;
  color: #b3261e;
  margin-top: 4px;
}

#referralForm .is-invalid {
  border-color: #b3261e;
}
#referralForm .form-label {
  font-weight: 600;
}

#referralForm .btn-success {
  border-radius: 999px; /* pill-style button, looks friendly */
}
/* Aple Property Manager button style */
.aple-btn {
  background-color: #4FA3A5;     /* calming teal */
  color: white;
  border: none;
  border-radius: 25px;           /* smooth pill shape */
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.aple-btn:hover {
  background-color: #3c8a8c;     /* slightly darker teal */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

.aple-btn:active {
  transform: translateY(0);
  box-shadow: none;
}
/* === CONTACT PAGE POLISH OVERRIDES === */

/* Card itself */
.contact-card{
  background:#ffffff;
  border-radius:22px;
  border:1px solid #e7e1d6;
  padding:20px 18px 22px;
  box-shadow:0 10px 26px rgba(0,0,0,.06);
}

/* Title */
.contact-card h2{
  margin:0 0 12px;
  font-size:1.2rem;
  color:#0d3a38;
}

/* List layout */
.contact-card .contact-list{
  list-style:none;
  padding:0;
  margin:4px 0 16px;
  display:grid;
  gap:10px;
}

/* Each row */
.contact-card .contact-list li{
  display:flex;
  flex-direction:column;      /* always stacked label + value */
  align-items:flex-start;
  gap:4px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid #ece3d6;
  background:#faf6f1;
}

/* Label (Phone / Email / City) */
.contact-card .contact-list span{
  font-size:0.78rem;
  font-weight:600;
  color:#888;
  letter-spacing:.06em;
  text-transform:uppercase;
}

/* Values */
.contact-card .contact-list a{
  font-size:0.95rem;
  font-weight:600;
  color:#14635b;
  text-decoration:none;
}

.contact-card .contact-list a:hover{
  text-decoration:underline;
}

.contact-card .contact-list em{
  font-size:0.95rem;
  color:#444;
}

/* Best-times box: tighten a bit */
.contact-hours{
  margin-top:14px;
  padding:16px 14px;
  border-radius:16px;
  background:#f7f5f2;
  box-shadow:0 4px 14px rgba(0,0,0,.04);
  font-size:0.94rem;
}

/* TWO-COLUMN → ONE-COLUMN on mobile + nicer spacing */
@media (max-width:768px){
  .page-wrap{
    padding:32px 14px;
  }

  .section.grid-2{
    grid-template-columns:1fr;
    gap:24px;
  }

  .contact-card{
    padding:18px 16px 20px;
    border-radius:20px;
  }
}
