/* Simple Rentals. Colours and fonts arrive as variables from the Customizer
 * (functions.php sr_css_vars); the layout variants hang off body classes:
 * .sr-header-{centered|split|band}, .sr-tiles-{overlay|caption|rounded},
 * .sr-align-{center|left}. */

:root { --sr-ink: #1d2329; --sr-sand: #f3f0e8; --sr-line: #e4dfd4; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--sr-text, #5f5f5f);
  font-family: var(--sr-body); font-size: 17px; line-height: 1.75;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--sr-head); color: var(--sr-ink); line-height: 1.18; font-weight: 500; margin: 0 0 .6em; letter-spacing: -.005em; }
.sr-wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.sr-skip { position: absolute; left: -9999px; }
.sr-skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }
.sr-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- header ---------- */
.sr-header { background: #fff; position: relative; z-index: 20; }
.sr-header-main { display: flex; align-items: center; gap: 18px; padding-block: 16px; }
.sr-brand img, .sr-brand .custom-logo { display: block; max-height: 72px; width: auto; max-width: min(330px, 70vw); }
.sr-wordmark { font-family: var(--sr-head); font-size: 26px; text-decoration: none; color: var(--sr-ink); letter-spacing: .04em; text-transform: uppercase; }
.sr-phone { text-decoration: none; white-space: nowrap; }
.sr-header-phone .sr-phone { font-family: var(--sr-body); font-weight: 500; font-size: 17px; letter-spacing: .08em; color: var(--sr-ink); }
.sr-pill { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--sr-accent); color: var(--sr-on-accent) !important; font-size: 16px !important; }

