/* BrumClean — premium monochrome theme. No images; inline SVG icons only. */
[hidden] { display: none !important; }
:root {
  --black: #0a0a0a;
  --dark: #1a1a1a;
  --gray-dark: #2d2d2d;
  --gray: #5c5c5c;          /* darkened from #666 for WCAG AA on #f8f8f8 */
  --gray-mid: #8a8a8a;
  --gray-light: #e6e6e6;
  --gray-soft: #f1f1f1;
  --off-white: #f8f8f8;
  --white: #ffffff;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(10,10,10,.04), 0 1px 3px rgba(10,10,10,.06);
  --shadow: 0 2px 4px rgba(10,10,10,.04), 0 12px 32px -12px rgba(10,10,10,.18);
  --ease: cubic-bezier(.2,.7,.2,1);
  --header-h: 72px;
  --font: "Inter", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--black); background: var(--white); line-height: 1.65; font-size: 1rem; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; border-radius: 4px; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--black); color: var(--white); padding: .7rem 1rem; border-radius: var(--radius-sm); z-index: 1000; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }
.small { font-size: .875rem; }
.muted { color: var(--gray); }
.center { text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 30px; height: 30px; stroke-width: 1.4; }

/* Typography */
h1, h2, h3, h4, .h3, .h4 { line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3, .h3 { font-size: 1.15rem; letter-spacing: -.01em; }
.h3 { font-size: 1.5rem; margin-bottom: 1.2rem; }
.h4 { font-size: 1rem; margin-bottom: .8rem; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--gray); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 600; color: var(--gray); margin-bottom: .8rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--gray); max-width: 680px; }
.lead-sm { font-size: 1.1rem; color: var(--gray); margin: .4rem 0 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); line-height: 1.2; white-space: nowrap; }
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--gray-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary { background: var(--white); color: var(--black); border-color: var(--black); }
.btn-secondary:hover { background: var(--black); color: var(--white); }
.btn-link { background: none; color: var(--black); padding-left: .6rem; padding-right: .6rem; text-decoration: underline; text-underline-offset: 4px; }
.btn-sm { padding: .6rem 1.1rem; font-size: .875rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--gray-light); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.logo { font-size: 1.55rem; font-weight: 800; letter-spacing: -.04em; text-decoration: none; color: var(--black); }
.logo span { font-weight: 400; color: var(--gray); }
.logo-light { color: var(--white); }
.logo-light span { color: #a3a3a3; }
.primary-nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 1.6rem; }
.nav-links, .nav-secondary { list-style: none; display: flex; gap: 1.5rem; }
.nav-links a, .nav-secondary a { text-decoration: none; font-weight: 500; font-size: .92rem; color: var(--dark); position: relative; padding: .3rem 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { transform: scaleX(1); }
.nav-secondary { display: none; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; text-decoration: none; }
.menu-toggle { display: none; background: none; border: 1px solid var(--gray-light); border-radius: 999px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (max-width: 1100px) { .nav-phone { display: none; } .nav-links { gap: 1.1rem; } }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 50% -10%, #ffffff 0%, var(--off-white) 60%), var(--off-white); padding: clamp(80px, 12vw, 150px) 0 clamp(70px, 9vw, 110px); text-align: center; border-bottom: 1px solid var(--gray-light); }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero h1 { margin-bottom: 1.3rem; }
.hero .lead { margin: 0 auto 2.2rem; }
.hero-buttons { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.hero-buttons.left { justify-content: flex-start; margin-top: 1.6rem; }
.trust-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.8rem; margin-top: 2.6rem; color: var(--gray); font-size: .9rem; }
.trust-row li { display: inline-flex; align-items: center; gap: .45rem; }

/* Stats */
.stats { padding: 56px 0; background: var(--white); border-bottom: 1px solid var(--gray-light); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-value { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat-label { color: var(--gray); font-size: .9rem; margin-top: .35rem; }
.stat + .stat { border-left: 1px solid var(--gray-light); }

/* Sections */
.section { padding: clamp(70px, 9vw, 110px) 0; }
.section-alt { background: var(--off-white); }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-title h2 { margin-bottom: .6rem; }
.section-title p:not(.eyebrow) { color: var(--gray); font-size: 1.05rem; }
.section-cta { text-align: center; margin-top: 2.2rem; color: var(--gray); }
.section-cta a { color: var(--black); font-weight: 600; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 1.9rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.card:hover { border-color: var(--gray-dark); box-shadow: var(--shadow); transform: translateY(-2px); }
.card .icon-lg { color: var(--black); margin-bottom: .6rem; }
.card p { color: var(--gray); font-size: .94rem; }
.card-flat:hover { transform: none; }
.card-link { margin-top: auto; padding-top: .8rem; display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--black); }
.card-link .icon { transition: transform .2s var(--ease); }
.card-link:hover .icon { transform: translateX(3px); }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; position: relative; }
.step { text-align: left; padding: 1.6rem; border-top: 1px solid var(--black); }
.step-number { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--black); color: var(--white); align-items: center; justify-content: center; font-weight: 700; margin-bottom: 1rem; }
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--gray); font-size: .94rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.feature { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 1.8rem 1.5rem; }
.feature .icon-lg { margin-bottom: 1rem; }
.feature h3 { margin-bottom: .4rem; }
.feature p { color: var(--gray); font-size: .94rem; }

/* Prices */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.price-card { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 1.8rem 1.5rem; display: flex; flex-direction: column; transition: border-color .25s, box-shadow .25s; }
.price-card:hover { border-color: var(--gray-dark); box-shadow: var(--shadow); }
.price-card h3 { font-size: 1rem; min-height: 2.4em; }
.price { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; margin: .6rem 0 .5rem; }
.price span { font-size: 1rem; font-weight: 500; color: var(--gray); letter-spacing: 0; }
.price-card > p:not(.price) { color: var(--gray); font-size: .9rem; }
.price-notes { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem 2rem; max-width: 900px; margin: 2.4rem auto 0; color: var(--gray); font-size: .92rem; }
.price-notes li { display: flex; gap: .6rem; align-items: flex-start; }
.price-notes .icon { margin-top: .2em; color: var(--black); }

/* Panels & forms */
.panel { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); }
.panel h3 { display: flex; align-items: center; gap: .55rem; margin-bottom: .4rem; font-size: 1.2rem; }
.panel-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.panel-dark a { color: var(--white); }
.panel-dark .small { color: #c8c8c8; margin-top: 1rem; }
.form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-weight: 500; font-size: .9rem; }
.req { color: var(--gray); }
.hint, .hint-inline { font-size: .8rem; color: var(--gray); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; padding: .78rem .9rem; border: 1px solid #d4d4d4; border-radius: var(--radius-sm); background: var(--white); font-size: 1rem; transition: border-color .2s, box-shadow .2s; min-height: 46px;
}
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232d2d2d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem; }
textarea { resize: vertical; min-height: 96px; }
textarea[readonly] { background: var(--off-white); color: var(--gray-dark); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(10,10,10,.1); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--black); border-width: 2px; }
.field-error { font-size: .82rem; color: var(--black); font-weight: 600; display: flex; gap: .3rem; align-items: center; }
.field-error::before { content: "!"; display: inline-flex; width: 16px; height: 16px; border-radius: 50%; background: var(--black); color: var(--white); font-size: .7rem; align-items: center; justify-content: center; }
.check { flex-direction: row; align-items: flex-start; gap: .65rem; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--black); flex: none; }
.check label { font-weight: 400; font-size: .88rem; color: var(--gray-dark); }
.form-status:empty { display: none; }
.form-status, .notice { border-radius: var(--radius-sm); padding: 1rem 1.1rem; font-size: .92rem; border: 1px solid var(--gray-light); background: var(--off-white); }
.form-status.is-success { border-color: var(--black); background: var(--white); }
.form-status.is-error { border: 2px solid var(--black); background: var(--white); }
.form-status .btn, .notice .btn { margin-top: .7rem; margin-right: .5rem; }
.notice { margin-bottom: 1.2rem; border-left: 3px solid var(--black); }
.notice strong { display: block; margin-bottom: .25rem; }

