/* Robles Property Care — black, logo orange, white. Headings: Frank Ruhl Libre; text: Montserrat. */
:root {
  --black: #000000;
  --ink: #111111;
  --panel: #161616;
  --orange: #FF8403;          /* the logo's orange */
  --orange-text: #B35A00;     /* orange for small text on white (readable) */
  --white: #FFFFFF;
  --soft: #F5F5F5;
  --line: #E6E6E6;
  --muted: #4B4B4B;
  --muted-dark: #CFCFCF;
  --serif: "Frank Ruhl Libre", Georgia, "Times New Roman", serif;
  --sans: Montserrat, "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-text); }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); margin: 0; text-wrap: balance; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 10; font-weight: 700; }
.skip:focus { left: 12px; }

/* Header */
.site-header { background: var(--black); border-bottom: 1px solid #1F1F1F; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-top: 10px; padding-bottom: 10px; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 0 22px; flex: 1 1 320px; justify-content: center; }
.nav a { color: #E6E6E6; text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 12px 2px; }
.nav a:hover { color: var(--orange); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 26px; border-radius: 12px; font-weight: 800; font-size: 17px; text-decoration: none; text-align: center; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #FF9A33; color: var(--ink); }
.btn-outline { border: 2px solid var(--orange); color: var(--white); font-weight: 700; }
.btn-outline:hover { background: #1A1A1A; color: var(--white); }
.btn svg { flex-shrink: 0; }

/* Hero */
.hero { background: var(--black); color: var(--white); }
.hero .wrap { padding-top: 56px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 40px; }
.hero-top { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-end; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2.4px; color: var(--orange); text-transform: uppercase; }
.hero h1 { font-weight: 900; font-size: clamp(38px, 5.6vw, 66px); line-height: 1.03; letter-spacing: -0.5px; }
.lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted-dark); max-width: 36em; }
.slogan { display: flex; align-items: center; gap: 14px; margin: 4px 0 0; font-size: 15px; font-weight: 700; letter-spacing: 1.8px; line-height: 1.5; }
.slogan::before { content: ""; width: 32px; height: 2px; background: var(--orange); flex-shrink: 0; align-self: center; }
.slogan b { color: var(--orange); font-weight: 700; }
.hero-actions { flex: 0 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }

.tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.tile { text-decoration: none; color: var(--white); border-radius: 18px; overflow: hidden; background: var(--panel); display: flex; flex-direction: column; }
.tile:hover { color: var(--white); }
.tile img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #2A2A2A; transition: transform .3s ease; }
.tile:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .tile img { transition: none; } .tile:hover img { transform: none; } }
.tile-text { padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tile-text b { font-size: 18px; }
.tile-text span { font-size: 14px; color: var(--orange); font-weight: 700; white-space: nowrap; }

.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; font-size: 14px; color: var(--muted-dark); margin: 0; padding: 0; list-style: none; }
.trust li { display: flex; align-items: center; gap: 7px; }
.rating { display: flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; font-weight: 700; }
.rating:hover { color: var(--orange); }
.stars { display: flex; gap: 1px; }

/* Sections */
.section { padding-top: 80px; padding-bottom: 80px; }
.section-soft { background: var(--soft); }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 46em; margin-bottom: 34px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--orange-text); text-transform: uppercase; }
.h2 { font-weight: 900; font-size: clamp(30px, 4vw, 46px); line-height: 1.06; }
.section-head p { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--muted); }