.sr-menu, .sr-menu ul { list-style: none; margin: 0; padding: 0; }
.sr-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 30px; }
.sr-menu > li { position: relative; }
.sr-menu a { display: block; padding: 10px 0; text-decoration: none; font-size: 14.5px; letter-spacing: .04em; color: var(--sr-text); }
.sr-menu a:hover, .sr-menu .current-menu-item > a, .sr-menu .current_page_item > a { color: var(--sr-ink); }
.sr-menu .menu-item-has-children > a::after, .sr-menu .page_item_has_children > a::after {
  content: ""; display: inline-block; margin-left: 7px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px);
}
.sr-menu ul { position: absolute; top: 100%; left: -16px; min-width: 210px; background: #fff; padding: 8px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.12); border-radius: 6px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s; }
.sr-menu ul a { padding: 8px 16px; }
.sr-menu li:hover > ul, .sr-menu li:focus-within > ul, .sr-menu li.sr-open > ul { opacity: 1; visibility: visible; transform: none; }

/* centered: logo, phone, a hairline, the menu */
.sr-header-centered .sr-header-main { flex-direction: column; gap: 4px; padding-block: 18px 10px; }
.sr-header-centered .sr-nav-row { border-top: 1px solid #d9d9d9; }
.sr-header-centered .sr-nav-row .sr-wrap { padding-block: 4px; }
/* The menu row may run wider than the page (Tomer, 2026-12-01: "make the menu longer so all the menu items will fit"):
 * 13–14 rental pages fit on one line from about 1100px, spacing and size easing down on smaller screens. */
@media (min-width: 901px) {
  .sr-nav-row .sr-wrap { max-width: 1500px; }
  .sr-nav-row .sr-menu { gap: 4px clamp(14px, 1.7vw, 30px); }
  .sr-nav-row .sr-menu > li > a { font-size: clamp(13px, 1.05vw, 14.5px); letter-spacing: .03em; white-space: nowrap; }
}

/* split: logo left, menu and phone right */
.sr-header-split .sr-header-main { justify-content: space-between; }
.sr-header-split .sr-nav { margin-left: auto; }
.sr-header-split .sr-menu { justify-content: flex-end; gap: 4px 24px; }
.sr-header-split .sr-header { border-bottom: 1px solid #e6e6e6; }
.sr-header-split .sr-nav-mobile { display: none; }

/* band: a phone bar, the logo, the menu in a colour band */
.sr-topbar { background: var(--sr-ink); color: #fff; font-size: 14px; }
.sr-topbar .sr-wrap { display: flex; justify-content: flex-end; gap: 8px; padding-block: 6px; }
.sr-topbar .sr-phone { color: #fff; font-weight: 600; }
.sr-header-band .sr-header-main { justify-content: center; }
.sr-header-band .sr-nav-row { background: var(--sr-accent); }
.sr-header-band .sr-nav-row .sr-menu > li > a { color: var(--sr-on-accent); }

.sr-menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.sr-burger, .sr-burger::before, .sr-burger::after { display: block; width: 22px; height: 2px; background: var(--sr-ink); position: relative; margin: 0 auto; transition: transform .2s, opacity .2s; }
.sr-burger::before, .sr-burger::after { content: ""; position: absolute; left: 0; }
.sr-burger::before { top: -7px; } .sr-burger::after { top: 7px; }
.sr-menu-open .sr-burger { background: transparent; }
.sr-menu-open .sr-burger::before { transform: translateY(7px) rotate(45deg); }
.sr-menu-open .sr-burger::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .sr-menu-toggle { display: block; }
  .sr-header-centered .sr-header-main { flex-direction: row; flex-wrap: wrap; justify-content: center; position: relative; }
  .sr-header-centered .sr-menu-toggle { position: absolute; right: 12px; top: 18px; }
  .sr-header-centered .sr-header-phone { flex-basis: 100%; text-align: center; }
  .sr-header-split .sr-header-main > .sr-nav, .sr-header-split .sr-header-phone { display: none; }
  .sr-nav-row, .sr-header-split .sr-nav-mobile { display: none; }
  .sr-menu-open .sr-nav-row, .sr-menu-open.sr-header-split .sr-nav-mobile { display: block; }
  .sr-header-split .sr-nav-mobile { border-top: 1px solid #e6e6e6; }
  .sr-menu { flex-direction: column; gap: 0; text-align: left; padding-block: 6px 14px; }
  .sr-menu a { padding: 12px 0; border-bottom: 1px solid #eee; font-size: 16px; }
  .sr-menu ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding: 0 0 0 16px; }
  .sr-menu li.sr-open > ul { display: block; }
  .sr-header-band .sr-nav-row .sr-menu a { border-bottom-color: rgba(255,255,255,.2); }
}

/* ---------- page ----------
 * One spacing scale for the whole page (1.1.0, Tomer: "proper spacing evenly
 * spread out, look professional"): every section is --sr-section apart, text
 * sits in one reading column, headings and the introduction are centred and
 * the running text is not — long centred paragraphs are hard to read. */
:root { --sr-section: clamp(56px, 7vw, 96px); --sr-read: 720px; --sr-gap: 24px; }
.sr-title { text-align: center; font-size: clamp(32px, 4.6vw, 54px); padding-top: clamp(36px, 5vw, 60px); margin-bottom: clamp(24px, 3vw, 36px); }
.sr-align-left .sr-title { text-align: left; }
.sr-content { padding-bottom: var(--sr-section); }
.sr-content:has(> .sr-contact:last-child) { padding-bottom: 0; }
/* Zero-specificity on purpose: the narrower reading column for text below must win over this. */
.sr-content > :where(:not(.sr-hero):not(.sr-band):not(.sr-quote)) { max-width: 1180px; margin-inline: auto; padding-inline: 20px; }

/* Headings in the heading face as written — no forced capitals, which a serif does not wear well. */
.sr-content :where(h2, h3) { color: var(--sr-ink); }
.sr-content > h2, .sr-content .sr-band > h2 { font-size: clamp(28px, 3.4vw, 42px); text-align: center; margin: var(--sr-section) auto 22px; max-width: 900px; }
.sr-content > h2::after, .sr-content .sr-band > h2::after { content: ""; display: block; width: 46px; height: 2px; margin: 16px auto 0; background: var(--sr-accent); opacity: .8; }
.sr-content > .sr-hero + h2, .sr-content > h2:first-child { margin-top: 0; }
.sr-align-left .sr-content > h2 { text-align: left; margin-inline: 0; }
.sr-align-left .sr-content > h2::after { margin-left: 0; }

.sr-content :where(p, ul, ol, blockquote):not(:where([data-rl-src] *, .rc-form *, .sr-hero *)) { max-width: var(--sr-read); margin: 0 auto 1.15em; text-align: left; }
.sr-content p.sr-lead { font-size: 1.15em; line-height: 1.7; text-align: center; color: #3c3c3c; margin-bottom: 0; }
.sr-align-left .sr-content :where(p, ul, ol):not(:where([data-rl-src] *, .rc-form *, .sr-hero *)), .sr-align-left .sr-content p.sr-lead { margin-inline: 0; text-align: left; }
.sr-content > :where(p, ul, ol) + h2 { margin-top: var(--sr-section); }
.sr-content [data-rl-src] { text-align: left; }
.sr-content :where(h1, h2, h3) a { text-decoration: none; color: inherit; }
.sr-content :where(h1, h2, h3) a:hover { text-decoration: underline; text-underline-offset: 4px; }
.sr-content figure { margin: 0 0 1em; }
.sr-content hr { border: 0; border-top: 1px solid var(--sr-line); margin: var(--sr-section) auto; max-width: 180px; }

/* hero: the picture, the name, two buttons */
.sr-hero { position: relative; display: grid; place-items: center; align-content: center; gap: 0; min-height: clamp(420px, 72vh, 720px);
  background: #333 center / cover no-repeat; color: #fff; text-align: center; padding: 80px 20px; margin-bottom: var(--sr-section); }
.sr-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.20), rgba(0,0,0,.45)); }
.sr-hero > * { position: relative; }
/* One line on any screen from a phone up (Tomer, 2026-12-01: "make this one line"); a longer site name wraps, balanced. */
.sr-hero h1 { color: #fff; font-size: clamp(26px, 5vw, 74px); font-weight: 500; line-height: 1.05; margin: 0; max-width: none; text-wrap: balance; text-shadow: 0 2px 22px rgba(0,0,0,.25); }
.sr-hero p { color: #fff; }
.sr-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 34px 0 0; }
.sr-hero .sr-button { background: #fff; color: var(--sr-ink); }
.sr-hero .sr-button-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.9); }
.sr-hero .sr-button-ghost:hover { background: rgba(255,255,255,.12); }

.sr-band { padding: var(--sr-section) 20px; background: center / cover no-repeat; margin-block: var(--sr-section); }
.sr-band > * { max-width: 1180px; margin-inline: auto; }
.sr-band > h2:first-child { margin-top: 0; }

/* the contact form: a light band, the form as a card */
.sr-contact { background: var(--sr-sand); margin-bottom: 0; }
.sr-contact .rc-form { max-width: 680px; margin: 30px auto 0; padding: clamp(22px, 4vw, 38px); background: #fff; border-radius: 12px; box-shadow: 0 14px 44px rgba(0,0,0,.07); }

.sr-phone-line { font-family: var(--sr-head); font-size: 22px; letter-spacing: .03em; margin: .2em auto 1em; text-align: center; }
.sr-phone-line a { text-decoration: none; }
.sr-button, .sr-content .wp-block-button__link { display: inline-block; padding: 13px 28px; background: var(--sr-accent); color: var(--sr-on-accent);
  text-decoration: none; border-radius: 4px; letter-spacing: .12em; font-size: 13.5px; font-weight: 500; text-transform: uppercase; transition: background .2s, filter .2s, transform .2s; }
.sr-button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.sr-price { font-weight: 600; color: var(--sr-ink); }

.sr-cols { display: grid; gap: 40px; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); margin-block: var(--sr-section); align-items: start; }
.sr-col > :first-child { margin-top: 0; }
@media (max-width: 900px) { .sr-cols { grid-template-columns: repeat(min(var(--n, 2), 2), minmax(0, 1fr)); } }
@media (max-width: 560px) { .sr-cols { grid-template-columns: 1fr; } }

/* picture tiles: one even grid; a short last row sits in the middle.
 * Three across, or four when that fills the rows better (4, 7, 8 tiles). */
.sr-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sr-gap); margin-block: var(--sr-section); }
.sr-tile { flex: 0 0 calc((100% - 2 * var(--sr-gap)) / 3); position: relative; display: block; text-decoration: none; color: var(--sr-ink); overflow: hidden; border-radius: 2px; }
/* Four across only on a wide screen: this selector outranks the narrow-screen rules, so it must not reach them. */
@media (min-width: 901px) {
  .sr-tiles:has(> .sr-tile:nth-child(4):last-child) > .sr-tile,
  .sr-tiles:has(> .sr-tile:nth-child(7):last-child) > .sr-tile,
  .sr-tiles:has(> .sr-tile:nth-child(8):last-child) > .sr-tile { flex-basis: calc((100% - 3 * var(--sr-gap)) / 4); }
}
@media (max-width: 900px) { .sr-tiles > .sr-tile { flex-basis: calc((100% - var(--sr-gap)) / 2); } }
@media (max-width: 520px) { .sr-tiles > .sr-tile { flex-basis: 100%; } }
.sr-tile-img { display: block; background: #eee center / cover no-repeat; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.sr-tile:hover .sr-tile-img, .sr-tile:focus-visible .sr-tile-img { transform: scale(1.05); }
/* Small labels in the text face, spaced capitals: they read as labels, not as headings. */
.sr-tile-label { font-family: var(--sr-body); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
/* overlay: tall picture, a soft shade at the foot, an outlined label on it */
.sr-tiles-overlay .sr-tile-img { aspect-ratio: 4 / 5; }
.sr-tiles-overlay .sr-tile::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.42)); pointer-events: none; }
.sr-tiles-overlay .sr-tile-label { position: absolute; z-index: 1; left: 50%; bottom: 26px; transform: translateX(-50%); white-space: nowrap;
  color: #fff; border: 1px solid rgba(255,255,255,.9); padding: 9px 20px; font-size: 14px; background: rgba(0,0,0,.15); transition: background .25s, color .25s; }
.sr-tiles-overlay .sr-tile:hover .sr-tile-label { background: #fff; color: var(--sr-ink); }
/* caption: picture, the label underneath */
.sr-tiles-caption .sr-tile-img { aspect-ratio: 4 / 3; }
.sr-tiles-caption .sr-tile-label { display: block; padding: 14px 0 4px; font-size: 16px; text-align: center; }
/* rounded: soft card, accent label */
.sr-tiles-rounded .sr-tile { border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.09); background: #fff; }
.sr-tiles-rounded .sr-tile-img { aspect-ratio: 1 / 1; }
.sr-tiles-rounded .sr-tile-label { display: block; padding: 15px; font-size: 15px; text-align: center; background: var(--sr-accent); color: var(--sr-on-accent); }

.sr-tile-text { display: block; font-size: 15px; padding: 4px 0 0; }
.sr-tiles-overlay .sr-tile-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 74px; color: #fff; padding: 0 16px; text-align: center; }
.sr-gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-block: var(--sr-section); }
.sr-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- footer ----------
 * Three columns — who we are, every rental page, how to reach us — then the
 * small print. Light, because the logo is dark letters on nothing. */
.sr-footer { background: var(--sr-sand); padding: clamp(48px, 6vw, 80px) 0 26px; font-size: 15.5px; border-top: 1px solid var(--sr-line); }
.sr-footer-grid { display: grid; grid-template-columns: 1.3fr 1.4fr 1fr; gap: 40px 56px; align-items: start; }
@media (max-width: 900px) { .sr-footer-grid { grid-template-columns: 1fr 1fr; } .sr-footer-about { grid-column: 1 / -1; } }
@media (max-width: 560px) { .sr-footer-grid { grid-template-columns: 1fr; } }
.sr-footer p { margin: 0 0 10px; }
.sr-footer a { color: var(--sr-ink); text-decoration: none; }
.sr-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sr-footer-logo { margin-bottom: 16px; }
.sr-footer-logo img, .sr-footer-logo .custom-logo { max-height: 60px; width: auto; }
.sr-footer-address { color: var(--sr-text); }
.sr-footer-h { font-family: var(--sr-body); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sr-ink); margin: 6px 0 16px; }
.sr-footer-links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.sr-footer-links li { break-inside: avoid; }
.sr-footer-links a { display: inline-block; padding: 4px 0; color: var(--sr-text); }
.sr-footer-links ul { list-style: none; margin: 0; padding: 0; }
.sr-footer-phone { font-family: var(--sr-head); font-size: 24px; color: var(--sr-ink); letter-spacing: .01em; }
.sr-footer-hours { color: var(--sr-text); line-height: 1.6; }
.sr-footer .sr-button { margin-top: 6px; color: var(--sr-on-accent); }
.sr-footer .sr-button:hover { text-decoration: none; }
.sr-footer-widgets { margin-bottom: 40px; }
.sr-footer-note { margin-top: 28px; color: var(--sr-text); font-size: 14px; }
.sr-copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: clamp(36px, 5vw, 56px);
  padding-top: 18px; border-top: 1px solid var(--sr-line); font-size: 13.5px; color: var(--sr-text); }