/* Calculator */
.quote-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 1.5rem; align-items: start; }
.calc { display: flex; flex-direction: column; gap: 1rem; }
.calc-group[hidden] { display: none; }
.calc-group { display: flex; flex-direction: column; gap: 1rem; animation: fadeIn .3s var(--ease); }
.calc-result { margin-top: .4rem; padding: 1.4rem; border-radius: var(--radius-sm); background: var(--off-white); border: 1px solid var(--gray-light); text-align: center; }
.calc-label { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--gray); font-weight: 600; }
.calc-price { font-size: clamp(2.2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin-top: .3rem; }
.calc-unit { color: var(--gray); font-size: .9rem; min-height: 1.4em; }
.calc-breakdown { list-style: none; margin: .9rem auto; font-size: .85rem; color: var(--gray-dark); max-width: 420px; }
.calc-breakdown li { padding: .3rem 0; border-top: 1px dashed var(--gray-light); }
.calc-actions { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }

/* Booking */
.booking-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1.5rem; align-items: start; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: .9rem; margin-top: 1.2rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: #e9e9e9; }
.check-list .icon { margin-top: .2em; color: var(--white); }
.check-list strong { color: var(--white); }
.pay-methods { border: 1px solid var(--gray-light); border-radius: var(--radius-sm); padding: 1rem; }
.pay-methods legend { font-weight: 600; font-size: .9rem; padding: 0 .4rem; }
.pay-options { display: flex; gap: .7rem; flex-wrap: wrap; }
.pay-option { flex: 1 1 180px; display: flex; align-items: center; gap: .6rem; border: 1px solid #d4d4d4; border-radius: var(--radius-sm); padding: .8rem 1rem; cursor: pointer; font-weight: 500; transition: border-color .2s; }
.pay-option:has(input:checked) { border-color: var(--black); box-shadow: 0 0 0 1px var(--black); }
.pay-option input { accent-color: var(--black); width: 18px; height: 18px; }
.pay-option[hidden] { display: none; }
#paypalButtons { margin-top: .5rem; }
input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; }
select option:disabled { color: #aaa; }

/* Reviews */
.review-filters { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 2rem; }
.review-filters .field { min-width: 180px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.review-card { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .8rem; animation: fadeUp .45s var(--ease) both; }
.review-stars { display: flex; gap: 2px; color: var(--black); }
.review-stars .icon { width: 17px; height: 17px; }
.review-stars .on { fill: var(--black); }
.review-stars .off { fill: none; color: #c4c4c4; }
.review-text { color: var(--gray-dark); font-size: .97rem; }
.review-meta { margin-top: auto; font-size: .86rem; display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; align-items: baseline; }
.review-author { font-weight: 600; }
.review-tag { font-size: .74rem; color: var(--gray); border: 1px solid var(--gray-light); border-radius: 999px; padding: .15rem .6rem; }
#loadMoreReviews { margin-top: 2rem; }
.review-form-panel { max-width: 760px; margin: 3.5rem auto 0; }

/* About / FAQ */
.about-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about-text h2 { margin-bottom: 1.2rem; }
.about-text p:not(.eyebrow) { color: var(--gray-dark); margin-bottom: 1rem; }
.faq-item { border-bottom: 1px solid var(--gray-light); }
.faq-item:first-of-type { border-top: 1px solid var(--gray-light); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; font-weight: 600; font-size: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform .25s var(--ease); color: var(--gray); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--gray-dark); }
.faq-answer { padding: 0 2.2rem 1.2rem 0; color: var(--gray); font-size: .95rem; animation: fadeIn .3s var(--ease); }
.faq-answer a { color: var(--black); font-weight: 600; }

/* Areas */
.areas-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: start; }
.areas-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: .45rem 1.2rem; margin-bottom: 1.2rem; }
.areas-list li { padding-left: 1rem; position: relative; font-size: .95rem; }
.areas-list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; background: var(--black); border-radius: 50%; }
.areas-layout .muted { margin-bottom: 1.2rem; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-light); background: var(--gray-soft); aspect-ratio: 4 / 3; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); display: block; }

