/*
Theme Name: Rental Website Pro
Theme URI: https://rentalwebsitepro.com/
Author: Rental Website Pro
Author URI: https://rentalwebsitepro.com/
Description: A single-page WordPress theme for a direct-booking website service aimed at vacation rental property managers who use Lodgify, Hostfully, OwnerRez, Tokeet, BookingSync, Smoobu, Hostaway, Uplisting or Beds24. Includes a synced-calendar hero, platform strip, developer spotlight, guest-view showcase, process, pricing, FAQ with schema, quote request modal with branded emails, and a floating WhatsApp button. Contact details and prices are editable under Appearance > Customize > Contact & Pricing.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rwp
*/

:root{
  --harbour:#0F2B35;
  --harbour-2:#163A48;
  --harbour-3:#1E4757;
  --tide:#F3F6F5;
  --tide-2:#E6EEEB;
  --seaglass:#B7D9CE;
  --seaglass-deep:#6FA99A;
  --brass:#E3A33B;
  --brass-dark:#C4861F;
  --brass-text:#8A5C0E;
  --ink:#132229;
  --muted:#4F636B;
  --muted-light:#A9BEC3;
  --line-dark:rgba(243,246,245,0.12);
  --line-light:rgba(19,34,41,0.12);
  --ch-airbnb:#EE7A64;
  --ch-vrbo:#6C8FE8;
  --ch-booking:#3A6FB8;
  --display:'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body:'Figtree', 'Segoe UI', system-ui, sans-serif;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto;} }
body{
  font-family:var(--body);
  font-size:17px;
  background:var(--tide);
  color:var(--ink);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%; display:block;}
a{color:inherit;}
:focus-visible{outline:3px solid var(--brass); outline-offset:3px; border-radius:4px;}
.screen-reader-text{position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap;}
.skip-link:focus{position:fixed; top:12px; left:12px; z-index:999; width:auto; height:auto; clip:auto; background:var(--brass); color:var(--ink); padding:10px 16px; border-radius:6px; font-weight:700;}

.wrap{max-width:1180px; margin:0 auto; padding:0 32px;}
@media (max-width:640px){ .wrap{padding:0 20px;} }

h1,h2,h3,h4{font-family:var(--display); font-weight:700; line-height:1.08; letter-spacing:-0.02em;}
h2{font-size:clamp(30px,4vw,46px);}
h1,h2{text-wrap:balance;}
h3{font-size:21px; letter-spacing:-0.01em; line-height:1.2;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--body); font-weight:700; font-size:16px;
  padding:15px 26px; border-radius:999px;
  border:2px solid transparent; cursor:pointer; text-decoration:none;
  transition:background .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary{background:var(--brass); color:var(--ink);}
.btn-primary:hover{background:#EDB453;}
.btn-ghost-dark{border-color:rgba(243,246,245,0.3); color:var(--tide);}
.btn-ghost-dark:hover{border-color:var(--tide);}
.btn-ghost-light{border-color:rgba(19,34,41,0.25); color:var(--ink);}
.btn-ghost-light:hover{border-color:var(--ink);}

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(15,43,53,0.94);
  backdrop-filter:saturate(140%) blur(10px);
  -webkit-backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--line-dark);
}
.admin-bar .site-header{top:32px;}
@media (max-width:782px){ .admin-bar .site-header{top:46px;} }
.nav{display:flex; align-items:center; justify-content:space-between; gap:24px; height:74px;}
.logo{display:inline-flex; align-items:center; gap:11px; text-decoration:none; color:var(--tide);}
.logo svg{width:38px; height:38px; flex-shrink:0;}
.logo-word{font-family:var(--display); font-weight:700; font-size:19px; letter-spacing:-0.02em; line-height:1;}
.logo img.custom-logo{max-height:44px; width:auto;}
.nav-links{display:flex; gap:28px; list-style:none;}
.nav-links a{color:var(--muted-light); text-decoration:none; font-size:15px; font-weight:500; transition:color .15s;}
.nav-links a:hover{color:var(--tide);}
.nav-cta{padding:11px 20px; font-size:15px; white-space:nowrap;}
@media (max-width:960px){ .nav-links{display:none;} }
@media (max-width:480px){ .nav{height:64px; gap:12px;} .logo svg{width:32px; height:32px;} .logo-word{font-size:16px;} .nav-cta{padding:9px 14px; font-size:14px;} }
@media (max-width:360px){ .logo-word{display:none;} }