.sr-copy a { color: var(--sr-text); }
.sr-summary { text-align: left; max-width: 780px; margin: 0 auto 28px; }
.sr-page { padding-bottom: 60px; }

/* ---------- 1.1.0 polish ---------- */
/* Keyboard focus is always visible. */
:where(a, button, input, textarea, select, summary):focus-visible { outline: 2px solid var(--sr-accent); outline-offset: 3px; border-radius: 2px; }
.sr-hero :where(a):focus-visible { outline-color: #fff; }

/* Header: a hairline under it, the current page marked in the accent. */
.sr-header { border-bottom: 1px solid var(--sr-line); }
.sr-header-centered .sr-nav-row { border-top-color: var(--sr-line); }
.sr-menu > li > a { position: relative; }
.sr-menu > li > a::before { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--sr-accent);
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease-out; }
.sr-menu > li > a:hover::before, .sr-menu > li.current-menu-item > a::before, .sr-menu > li.current_page_item > a::before { transform: scaleX(1); }
.sr-header-band .sr-menu > li > a::before { background: var(--sr-on-accent); }

/* The hero's one entrance: the name, then the buttons. */
@keyframes sr-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.sr-hero h1 { animation: sr-rise .8s cubic-bezier(.2,.7,.2,1) both; }
.sr-hero-actions { animation: sr-rise .8s .18s cubic-bezier(.2,.7,.2,1) both; }
@media (prefers-reduced-motion: reduce) {
  .sr-hero h1, .sr-hero-actions { animation: none; }
  .sr-tile-img, .sr-button, .sr-menu > li > a::before { transition: none; }
}

