/*
  VS Deliveries Ltd — approximated stylesheet.

  The original site was WordPress + Beaver Builder. Wayback archived the HTML but none of its CSS,
  so this file restyles the original markup (same classes) from the clues left in the pages:
    - brand red #de2b26 (inline in the copy), dark #1e1e1e and light grey #f6f6f6 (row separator colour)
    - Google Fonts the site loaded: Open Sans 300/400/700, Roboto Condensed 400/700, Roboto 300
    - each row's Beaver Builder background type (photo / colour / none) and column layout
  Everything else here (sizes, spacing, which rows are red or grey) is an approximation. See CHANGELOG.md.
*/

:root {
  --red: #de2b26;
  --red-dark: #b81f1b;
  --dark: #1e1e1e;
  --light: #f6f6f6;
  --text: #444;
  --muted: #777;
  --heading: "Roboto Condensed", Arial, sans-serif;
  --body: "Open Sans", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 400 15px/1.7 var(--body); }
img { max-width: 100%; height: auto; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.3em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-family: var(--heading); font-weight: 700; line-height: 1.2; color: var(--dark); }
h1 { font-size: 46px; }
h2 { font-size: 32px; }
h3 { font-size: 26px; }
h4 { font-size: 24px; }
h5 { font-size: 30px; }
h6 { font-size: 20px; }
.fl-heading a { color: inherit; }
.fl-screen-reader-text { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fl-screen-reader-text:focus { left: 10px; top: 10px; width: auto; height: auto; padding: 8px 12px; background: #fff; z-index: 1000; }
.fl-clear, .clearfix::after, .pp-clearfix::after { clear: both; content: ""; display: table; }
.fl-rich-text > :last-child, .fl-icon-text > :last-child { margin-bottom: 0; }
.fl-page, .fl-page-content, .fl-content-full, .fl-content-full > .row, .fl-content, .fl-post, .fl-post-content { margin: 0; padding: 0; max-width: none; }

/* ---------- Beaver Builder grid ---------- */
.fl-row { position: relative; }
.fl-row-content-wrap { position: relative; padding: 70px 0; }
.fl-row-fixed-width { max-width: 1140px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.fl-row-content.fl-row-full-width { max-width: none; padding: 0; }
.fl-row-content.fl-row-full-width > .fl-col-group { margin: 0; }
.fl-row-content.fl-row-full-width > .fl-col-group > .fl-col { padding: 0; }
.fl-col-group { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.fl-col-group-nested { margin-top: 10px; }
.fl-col-group-align-center { align-items: center; }
.fl-col-group-align-bottom { align-items: flex-end; }
.fl-col-group + .fl-col-group { margin-top: 30px; }
.fl-col { flex: 1 1 0; min-width: 0; padding: 0 15px; }
.fl-col-small { max-width: 33.333%; }
/* Nested button pairs ("Contact our team" / "services we provide") sit side by side at their natural width. */
.fl-col-group-nested .fl-col:has(.fl-module-button) { flex: 0 0 auto; max-width: none; }
.fl-module + .fl-module { margin-top: 18px; }
.fl-module-content { position: relative; }

/* Responsive visibility, matching the theme's breakpoints (992 / 768). */
@media (min-width: 769px) { .fl-visible-mobile:not(.fl-visible-medium):not(.fl-visible-desktop) { display: none !important; } }
@media (max-width: 991px) { .fl-visible-large:not(.fl-visible-medium):not(.fl-visible-mobile) { display: none !important; } }
@media (max-width: 768px) {
  .fl-visible-desktop:not(.fl-visible-mobile) { display: none !important; }
  .fl-row-content-wrap { padding: 50px 0; }
  .fl-col { flex-basis: 100%; max-width: 100%; }
  .fl-col + .fl-col { margin-top: 30px; }
  .fl-col-group-nested .fl-col:has(.fl-module-button) { flex: 0 1 auto; }
  .fl-col-group-nested .fl-col:has(.fl-module-button) + .fl-col { margin-top: 0; }
  .fl-col-group-nested { row-gap: 12px; }
  h1 { font-size: 34px; } h2 { font-size: 26px; } h3 { font-size: 23px; } h4 { font-size: 22px; } h5 { font-size: 26px; }
}

/* ---------- Row backgrounds (photos lost: solid colours instead) ---------- */
.fl-row-bg-color > .fl-row-content-wrap { background: var(--light); }
.fl-row-bg-photo > .fl-row-content-wrap,
.fl-row-bg-gradient > .fl-row-content-wrap { background: var(--dark); }
.fl-row-bg-photo > .fl-row-content-wrap { background: linear-gradient(135deg, #2a2a2a 0%, var(--dark) 60%); padding: 110px 0; }
.fl-row-bg-photo + .fl-row-bg-color > .fl-row-content-wrap { background: var(--red); }
.fl-row-bg-photo, .fl-row-bg-photo h1, .fl-row-bg-photo h2, .fl-row-bg-photo h3, .fl-row-bg-photo h4, .fl-row-bg-photo h5, .fl-row-bg-photo h6,
.fl-row-bg-photo + .fl-row-bg-color, .fl-row-bg-photo + .fl-row-bg-color :is(h1, h2, h3, h4, h5, h6, a:not(.fl-button)) { color: #fff; }
.fl-row-bg-photo h2 { font: 300 24px/1.4 Roboto, Arial, sans-serif; text-transform: none; }
.fl-row-bg-photo + .fl-row-bg-color .fl-icon i { color: #fff; }
.fl-row-bg-photo + .fl-row-bg-color a.fl-button { background: #fff; color: var(--red); }
.fl-row-bg-photo + .fl-row-bg-color a.fl-button:hover { background: var(--dark); color: #fff; }

/* Tilted separator at the bottom of a row (PowerPack), drawn in the next row's grey. */
.pp-row-separator { position: absolute; left: 0; right: 0; bottom: 0; line-height: 0; z-index: 0; }
.pp-row-separator svg { display: block; width: 100%; height: 90px; }

/* ---------- Header ---------- */
header.fl-builder-content .fl-row-content-wrap { padding: 14px 0; }
header .fl-row-bg-gradient:first-child > .fl-row-content-wrap,
header .fl-visible-desktop.fl-visible-large:not(.fl-visible-medium) > .fl-row-content-wrap { background: var(--dark); padding: 10px 0; }
header .fl-visible-medium > .fl-row-content-wrap,
header .fl-visible-mobile > .fl-row-content-wrap { background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }
header .fl-col-small { flex: 0 0 auto; max-width: none; }
header .fl-module-heading { display: none; }
header .fl-col-group-align-bottom { justify-content: flex-end; align-items: center; gap: 30px; }
header .fl-col-group-align-bottom .fl-col { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
header .fl-col-group-align-bottom .fl-module + .fl-module { margin-top: 0; }
header .fl-col-group-align-bottom .fl-icon i { font-size: 22px; }
header .fl-col-group-align-bottom .fl-icon-text p { color: #bbb; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
header .fl-col-group-align-bottom .fl-icon-wrap { gap: 8px; }
header .fl-col-group-align-bottom .fl-rich-text a { color: #fff; font-weight: 700; }

.vs-logo { display: inline-block; font: 400 26px/1 var(--heading); letter-spacing: .02em; color: var(--dark); white-space: nowrap; }
.vs-logo strong { color: var(--red); font-weight: 700; }
.fl-photo-content a:has(.vs-logo) { text-decoration: none; }

/* Menu */
.fl-menu ul.menu { display: flex; justify-content: center; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.fl-menu ul.menu a { display: block; padding: 10px 18px; font: 700 16px var(--heading); text-transform: uppercase; letter-spacing: .03em; color: var(--dark); }
.fl-menu ul.menu a:hover, .fl-menu ul.menu .current-menu-item > a { color: var(--red); }
.fl-menu-mobile-toggle { display: none; margin-left: auto; padding: 8px; background: none; border: 0; cursor: pointer; }
.fl-menu-mobile-toggle svg { display: block; width: 26px; height: 26px; fill: var(--dark); }
@media (max-width: 768px) {
  header .fl-visible-mobile .fl-col-group { flex-wrap: nowrap; }
  header .fl-visible-mobile .fl-col { flex: 1 1 auto; margin-top: 0; }
  header .fl-visible-mobile .fl-col-small { flex: 0 0 auto; }
  .fl-menu { display: flex; flex-direction: column; }
  .fl-menu-mobile-toggle { display: block; }
  .fl-menu nav { display: none; }
  .fl-menu.vs-menu-open nav { display: block; }
  .fl-menu ul.menu { flex-direction: column; align-items: flex-end; padding-top: 8px; }
  .fl-menu ul.menu a { padding: 8px 4px; }
  .vs-logo { font-size: 22px; }
}

/* ---------- Buttons ---------- */
.fl-button-wrap { text-align: left; }
.fl-button-right { text-align: right; }
.fl-button-center { text-align: center; }
a.fl-button { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border: 0; border-radius: 3px; background: var(--red); color: #fff; font: 700 16px/1.2 var(--heading); text-transform: uppercase; letter-spacing: .04em; transition: background .2s, color .2s; cursor: pointer; }
a.fl-button:hover { background: var(--red-dark); color: #fff; }
.fl-button-icon-animation:hover .fl-button-icon-after { transform: translateX(4px); }
.fl-button-icon { transition: transform .2s; }
.fl-row-bg-photo a.fl-button + a.fl-button { margin-left: 10px; }
.fl-col-group-nested .fl-button-wrap { text-align: left; }
@media (max-width: 768px) { .fl-button-right, .fl-col-group-nested .fl-button-wrap { text-align: left; } }

/* ---------- Icons & lists ---------- */
.fl-icon-wrap { display: flex; align-items: center; gap: 14px; }
.fl-icon i { font-size: 34px; color: var(--red); }
.fl-icon-text h3 { margin: 0; font-size: 22px; }
.fl-icon-text a { color: inherit; }
.fl-module-icon.icon .fl-icon i { font-size: 54px; }
.pp-icon-list-items { list-style: none; margin: 0; padding: 0; }
.pp-icon-list-item { display: flex; align-items: baseline; gap: 10px; padding: 3px 0; }
.pp-list-item-icon { color: var(--red); font-size: 13px; }

/* ---------- Contact form (PowerPack markup) ---------- */
.form .fl-col-content, .fl-module-pp-contact-form .pp-contact-form { background: #fff; }
.pp-contact-form { padding: 30px; box-shadow: 0 10px 30px rgba(0, 0, 0, .08); border-top: 4px solid var(--red); }
.pp-input-group { margin-bottom: 14px; position: relative; }
.pp-input-group label { display: none; }
.pp-checkbox label { display: inline; font-size: 13px; color: var(--muted); }
.pp-contact-form input[type="text"], .pp-contact-form input[type="email"], .pp-contact-form input[type="tel"], .pp-contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 2px; background: #fafafa; font: 400 15px var(--body); color: var(--text);
}
.pp-contact-form textarea { min-height: 130px; resize: vertical; }
.pp-contact-form input:focus, .pp-contact-form textarea:focus { outline: 2px solid var(--red); outline-offset: -1px; background: #fff; }
.pp-contact-error { display: none; color: var(--red); font-size: 13px; margin: 4px 0 0; }
.pp-input-group .pp-contact-error { order: 2; }
.pp-error input, .pp-error textarea { border-color: var(--red); }
.pp-success-none, .pp-send-error { display: none; margin-top: 12px; font-weight: 700; }
.pp-success-none { color: #2e7d32; }
.pp-send-error { color: var(--red); }
.pp-submit-button.pp-disabled { opacity: .6; }

/* ---------- Reviews slider ---------- */
.pp-reviews-swiper { overflow: hidden; padding-bottom: 40px; }
.pp-review { height: 100%; padding: 28px; background: #fff; border-radius: 3px; box-shadow: 0 6px 20px rgba(0, 0, 0, .06); }
.pp-review-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pp-review-image { display: none; }
.pp-review-cite { font-style: normal; }
.pp-rating i { font-style: normal; color: #f5a623; font-size: 18px; letter-spacing: 2px; }
.pp-review-icon { display: none; }
.pp-review-text p { font-size: 14px; margin: 0; }
.swiper-slide { height: auto; }
.swiper-pagination-bullet-active { background: var(--red); }

/* ---------- Media the archive lost ---------- */
.fl-builder-content-primary .fl-module-photo, .fl-module-gallery, .fl-module-slideshow { display: none; }
/* ...and don't leave empty columns or rows where they were. */
.fl-builder-content-primary .fl-col:has(> .fl-col-content > .fl-module-photo:only-child),
.fl-builder-content-primary .fl-col:has(> .fl-col-content > .fl-module-slideshow:only-child),
.fl-builder-content-primary .fl-row:has(.fl-module-gallery):not(:has(.fl-module-heading, .fl-module-rich-text)) { display: none; }
.fl-map iframe, .fl-html iframe { display: block; width: 100%; height: 400px; border: 0; }

/* ---------- Footer ---------- */
footer .fl-row-bg-color > .fl-row-content-wrap { background: var(--dark); color: #bbb; }
footer .fl-builder-layer { display: none; }
footer h6, footer h6 a { color: #fff; font-size: 20px; text-transform: uppercase; }
footer a { color: #fff; }
footer a:hover { color: var(--red); }
footer .fl-icon i { font-size: 18px; }
footer .fl-icon-text p { margin: 0; }
footer .fl-col-group + .fl-col-group { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
footer .fl-col-group + .fl-col-group .fl-col-small { max-width: none; }
@media (max-width: 768px) { footer p[style*="right"] { text-align: left !important; } }
