/*
Theme Name: Bathroom Rescue by Magic Angels
Theme URI: https://example.com/
Author: Magic Angels
Description: Premium one-page WordPress theme for the Bathroom Rescue service.
Version: 1.4.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bathroom-rescue
*/

:root{
  --cream:#F5F0E6;
  --paper:#FBF8F2;
  --sage:#66755C;
  --forest:#2F4438;
  --ink:#26322C;
  --gold:#B69A62;
  --stone:#D8D0C1;
  --soft:#ECE6DB;
  --white:#ffffff;
  --shadow:0 18px 55px rgba(47,68,56,.12);
  --radius:26px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:"DM Sans",system-ui,sans-serif;line-height:1.65;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(1160px,92%);margin:auto}
.eyebrow{
  text-transform:uppercase;letter-spacing:.18em;font-size:.76rem;
  font-weight:600;color:var(--gold)
}
h1,h2,h3{
  font-family:"Cormorant Garamond",Georgia,serif;
  line-height:1.02;margin:0 0 .8rem;font-weight:600
}
h1{font-size:clamp(3.3rem,8vw,7rem)}
h2{font-size:clamp(2.4rem,5vw,4.3rem)}
h3{font-size:1.65rem}
p{margin:.2rem 0 1.1rem}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.55rem;
  padding:.95rem 1.3rem;border-radius:999px;font-weight:600;
  transition:.2s ease;border:1px solid transparent;cursor:pointer;
  font-family:inherit;font-size:.96rem
}
.btn-primary{background:var(--forest);color:white}
.btn-primary:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(47,68,56,.18)}
.btn-ghost{border-color:var(--stone);background:rgba(255,255,255,.5)}
.btn-ghost:hover{background:white}

.site-nav{
  position:sticky;top:0;z-index:100;background:rgba(251,248,242,.88);
  backdrop-filter:blur(14px);border-bottom:1px solid rgba(182,154,98,.18)
}
.nav-inner{
  min-height:76px;display:flex;align-items:center;
  justify-content:space-between;gap:1rem
}
.brand{display:flex;align-items:center;gap:.85rem}
.mark{
  width:38px;height:38px;border:1px solid var(--gold);border-radius:50%;
  display:grid;place-items:center;color:var(--gold);
  font-family:"Cormorant Garamond";font-size:1.45rem;font-weight:700
}
.brand-copy strong{
  display:block;font-family:"Cormorant Garamond";
  font-size:1.15rem;letter-spacing:.03em
}
.brand-copy span{
  display:block;font-size:.68rem;letter-spacing:.17em;
  text-transform:uppercase;color:var(--sage)
}
.nav-links{display:flex;gap:1.3rem;align-items:center;font-size:.9rem}