.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.card { border-radius: 20px; border: 1.5px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.card-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.card h3 { font-weight: 800; font-size: 27px; }
.card .sub { font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price small { font-size: 14px; color: var(--muted); }
.price strong { font-family: var(--serif); font-weight: 900; font-size: 40px; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 15px; line-height: 1.45; }
.checks li { display: flex; gap: 9px; }
.checks svg { flex-shrink: 0; margin-top: 1px; }

.extras { margin-top: 20px; border-radius: 20px; background: var(--soft); padding: 28px; }
.extras h3 { font-weight: 800; font-size: 24px; margin-bottom: 18px; }
.extras-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.extras-col { display: flex; flex-direction: column; gap: 10px; }
.extras-col .kicker { font-size: 12.5px; letter-spacing: 1.6px; }
.extra { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; padding-bottom: 9px; border-bottom: 1px solid #E0E0E0; }
.extra b { white-space: nowrap; }

.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 3px solid var(--orange); }
.steps .num { font-weight: 800; font-size: 13px; letter-spacing: 1.6px; color: var(--orange-text); }
.steps b { font-size: 18px; }
.steps span:last-child { font-size: 15px; line-height: 1.55; color: var(--muted); }

.area { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.area-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.area-copy p { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 10px 16px; border-radius: 10px; background: var(--soft); font-weight: 700; font-size: 15px; }
.area-photo { flex: 1 1 380px; min-width: 0; position: relative; border-radius: 22px; overflow: hidden; background: var(--ink); }
.area-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.area-tag { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; background: var(--black); color: var(--white); font-size: 13.5px; font-weight: 700; }

.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px; margin-bottom: 26px; }
.reviews-head .rating-line { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; margin-top: 6px; }
.reviews-head a { font-weight: 700; font-size: 15px; }
.reviews { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.review { margin: 0; padding: 24px; border-radius: 18px; background: var(--white); display: flex; flex-direction: column; gap: 14px; }
.review p { margin: 0; font-size: 16px; line-height: 1.6; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
.quotes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.quote { min-width: 0; margin: 0; padding: 16px 18px; border-radius: 14px; background: var(--white); display: flex; flex-direction: column; gap: 6px; }
.quote p { margin: 0; font-size: 15px; line-height: 1.5; }
.quote footer { font-size: 13px; color: var(--muted); font-weight: 600; }

.motto { margin: 0; font-size: 16.5px; color: var(--muted); font-style: italic; }
.why { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.why div { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 16px; border: 1.5px solid var(--line); }
.why b { font-size: 17px; }
.why span { font-size: 15px; line-height: 1.55; color: var(--muted); }

.cta { background: var(--black); color: var(--white); }
.cta .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 36px; align-items: center; justify-content: space-between; }
.cta-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cta h2 { font-weight: 900; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.04; }
.cta p { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--muted-dark); }
.cta-info { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 15px; color: #E6E6E6; }
.cta-info b { color: var(--orange); }
.cta-info a { color: #E6E6E6; }
.cta-actions { flex: 0 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }

.site-footer { background: var(--black); color: #B5B5B5; border-top: 1px solid #1F1F1F; }
.site-footer .wrap { padding-top: 40px; padding-bottom: 44px; display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: flex-start; }
.site-footer img { width: 200px; height: auto; flex-shrink: 0; }
.footer-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.footer-text p { margin: 0; font-size: 13px; line-height: 1.65; max-width: 62em; }
.footer-text .area-line { font-size: 14.5px; color: #E6E6E6; }

@media (max-width: 640px) {
  .site-header .wrap { justify-content: center; }
  .brand img { height: 50px !important; }
  .nav { gap: 0 14px; flex-basis: 100%; }
  .nav a { font-size: 13.5px; padding: 10px 0; }
  .slogan { font-size: 13.5px; letter-spacing: 1.4px; }
  .hero .wrap { padding-top: 36px; padding-bottom: 44px; gap: 30px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .card, .extras { padding: 22px; }
  .site-footer .wrap { flex-direction: column; align-items: center; text-align: center; }
}

/* Before & after (frames from the owner's own job videos) */
.ba-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.ba-card { margin: 0; border-radius: 20px; overflow: hidden; background: var(--white); display: flex; flex-direction: column; }
.ba-pair, .ba-single { position: relative; aspect-ratio: 8 / 5; background: var(--ink); }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.ba-half { position: relative; min-width: 0; overflow: hidden; }
.ba-half img, .ba-single img { width: 100%; height: 100%; object-fit: cover; }
.ba-tag { position: absolute; left: 10px; top: 10px; padding: 4px 9px; border-radius: 7px; background: var(--black); color: var(--white); font-size: 12px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; }
.ba-tag.ba-after { background: var(--orange); color: var(--ink); }
.ba-tag.ba-right { left: auto; right: 10px; }
.ba-card figcaption { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.5; }
.ba-card figcaption .kicker { font-size: 12.5px; letter-spacing: 1.6px; }
.ba-watch { align-self: flex-start; margin-top: 10px; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 0; background: var(--ink); color: var(--white); font: 700 14px var(--sans); cursor: pointer; }
.ba-watch svg { color: var(--orange); }
.ba-watch:hover { background: #2A2A2A; }
.ba-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.ba-player { padding: 0; border: 0; background: transparent; max-width: min(92vw, 520px); width: 100%; }
.ba-player::backdrop { background: rgba(0, 0, 0, 0.82); }
.ba-player-box { background: var(--black); border-radius: 16px; overflow: hidden; }
.ba-player-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 16px; color: var(--white); font-weight: 700; font-size: 14.5px; }
.ba-close { width: 44px; height: 44px; border: 0; border-radius: 10px; background: #1F1F1F; color: var(--white); font-size: 18px; cursor: pointer; }
.ba-player video { display: block; width: 100%; max-height: 80vh; background: var(--black); }

/* ── Layout by screen size: every row is full, never "2 + 1" ──
   phone (<600): one column · unfolded foldable / tablet (600–1023):
   3 photo tiles, service cards as wide rows, 2-up steps/reasons/quotes ·
   laptop & desktop (1024+): 3 / 3 / 4 across. */
@media (min-width: 600px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .steps, .why, .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extras-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  /* photo tiles: name over price so three fit side by side */
  .tile-text { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; }
  .tile-text b { font-size: 16px; }
  /* service cards: one per row, details beside the price */
  .card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: 32px; row-gap: 14px; align-items: start; }
  .card > .card-icon, .card > div:nth-child(2), .card > .price { grid-column: 1; }
  .card > .checks { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .extra { font-size: 14px; flex-direction: column; gap: 2px; }
  /* hero buttons side by side under the text */
  .hero-actions { flex: 1 1 100%; flex-direction: row; }
  .hero-actions .btn { flex: 1 1 0; }
  /* service area: text over a wide photo */
  .area-copy, .area-photo { flex-basis: 100%; }
  .area-photo img { aspect-ratio: 16 / 9; }
  /* call-to-action buttons side by side */
  .cta-actions { flex: 1 1 100%; flex-direction: row; }
  .cta-actions .btn { flex: 1 1 0; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .ba-grid { max-width: 720px; margin: 0 auto; }
}
@media (min-width: 1024px) {
  .ba-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards, .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps, .why, .quotes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* FAQ: tap a question to open it */
.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 20px; align-items: start; }
.faq details { border-radius: 14px; background: var(--soft); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 20px; font-weight: 700; font-size: 16px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; color: var(--orange); font-size: 24px; font-weight: 600; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 14px; }
.faq p { margin: 0; padding: 0 20px 18px; font-size: 15px; line-height: 1.6; color: var(--muted); }
@media (min-width: 1024px) { .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Phones and tablets: Text / Quote bar pinned to the bottom */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; gap: 10px; padding: 10px max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); background: var(--black); box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.18); transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
.mbar.show { transform: none; visibility: visible; transition: transform .25s ease; }
.mbar a { flex: 1 1 0; min-height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 7px; font-weight: 800; font-size: 15.5px; text-decoration: none; }
.mbar-text { border: 2px solid var(--orange); color: var(--white); }
.mbar-text:hover { color: var(--white); }
.mbar-quote { flex-grow: 1.3 !important; background: var(--orange); color: var(--ink); }
.mbar-quote:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .mbar, .mbar.show { transition: none; } }
@media (max-width: 1023px) { .site-footer .wrap { padding-bottom: calc(44px + 74px + env(safe-area-inset-bottom)); } }
@media (min-width: 1024px) { .mbar { display: none; } }

/* Promo card at the top of Services (shared as /special) */
.special { scroll-margin-top: 16px; margin-bottom: 24px; background: var(--black); color: var(--white); border: 2px solid var(--orange); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.special-badge { align-self: flex-start; background: var(--orange); color: var(--ink); font-weight: 800; font-size: 12.5px; letter-spacing: 1.4px; text-transform: uppercase; padding: 6px 11px; border-radius: 8px; }
.special h3 { font-weight: 900; font-size: clamp(27px, 3.2vw, 34px); line-height: 1.08; }
.special p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--muted-dark); max-width: 36em; }
.special-tiers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 4px; }
.special-tiers div { background: var(--panel); border-radius: 14px; padding: 14px 18px; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; }
.special-tiers span { font-weight: 700; font-size: 15px; color: #E6E6E6; }
.special-tiers strong { grid-row: span 2; font-family: var(--serif); font-weight: 900; font-size: 34px; color: var(--orange); line-height: 1; }
.special-tiers em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--orange); }
.special-foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.special-foot small { flex: 1 1 320px; font-size: 13px; line-height: 1.55; color: #A8A8A8; }
.special-actions { flex: 0 1 auto; display: flex; flex-wrap: wrap; gap: 12px; }
.special-actions .btn { min-height: 52px; font-size: 15.5px; padding: 0 22px; }
@media (max-width: 599px) {
  .special { padding: 22px 18px; }
  .special-actions { flex-basis: 100%; flex-direction: column-reverse; }
}
@media (min-width: 600px) {
  .special-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .special-tiers div { grid-template-columns: 1fr; row-gap: 4px; padding: 18px 20px; }
  .special-tiers strong { grid-row: auto; font-size: 40px; }
  .special-tiers em { order: 3; }
}