/* "Looking to get a quote?" — three numbered steps, quiet: numerals in the accent, hairlines between. */
.sr-quote { max-width: 1180px; margin: var(--sr-section) auto 0; padding: 0 20px var(--sr-section); text-align: center; }
.sr-quote > h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 0 auto 18px; }
.sr-quote > h2::after { content: ""; display: block; width: 46px; height: 2px; margin: 16px auto 0; background: var(--sr-accent); opacity: .8; }
.sr-steps { list-style: none; margin: clamp(32px, 4vw, 48px) auto 0; padding: 0; max-width: 1000px !important;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: left; }
.sr-steps li { padding: 4px 28px 0; border-left: 1px solid var(--sr-line); }
.sr-steps li:first-child { border-left: 0; padding-left: 0; }
.sr-step-n { display: block; font-family: var(--sr-head); font-size: 44px; line-height: 1; color: var(--sr-accent); margin-bottom: 14px; }
.sr-steps strong { display: block; font-family: var(--sr-head); font-weight: 500; font-size: 21px; color: var(--sr-ink); margin-bottom: 6px; }
.sr-steps li > span:last-child { display: block; color: var(--sr-text); line-height: 1.6; }
.sr-quote-actions { margin: clamp(32px, 4vw, 44px) 0 0 !important; text-align: center !important; max-width: none !important; }
@media (max-width: 760px) {
  .sr-steps { grid-template-columns: 1fr; gap: 26px; }
  .sr-steps li, .sr-steps li:first-child { border-left: 0; padding: 0 0 0 64px; position: relative; }
  .sr-step-n { position: absolute; left: 0; top: 0; font-size: 38px; }
}
.sr-quote + .sr-contact { margin-top: 0; }
/* The contact form's button, the same as every other button on the site. */
.sr-content .rc-send { padding: 13px 28px; border-radius: 4px; letter-spacing: .12em; font-size: 13.5px; font-weight: 500; text-transform: uppercase;
  background: var(--sr-accent); color: var(--sr-on-accent); transition: filter .2s, transform .2s; }
.sr-content .rc-send:hover { filter: brightness(1.08); transform: translateY(-1px); }
.sr-content .rc-form label { font-size: 14px; font-weight: 500; color: var(--sr-ink); }
@media (prefers-reduced-motion: reduce) { .sr-content .rc-send { transition: none; } }
/* On a phone the tiles go full width — so shorter, or seven of them are a very long scroll. */
@media (max-width: 520px) {
  .sr-tiles-overlay .sr-tile-img { aspect-ratio: 16 / 10; }
  .sr-tiles-rounded .sr-tile-img, .sr-tiles-caption .sr-tile-img { aspect-ratio: 16 / 10; }
  .sr-tiles { gap: 16px; }
}