.hero{
  min-height:86vh;display:grid;align-items:center;
  background:
    radial-gradient(circle at 80% 10%, rgba(182,154,98,.16), transparent 30%),
    linear-gradient(135deg,var(--cream),var(--paper));
  position:relative;overflow:hidden
}
.hero:after{
  content:"";position:absolute;right:-8%;bottom:-28%;
  width:460px;height:460px;border-radius:50%;
  border:1px solid rgba(102,117,92,.18);
  box-shadow:0 0 0 60px rgba(102,117,92,.035),0 0 0 120px rgba(102,117,92,.025)
}
.hero-grid{
  display:grid;grid-template-columns:1.1fr .9fr;gap:3.5rem;
  align-items:center;padding:5.5rem 0
}
.hero-copy p{max-width:650px;font-size:1.1rem}
.hero-actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.8rem}
.trust-row{display:flex;flex-wrap:wrap;gap:1.1rem;margin-top:2rem;font-size:.86rem;color:#56645c}
.trust-row span:before{content:"•";color:var(--gold);margin-right:.55rem}
.hero-card{
  background:rgba(255,255,255,.62);border:1px solid rgba(182,154,98,.25);
  border-radius:34px;padding:1rem;box-shadow:var(--shadow);position:relative;overflow:hidden
}
.hero-card img{
  width:100%;height:100%;min-height:430px;object-fit:cover;border-radius:24px
}
.photo-placeholder{
  min-height:430px;border-radius:24px;
  background:linear-gradient(135deg,#d7d0c3,#f1ede5);
  display:grid;place-items:center;text-align:center;padding:2rem;color:#667067;
  border:1px dashed rgba(47,68,56,.28)
}

section{padding:6.5rem 0}
.intro-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:4rem;align-items:start}
.lead{font-family:"Cormorant Garamond";font-size:clamp(1.6rem,3vw,2.45rem);line-height:1.25}

.services{background:var(--forest);color:#f8f4eb}
.services .eyebrow{color:#d4bf90}
.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:2.7rem}
.service{
  border:1px solid rgba(255,255,255,.15);border-radius:22px;
  padding:1.4rem;min-height:180px;background:rgba(255,255,255,.035)
}
.service .num{color:#d4bf90;font-family:"Cormorant Garamond";font-size:1.1rem}
.service h3{margin-top:1.9rem;color:white}
.service p{font-size:.9rem;color:#dce3dd}

.beforeafter-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;margin-top:2rem}
.beforeafter{
  background:var(--cream);border-radius:var(--radius);padding:1rem;border:1px solid var(--stone)
}
.ba-image{
  aspect-ratio:4/3;border-radius:18px;overflow:hidden;background:#ddd
}
.ba-image img{width:100%;height:100%;object-fit:cover}
.label{margin-top:.8rem;font-size:.78rem;text-transform:uppercase;letter-spacing:.14em;color:var(--sage)}

.truth{background:var(--cream)}
.truth-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem}
.truth-card{padding:2rem;border-radius:var(--radius);background:var(--paper);border:1px solid var(--stone)}
.truth-card ul{padding-left:1.15rem;margin-bottom:0}
.truth-card li{margin:.55rem 0}
.quote{
  margin-top:2rem;border-left:3px solid var(--gold);padding-left:1.3rem;
  font-family:"Cormorant Garamond";font-size:1.6rem;color:var(--forest)
}

.pricing-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:4rem;align-items:center}
.price-card{
  background:var(--forest);color:white;padding:2.3rem;
  border-radius:32px;box-shadow:var(--shadow)
}
.price{font-family:"Cormorant Garamond";font-size:4.6rem;line-height:1}
.price small{font-family:"DM Sans";font-size:.9rem}
.price-card p{color:#dde5df}

.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:2.5rem}
.step{padding:1.5rem;border-top:1px solid var(--gold)}
.step strong{
  display:block;color:var(--gold);font-size:.8rem;
  letter-spacing:.12em;text-transform:uppercase;margin-bottom:.7rem
}

.contact{background:linear-gradient(135deg,#eee7db,#f8f4ed)}
.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:4rem}
.contact-details{
  margin-top:1.4rem;padding:1.2rem 1.3rem;border-radius:20px;
  background:rgba(255,255,255,.62);border:1px solid var(--stone)
}
.contact-details p{margin:.25rem 0}
form{
  background:white;padding:2rem;border-radius:30px;
  border:1px solid var(--stone);box-shadow:var(--shadow)
}
label{display:block;font-size:.82rem;font-weight:600;margin-bottom:.35rem}
input,textarea,select{
  width:100%;padding:.92rem 1rem;border-radius:14px;border:1px solid #d7d0c6;
  background:#fdfbf7;font:inherit;color:var(--ink);outline:none
}
input:focus,textarea:focus,select:focus{
  border-color:var(--sage);box-shadow:0 0 0 3px rgba(102,117,92,.08)
}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.field{margin-bottom:1rem}
textarea{min-height:150px;resize:vertical}
.form-note{font-size:.78rem;color:#68736c}
.form-success,.form-error{
  padding:.85rem 1rem;border-radius:12px;margin-bottom:1rem;font-size:.9rem
}
.form-success{background:#e8f1e9;color:#31513b}
.form-error{background:#f6e8e6;color:#6c3932}

.site-footer{background:#25372f;color:#e9eee9;padding:2.6rem 0}
.footer-grid{display:flex;justify-content:space-between;gap:2rem;align-items:center}
.footer-grid small{color:#c7d0ca}

.admin-edit-hint{
  font-size:.76rem;color:#7a817c;margin-top:.8rem
}

@media(max-width:900px){
  .nav-links a:not(.btn){display:none}
  .hero-grid,.intro-grid,.pricing-grid,.contact-grid{grid-template-columns:1fr}
  .service-grid,.steps{grid-template-columns:1fr 1fr}
  .hero-card{max-width:650px}
}
@media(max-width:620px){
  h1{font-size:3.7rem}
  section{padding:4.4rem 0}
  .service-grid,.steps,.beforeafter-grid,.truth-grid,.field-grid{grid-template-columns:1fr}
  .nav-inner{min-height:68px}
  .brand-copy span{display:none}
  .hero-grid{padding:4rem 0}
  .hero-card img,.photo-placeholder{min-height:320px}
  .footer-grid{align-items:flex-start;flex-direction:column}
}


/* Bathroom Rescue enquiry photo upload */
.br-honeypot{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
}
.optional{
  font-weight:400;
  color:#7b817d;
}
.photo-upload-box{
  position:relative;
  border:1.5px dashed #c9bfae;
  background:#fbf8f1;
  border-radius:18px;
  padding:1.15rem;
  transition:.2s ease;
}
.photo-upload-box:hover{
  border-color:var(--sage);
  background:#f8f5ed;
}
.photo-upload-box input[type="file"]{
  background:white;
  border:1px solid #ddd4c7;
  margin-bottom:.8rem;
  padding:.7rem;
}
.upload-copy{
  display:grid;
  gap:.15rem;
  color:#68736c;
  font-size:.8rem;
}
.upload-copy strong{
  color:var(--forest);
  font-size:.9rem;
}
.photo-selection{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
  margin-top:.7rem;
}
.photo-file{
  display:inline-flex;
  align-items:center;
  padding:.35rem .6rem;
  border-radius:999px;
  background:#eef1ea;
  border:1px solid #d7ded2;
  color:#4b5b50;
  font-size:.76rem;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.photo-error{
  color:#874a42;
  font-size:.82rem;
  margin-top:.55rem;
}
.consent-note{
  font-size:.76rem;
  line-height:1.5;
  color:#707873;
  margin:-.1rem 0 1rem;
  padding:.75rem .85rem;
  border-left:2px solid var(--gold);
  background:#fbf8f2;
}


.photo-upload-box input[type="file"]::file-selector-button{
  border:0;
  border-radius:999px;
  padding:.72rem 1rem;
  margin-right:.7rem;
  background:var(--forest);
  color:white;
  font:inherit;
  font-weight:600;
  cursor:pointer;
}
.photo-upload-box input[type="file"]::file-selector-button:hover{
  opacity:.92;
}
button[disabled]{
  pointer-events:none;
}