/* Jobs */
.jobs-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.jobs-layout > div > p:not(.eyebrow):not(.lead-sm) { color: var(--gray-dark); margin-bottom: 1rem; }
.jobs-layout .form { margin-top: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1.5rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: .7rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
a.contact-item:hover { border-color: var(--black); box-shadow: var(--shadow-sm); }
.contact-item .icon { width: 22px; height: 22px; margin-top: .15rem; }
.contact-item strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gray); font-weight: 600; margin-bottom: .1rem; }
.contact-item small { display: block; color: var(--gray); font-size: .82rem; margin-top: .2rem; }
.contact-item span { word-break: break-word; }
#contactForm { margin-top: 0; }

/* Footer */
.site-footer { background: var(--black); color: #d4d4d4; padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-col a, .footer-col p { color: #b5b5b5; text-decoration: none; display: block; font-size: .9rem; margin-bottom: .5rem; }
.footer-brand p { margin-top: 1rem; max-width: 380px; line-height: 1.7; }
.footer-brand p a { display: inline; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-heading { color: var(--white); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.1rem; font-weight: 600; }
.footer-bottom { border-top: 1px solid #2a2a2a; padding-top: 1.6rem; font-size: .85rem; color: #9a9a9a; text-align: center; }
.footer-bottom .small { margin-top: .5rem; font-size: .8rem; }
.footer-bottom a { color: #d4d4d4; }

/* Floating */
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: var(--white); color: #111; border: 1px solid #cfcfcf; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.22); z-index: 90; transition: transform .2s var(--ease), box-shadow .2s; }
.whatsapp-float .icon { width: 28px; height: 28px; }
.whatsapp-float:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 26px rgba(0,0,0,.28); }
.back-to-top { position: fixed; left: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--black); color: var(--white); border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 90; box-shadow: 0 6px 18px rgba(0,0,0,.2); transition: opacity .2s, transform .2s; }
.back-to-top[hidden] { display: none; }
.noscript { position: fixed; bottom: 0; left: 0; right: 0; background: var(--black); color: var(--white); padding: 1rem; text-align: center; z-index: 200; }
.noscript a { color: var(--white); }

/* Reveal animation (only when JS runs and motion allowed) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .card-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid, .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .quote-layout, .booking-layout, .contact-grid, .about-layout, .jobs-layout, .areas-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav-menu { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: auto; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); /* explicit height: the header's backdrop-filter makes it the containing block */ background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 24px 2rem; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s; border-top: 1px solid var(--gray-light); }
  .nav-menu.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .nav-links, .nav-secondary { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: .95rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--gray-light); }
  .nav-links a::after { display: none; }
  .nav-secondary { display: grid; grid-template-columns: 1fr 1fr; margin-top: 1rem; }
  .nav-secondary a { display: block; padding: .6rem 0; color: var(--gray); }
  .nav-actions { flex-direction: column; align-items: stretch; margin-top: 1.4rem; }
  .nav-phone { display: inline-flex; justify-content: center; padding: .8rem; border: 1px solid var(--black); border-radius: 999px; }
  .nav-actions .btn { padding: .9rem; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .card-grid, .reviews-grid, .price-grid, .features, .steps, .field-row, .price-notes { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
  .stat + .stat { border-left: 0; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; }
  .hero-buttons .btn-link { width: auto; }
  .trust-row { flex-direction: column; align-items: center; gap: .5rem; }
  .calc-actions .btn { width: 100%; }
  .review-filters .field { min-width: 0; flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .areas-list { grid-template-columns: 1fr 1fr; }
  .price-card h3 { min-height: 0; }
  .whatsapp-float { right: 14px; bottom: 14px; }
  .back-to-top { left: 14px; bottom: 14px; }
  .site-footer { padding-bottom: 6rem; }
}

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .6rem; }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 .7rem; }
.legal p, .legal li { color: var(--gray-dark); margin-bottom: .7rem; }
.legal ul { padding-left: 1.3rem; }
.legal .back { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 2rem; font-weight: 600; text-decoration: none; }
.placeholder { background: var(--gray-soft); border: 1px dashed var(--gray-dark); padding: 0 .35rem; border-radius: 4px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; }
.legal-warning { border: 2px solid var(--black); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 1.5rem 0; background: var(--off-white); }
.simple-header .header-inner { height: 64px; }

/* WordPress additions */
.entry-content h2 { font-size: 1.3rem; margin: 2rem 0 .7rem; }
.entry-content ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.entry-content a { font-weight: 600; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.wp-block-group.legal-warning, .legal-warning { border: 2px solid var(--black); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 1.5rem 0; background: var(--off-white); }
.bc-booking-status { margin-top: 1rem; }