/* ---------- Hero ---------- */
.hero{background:var(--harbour); color:var(--tide); padding:84px 0 96px; position:relative; overflow:hidden;}
.hero::after{
  content:""; position:absolute; right:-220px; top:-160px; width:680px; height:680px; border-radius:50%;
  background:radial-gradient(circle, rgba(183,217,206,0.13) 0%, rgba(183,217,206,0) 65%);
  pointer-events:none;
}
.hero-grid{display:grid; grid-template-columns:1fr 1.08fr; gap:56px; align-items:center; position:relative; z-index:1;}
@media (max-width:1000px){ .hero-grid{grid-template-columns:1fr; gap:48px;} }
.hero-kicker{color:var(--seaglass); font-weight:600; font-size:16px; margin-bottom:18px;}
.hero h1{font-size:clamp(38px,5.2vw,64px); margin-bottom:24px; max-width:14ch;}
.hero-lede{color:var(--muted-light); font-size:18.5px; max-width:52ch; margin-bottom:34px;}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap;}
.review-badge{
  display:inline-flex; align-items:center; gap:12px; margin-top:30px;
  text-decoration:none; color:var(--muted-light); font-size:14.5px;
}
.review-badge .stars{color:var(--brass); letter-spacing:2px; font-size:15px;}
.review-badge b{color:var(--tide); font-weight:600;}
.review-badge:hover .rb-link{text-decoration:underline;}
.rb-link{color:var(--seaglass);}

/* Signature: synced multi-calendar */
.sync-cal{
  background:#FBFCFC; color:var(--ink); border-radius:18px;
  box-shadow:0 30px 70px -20px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06);
  overflow:hidden;
}
.sc-top{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 20px; border-bottom:1px solid var(--line-light);}
.sc-title{font-family:var(--display); font-weight:700; font-size:17px;}
.sc-status{display:inline-flex; align-items:center; gap:8px; font-size:13px; color:var(--muted); white-space:nowrap;}
.sc-status i{width:8px; height:8px; border-radius:50%; background:#3BB273; box-shadow:0 0 0 4px rgba(59,178,115,0.16);}
.sc-grid{padding:6px 20px 16px; overflow-x:auto;}
.sc-table{min-width:520px;}
.sc-days, .sc-row{display:grid; grid-template-columns:130px repeat(14, 1fr); align-items:center;}
.sc-days{font-size:11.5px; color:var(--muted); padding:10px 0 6px;}
.sc-days span{text-align:center;}
.sc-days span.we{color:var(--ink); font-weight:600;}
.sc-row{height:46px; border-top:1px solid var(--line-light); position:relative;}
.sc-prop{font-size:13.5px; font-weight:600; line-height:1.2; padding-right:10px;}
.sc-prop small{display:block; font-weight:400; color:var(--muted); font-size:11.5px;}
.sc-bar{
  grid-row:1; height:28px; border-radius:7px; margin:0 2px;
  display:flex; align-items:center; padding:0 9px; font-size:11.5px; font-weight:600; color:#fff;
  white-space:nowrap; overflow:hidden;
  transform-origin:left center;
  animation:bar-in .55s cubic-bezier(.2,.8,.2,1) both;
}
.sc-bar.airbnb{background:var(--ch-airbnb);}
.sc-bar.vrbo{background:var(--ch-vrbo);}
.sc-bar.booking{background:var(--ch-booking);}
.sc-bar.direct{background:var(--brass); color:var(--ink);}
@keyframes bar-in{ from{opacity:0; transform:scaleX(0.3);} to{opacity:1; transform:scaleX(1);} }
.sc-legend{display:flex; flex-wrap:wrap; gap:8px 18px; padding:14px 20px; border-top:1px solid var(--line-light); background:var(--tide); font-size:12.5px; color:var(--muted);}
.sc-legend span{display:inline-flex; align-items:center; gap:7px;}
.sc-legend i{width:12px; height:12px; border-radius:3px; display:inline-block;}
.sc-legend .direct-note{margin-left:auto; color:var(--brass-text); font-weight:600;}
@media (max-width:560px){ .sc-legend .direct-note{margin-left:0; width:100%;} }
@media (max-width:600px){
  .hero{padding:56px 0 64px;}
  .sc-table{min-width:0;}
  .sc-days, .sc-row{grid-template-columns:78px repeat(14, 1fr);}
  .sc-days{font-size:10px;}
  .sc-grid{padding:4px 14px 12px;}
  .sc-prop{font-size:12px;}
  .sc-prop small{display:none;}
  .sc-row{height:38px;}
  .sc-bar{font-size:0; height:22px; padding:0; border-radius:5px; margin:0 1px;}
  .sc-top{padding:14px;}
  .sc-legend{padding:12px 14px;}
}
@media (prefers-reduced-motion: reduce){ .sc-bar{animation:none;} }

/* ---------- Platforms strip ---------- */
.platforms{background:var(--harbour-2); color:var(--tide); padding:34px 0;}
.platforms-inner{display:grid; grid-template-columns:180px 1fr; gap:32px; align-items:center;}
@media (max-width:860px){ .platforms-inner{grid-template-columns:1fr; gap:18px;} }
.platforms-lead{font-size:15px; color:var(--muted-light); line-height:1.45;}
.platforms-lead b{color:var(--tide); display:block; font-family:var(--display); font-size:19px; font-weight:700; letter-spacing:-0.01em;}
.platform-list{list-style:none; display:flex; flex-wrap:wrap; gap:8px;}
.platform-list li{
  font-family:var(--display); font-weight:600; font-size:15px;
  padding:8px 14px; border-radius:999px;
  border:1px solid rgba(183,217,206,0.28); color:var(--tide);
}

/* ---------- Stats ---------- */
.stats{background:var(--tide);}
.stat-row{display:grid; grid-template-columns:repeat(4,1fr); border-bottom:1px solid var(--line-light);}
@media (max-width:760px){ .stat-row{grid-template-columns:repeat(2,1fr);} }
.stat{padding:34px 28px; border-right:1px solid var(--line-light);}
.stat:first-child{padding-left:0;}
.stat:last-child{border-right:none;}
@media (max-width:760px){ .stat{padding:26px 20px;} .stat:nth-child(odd){padding-left:0;} }
@media (max-width:760px){ .stat:nth-child(2){border-right:none;} .stat:nth-child(-n+2){border-bottom:1px solid var(--line-light);} }
.stat .num{font-family:var(--display); font-weight:700; font-size:clamp(34px,4vw,46px); letter-spacing:-0.03em; line-height:1;}
.stat .label{color:var(--muted); font-size:15px; margin-top:8px;}

/* ---------- Generic sections ---------- */
.band{padding:104px 0;}
.band-light{background:var(--tide);}
.band-alt{background:var(--tide-2);}
.band-dark{background:var(--harbour); color:var(--tide);}
@media (max-width:640px){ .band{padding:72px 0;} }
.section-head{max-width:720px; margin-bottom:52px;}
.section-head h2{margin-bottom:16px;}
.section-head p{color:var(--muted); font-size:18px; max-width:60ch;}
.band-dark .section-head p{color:var(--muted-light);}

/* ---------- Intro / offer ---------- */
.offer-grid{display:grid; grid-template-columns:0.9fr 1.1fr; gap:72px; align-items:start;}
@media (max-width:900px){ .offer-grid{grid-template-columns:1fr; gap:40px;} }
.offer-intro h2{margin-bottom:22px;}
.offer-intro p{color:var(--muted); font-size:18px; margin-bottom:16px; max-width:52ch;}
.offer-intro p strong{color:var(--ink);}
.offer-list{list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:0 36px;}
@media (max-width:620px){ .offer-list{grid-template-columns:1fr;} }
.offer-list li{padding:24px 0; border-top:1px solid var(--line-light);}
.offer-list svg{width:28px; height:28px; color:var(--seaglass-deep); margin-bottom:12px;}
.offer-list h3{font-size:19px; margin-bottom:6px;}
.offer-list p{color:var(--muted); font-size:15.5px;}

/* ---------- Developer ---------- */
.dev-card{display:grid; grid-template-columns:auto 1fr; gap:48px; align-items:center;}
@media (max-width:720px){ .dev-card{grid-template-columns:1fr; gap:28px;} }
.dev-photo{width:200px; height:200px; border-radius:50%; object-fit:cover; border:6px solid var(--harbour-3);}
.dev-info h2{margin-bottom:8px;}
.dev-role{color:var(--seaglass); font-weight:600; margin-bottom:18px;}
.dev-info p{color:var(--muted-light); font-size:17.5px; max-width:60ch;}
.dev-chips{display:flex; gap:10px; flex-wrap:wrap; margin-top:24px; list-style:none;}
.dev-chips li{font-size:14px; padding:7px 14px; border-radius:999px; background:var(--harbour-3); color:var(--tide);}

/* ---------- Guest view showcase ---------- */
.showcase{display:grid; grid-template-columns:1.45fr 1fr; gap:0; background:#fff; border-radius:20px; overflow:hidden; box-shadow:0 1px 0 var(--line-light), 0 30px 60px -30px rgba(15,43,53,0.35);}
@media (max-width:900px){ .showcase{grid-template-columns:1fr;} }
.sv-browser{display:flex; align-items:center; gap:7px; padding:12px 16px; background:var(--tide-2); border-bottom:1px solid var(--line-light); grid-column:1 / -1;}
.sv-browser i{width:10px; height:10px; border-radius:50%; background:rgba(19,34,41,0.18);}
.sv-url{margin-left:12px; font-size:12.5px; color:var(--muted); background:#fff; padding:5px 14px; border-radius:999px; flex:1; max-width:340px;}
.sv-listing{padding:26px;}
.sv-photo{border-radius:14px; overflow:hidden; aspect-ratio:16/10; background:var(--seaglass);}
.sv-photo svg{width:100%; height:100%; display:block;}
.sv-listing h3{font-size:24px; margin:20px 0 6px;}
.sv-meta{color:var(--muted); font-size:15px;}
.sv-amenities{display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; list-style:none;}
.sv-amenities li{font-size:13.5px; padding:6px 12px; border-radius:8px; background:var(--tide); color:var(--ink);}
.sv-book{padding:26px; border-left:1px solid var(--line-light); background:#FCFDFD;}
@media (max-width:900px){ .sv-book{border-left:none; border-top:1px solid var(--line-light);} }
.sv-price{font-family:var(--display); font-size:28px; font-weight:700; letter-spacing:-0.02em;}
.sv-price small{font-family:var(--body); font-size:15px; font-weight:500; color:var(--muted); letter-spacing:0;}
.sv-fields{display:grid; grid-template-columns:1fr 1fr; border:1px solid var(--line-light); border-radius:12px; margin:18px 0; overflow:hidden;}
.sv-field{padding:10px 14px; font-size:14.5px;}
.sv-field:nth-child(1){border-right:1px solid var(--line-light);}
.sv-field:nth-child(3){grid-column:1 / -1; border-top:1px solid var(--line-light);}
.sv-field span{display:block; font-size:12px; color:var(--muted); font-weight:600;}
.sv-lines{list-style:none; font-size:15px;}
.sv-lines li{display:flex; justify-content:space-between; padding:6px 0; color:var(--muted);}
.sv-lines li.total{color:var(--ink); font-weight:700; border-top:1px solid var(--line-light); margin-top:6px; padding-top:12px;}
.sv-book .btn{width:100%; margin-top:18px; border-radius:12px;}
.sv-sync{display:flex; gap:8px; align-items:center; margin-top:14px; font-size:13px; color:var(--muted); justify-content:center;}
.sv-sync i{width:8px; height:8px; border-radius:50%; background:#3BB273;}
.showcase-notes{display:grid; grid-template-columns:repeat(3,1fr); gap:32px; margin-top:44px; list-style:none;}
@media (max-width:820px){ .showcase-notes{grid-template-columns:1fr; gap:22px;} }
.showcase-notes li{padding-left:18px; border-left:3px solid var(--seaglass-deep);}
.showcase-notes h3{font-size:18px; margin-bottom:6px;}
.showcase-notes p{color:var(--muted); font-size:15.5px;}

/* ---------- Why choose me ---------- */
.why-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:0; border-top:1px solid var(--line-light);}
@media (max-width:820px){ .why-grid{grid-template-columns:1fr;} }
.why-item{padding:32px 32px 8px 0;}
.why-item + .why-item{padding-left:32px; border-left:1px solid var(--line-light);}
@media (max-width:820px){ .why-item, .why-item + .why-item{padding:28px 0; border-left:none;} .why-item + .why-item{border-top:1px solid var(--line-light);} }
.why-item h3{font-size:22px; margin-bottom:10px;}
.why-item p{color:var(--muted); font-size:16px;}

/* ---------- Split layout (heading left, content right) ---------- */
.split{display:grid; grid-template-columns:0.8fr 1.2fr; gap:72px; align-items:start;}
.split .section-head{position:sticky; top:120px; margin-bottom:0;}
@media (max-width:900px){ .split{grid-template-columns:1fr; gap:40px;} .split .section-head{position:static;} }

/* ---------- Process ---------- */
.process-list{list-style:none; counter-reset:step; max-width:820px;}
.process-item{display:grid; grid-template-columns:64px 1fr; gap:20px; position:relative; padding-bottom:34px;}
.process-item:last-child{padding-bottom:0;}
.process-item::before{
  counter-increment:step; content:counter(step);
  width:48px; height:48px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--display); font-weight:700; font-size:19px;
  background:var(--harbour-3); color:var(--seaglass); border:1px solid rgba(183,217,206,0.3);
  position:relative; z-index:1;
}
.process-item::after{content:""; position:absolute; left:24px; top:48px; bottom:0; width:1px; background:rgba(183,217,206,0.3);}
.process-item:last-child::after{display:none;}
.process-item h3{font-size:21px; margin:10px 0 6px;}
.process-item p{color:var(--muted-light); font-size:16px; max-width:58ch;}

/* ---------- Pricing ---------- */
.price-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; align-items:stretch;}
@media (max-width:920px){ .price-grid{grid-template-columns:1fr; max-width:480px;} }
.price-card{background:#fff; border:1px solid var(--line-light); border-radius:18px; padding:32px 28px; display:flex; flex-direction:column;}
.price-card.featured{background:var(--harbour); color:var(--tide); border-color:var(--harbour); position:relative;}
.price-flag{position:absolute; top:-13px; left:28px; background:var(--brass); color:var(--ink); font-size:13px; font-weight:700; padding:5px 12px; border-radius:999px;}
.price-card h3{font-size:24px;}
.price-note{color:var(--muted); font-size:15px; margin:6px 0 20px;}
.price-card.featured .price-note{color:var(--muted-light);}
.price-amt{font-family:var(--display); font-weight:700; font-size:44px; letter-spacing:-0.03em; line-height:1; margin-bottom:6px;}
.price-from{font-size:13.5px; color:var(--muted); margin-bottom:22px;}
.price-card.featured .price-from{color:var(--muted-light);}
.price-card ul{list-style:none; margin-bottom:28px; flex:1;}
.price-card li{padding:9px 0 9px 26px; border-top:1px solid var(--line-light); font-size:15.5px; position:relative;}
.price-card.featured li{border-top-color:var(--line-dark);}
.price-card li::before{content:""; position:absolute; left:2px; top:15px; width:12px; height:7px; border-left:2px solid var(--seaglass-deep); border-bottom:2px solid var(--seaglass-deep); transform:rotate(-45deg);}
.price-card.featured li::before{border-color:var(--seaglass);}
.price-card .btn{width:100%;}

/* ---------- FAQ ---------- */
.faq-list{max-width:820px; border-top:1px solid var(--line-light);}
.faq-item{border-bottom:1px solid var(--line-light);}
.faq-q{
  width:100%; background:none; border:none; cursor:pointer; text-align:left;
  display:flex; justify-content:space-between; align-items:center; gap:20px;
  padding:22px 0; font-family:var(--display); font-weight:600; font-size:19px; color:var(--ink); letter-spacing:-0.01em;
}
.faq-q .plus{flex-shrink:0; width:30px; height:30px; border-radius:50%; border:1px solid var(--line-light); position:relative; transition:transform .2s ease, background .2s ease;}
.faq-q .plus::before, .faq-q .plus::after{content:""; position:absolute; left:50%; top:50%; width:12px; height:2px; background:var(--ink); transform:translate(-50%,-50%);}
.faq-q .plus::after{transform:translate(-50%,-50%) rotate(90deg);}
.faq-item.open .plus{transform:rotate(45deg); background:var(--seaglass);}
.faq-a{max-height:0; overflow:hidden; transition:max-height .25s ease;}
.faq-a p{padding:0 50px 24px 0; color:var(--muted); font-size:16.5px; max-width:66ch;}
@media (prefers-reduced-motion: reduce){ .faq-a, .faq-q .plus{transition:none;} }

/* ---------- Final CTA ---------- */
.final-cta{background:var(--harbour); color:var(--tide); padding:110px 0; text-align:center;}
.final-cta h2{font-size:clamp(34px,5vw,58px); max-width:18ch; margin:0 auto 18px;}
.final-cta p{color:var(--muted-light); font-size:18.5px; max-width:54ch; margin:0 auto 36px;}
.final-cta-actions{display:flex; gap:12px; justify-content:center; flex-wrap:wrap;}

/* ---------- Footer ---------- */
.site-footer{background:#0B222A; color:var(--muted-light); padding:56px 0 30px; font-size:15px;}
.footer-grid{display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:40px; padding-bottom:36px; border-bottom:1px solid var(--line-dark);}
@media (max-width:820px){ .footer-grid{grid-template-columns:1fr; gap:28px;} }
.footer-brand p{margin-top:14px; max-width:36ch;}
.site-footer h4{font-family:var(--body); font-size:14px; font-weight:700; color:var(--tide); margin-bottom:12px; letter-spacing:0;}
.site-footer ul{list-style:none;}
.site-footer li{padding:3px 0;}
.site-footer a{text-decoration:none; color:var(--muted-light);}
.site-footer a:hover{color:var(--tide);}
.site-footer .logo{color:var(--tide);}
.footer-bottom{display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; padding-top:24px; font-size:13.5px;}

/* ---------- Generic content (index.php fallback) ---------- */
.entry{max-width:760px;}
.entry h1{font-size:clamp(32px,4vw,48px); margin-bottom:24px;}
.entry-content > * + *{margin-top:1em;}
.entry-content a{color:var(--brass-text);}

/* ---------- WhatsApp float ---------- */
.whatsapp-float{
  position:fixed; right:24px; bottom:24px; z-index:60;
  width:58px; height:58px; border-radius:50%; background:#25D366;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 28px -8px rgba(37,211,102,0.6), 0 4px 10px rgba(0,0,0,0.2);
  transition:transform .15s ease;
}
.whatsapp-float:hover{transform:scale(1.05);}
.whatsapp-float svg{width:30px; height:30px;}
@media (max-width:640px){ .whatsapp-float{width:52px; height:52px; right:16px; bottom:16px;} }

/* ---------- Quote modal ---------- */
.modal-overlay{
  position:fixed; inset:0; z-index:100; display:none;
  align-items:center; justify-content:center; padding:20px;
  background:rgba(8,24,30,0.72); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
}
.modal-overlay.open{display:flex;}
.modal-box{
  background:#fff; color:var(--ink); border-radius:20px; width:100%; max-width:540px;
  max-height:calc(100vh - 40px); overflow-y:auto; padding:34px 32px 28px; position:relative;
  animation:modal-in .2s ease;
}
@keyframes modal-in{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:none;} }
@media (prefers-reduced-motion: reduce){ .modal-box{animation:none;} }
@media (max-width:520px){ .modal-box{padding:28px 20px 22px;} }
.modal-close{
  position:absolute; top:16px; right:16px; width:36px; height:36px; border-radius:50%;
  border:1px solid var(--line-light); background:#fff; cursor:pointer; font-size:18px; line-height:1; color:var(--muted);
}
.modal-close:hover{color:var(--ink); border-color:var(--ink);}
.modal-box h3{font-size:26px; margin-bottom:8px; padding-right:40px;}
.modal-sub{color:var(--muted); font-size:15.5px; margin-bottom:20px;}
.modal-quick{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:22px;}
.modal-quick a{
  display:flex; align-items:center; justify-content:center; gap:8px; padding:12px; border-radius:12px;
  text-decoration:none; font-weight:600; font-size:15px; border:1px solid var(--line-light);
}
.modal-quick a.wa{background:#E9F9EF; border-color:#BFEBD0; color:#136B35;}
.modal-quick a.em{background:var(--tide);}
.modal-quick a:hover{border-color:var(--ink);}
.modal-divider{display:flex; align-items:center; gap:12px; color:var(--muted); font-size:13.5px; margin-bottom:18px;}
.modal-divider::before, .modal-divider::after{content:""; flex:1; height:1px; background:var(--line-light);}
.modal-row{display:grid; grid-template-columns:1fr 1fr; gap:12px;}
@media (max-width:520px){ .modal-row{grid-template-columns:1fr;} }
.modal-field{margin-bottom:14px;}
.modal-field label{display:block; font-size:14px; font-weight:600; margin-bottom:6px;}
.modal-field input, .modal-field select, .modal-field textarea{
  width:100%; font:inherit; font-size:15.5px; color:var(--ink);
  padding:11px 13px; border:1px solid rgba(19,34,41,0.22); border-radius:10px; background:#fff;
}
.modal-field textarea{min-height:96px; resize:vertical;}
.modal-field input:focus, .modal-field select:focus, .modal-field textarea:focus{outline:none; border-color:var(--harbour); box-shadow:0 0 0 3px rgba(183,217,206,0.6);}
.hp-field{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden;}
.modal-submit{width:100%; border-radius:12px; margin-top:4px;}
.modal-submit[disabled]{opacity:0.6; cursor:wait;}
.modal-note{font-size:13.5px; color:var(--muted); text-align:center; margin-top:12px;}
.modal-error{color:#B3261E; text-align:center; font-size:14px; margin-top:12px;}
.modal-success{text-align:center; padding:24px 0 8px;}
.modal-success .tick{width:56px; height:56px; border-radius:50%; background:var(--seaglass); margin:0 auto 16px; display:flex; align-items:center; justify-content:center;}
.modal-success .tick::before{content:""; width:20px; height:11px; border-left:3px solid var(--harbour); border-bottom:3px solid var(--harbour); transform:rotate(-45deg) translate(2px,-2px);}
