/*
Theme Name: Siteward Cleaning
Description: Native WordPress block theme for commercial cleaning and workplace services.
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: siteward
Tags: full-site-editing, block-patterns, custom-colors, custom-menu
*/

:root {
  --sw-ink: var(--wp--preset--color--ink, #102c25);
  --sw-forest: var(--wp--preset--color--forest, #12372e);
  --sw-deep: var(--wp--preset--color--deep, #0c2922);
  --sw-pine: var(--wp--preset--color--pine, #215244);
  --sw-leaf: var(--wp--preset--color--leaf, #dff28b);
  --sw-pale: var(--wp--preset--color--pale, #edf3e8);
  --sw-paper: var(--wp--preset--color--paper, #f8f8f2);
  --sw-white: var(--wp--preset--color--white, #fff);
  --sw-body: var(--wp--preset--color--body, #3c5449);
  --sw-line: var(--wp--preset--color--line, #cbd8ca);
}

body { margin: 0; }
.wp-site-blocks > *, .sw-main, .sw-main > *, .sw-main > .wp-block-post-content > * {
  margin-block-start: 0;
}
.sw-shell {
  width: min(1200px, calc(100% - clamp(32px, 8vw, 128px)));
  margin-inline: auto;
}
.sw-header { background: var(--sw-paper); color: var(--sw-ink); }
.sw-header-inner, .sw-footer-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 36px;
}
.sw-header-inner > *, .sw-footer-inner > * { margin-block: 0; }
.sw-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.12rem;
  font-weight: 850;
  letter-spacing: .035em;
  line-height: 1.25;
  text-transform: uppercase;
}
.sw-brand::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: var(--sw-leaf);
  border: 2px solid var(--sw-ink);
  box-sizing: border-box;
  border-radius: 5px 10px 5px 10px;
}
.sw-brand a, .sw-nav a, .sw-footer a { color: inherit; text-decoration: none; }
.sw-nav a:hover, .sw-brand a:hover { text-decoration: underline; text-underline-offset: .28em; }
.sw-nav { font-size: .9rem; font-weight: 670; }
.sw-nav .wp-block-page-list { gap: clamp(10px, 2.25vw, 32px); }
.sw-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 28px; }
.sw-hero { background: var(--sw-forest); color: var(--sw-white); }
.sw-hero-grid { display: grid; grid-template-columns: 1.04fr 1fr; min-height: 570px; }
.sw-hero-grid > *, .sw-grid > *, .sw-case-grid > * { margin-block: 0; min-width: 0; }
.sw-hero-copy { align-self: center; padding: clamp(48px, 7vw, 108px) clamp(26px, 4vw, 70px) clamp(48px, 7vw, 108px) 0; }
.sw-hero h1, .sw-page-title h1 { font-size: clamp(2.6rem, 5.3vw, 5.1rem); letter-spacing: -.071em; line-height: .99; margin: 24px 0; }
.sw-hero-photo {
  background: linear-gradient(0deg, rgb(9 29 23 / 52%), transparent 38%), url("assets/office-cleaning.jpg") 62% center / cover no-repeat, var(--sw-pine);
  display: flex;
  align-items: flex-end;
  min-height: 310px;
  justify-content: flex-end;
}
.sw-photo-caption { margin: 0; padding: 18px 22px; color: #fff; font-size: .69rem; font-weight: 750; letter-spacing: .12em; }
.sw-kicker {
  margin: 0;
  color: var(--sw-pine);
  font-size: .71rem;
  font-weight: 790;
  letter-spacing: .13em;
  line-height: 1.5;
}
.sw-hero .sw-kicker, .sw-cta .sw-kicker { color: var(--sw-leaf); }
.sw-lede { max-width: 31rem; color: #edf3e8; font-size: clamp(1.03rem, 1.8vw, 1.18rem); }
.sw-hero .wp-block-buttons { margin-top: 30px; }
.sw-main .wp-block-button__link {
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--sw-leaf);
  color: var(--sw-deep);
  font-size: .9rem;
  font-weight: 760;
  padding: 11px 17px;
  text-decoration: none;
}
.sw-main .wp-block-button__link:hover { text-decoration: underline; text-underline-offset: .24em; }
.sw-main .is-style-outline > .wp-block-button__link { background: transparent; color: inherit; border: 1px solid currentColor; }
:where(.sw-main, .sw-header, .sw-footer) a:focus-visible, :where(.sw-main, .sw-header) button:focus-visible,
.sw-main :is(input, textarea, select):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.sw-proof { background: var(--sw-leaf); }
.sw-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.sw-proof-grid p {
  margin: 0;
  padding: 19px 12px;
  text-align: center;
  color: var(--sw-ink);
  font-size: .86rem;
  font-weight: 750;
}
.sw-proof-grid p + p { border-inline-start: 1px solid #a8ba6b; }
.sw-section { padding-block: clamp(46px, 6vw, 94px); }
.sw-section-intro { max-width: 46rem; margin-bottom: 32px; }
.sw-section h2 { font-size: clamp(2rem, 4.1vw, 3.75rem); line-height: 1.03; letter-spacing: -.055em; margin: 12px 0; overflow-wrap: anywhere; }
.sw-section p:not(.sw-kicker) { color: var(--sw-body); }
.sw-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.sw-card, .sw-area-card { padding: clamp(18px, 3vw, 30px); border: 1px solid var(--sw-line); background: var(--sw-white); border-radius: 5px; }
.sw-card h3, .sw-area-card h3 { font-size: clamp(1.25rem, 2vw, 1.62rem); letter-spacing: -.035em; margin: 14px 0 8px; }
.sw-card p:last-child { margin-bottom: 0; }
.sw-tint { background: var(--sw-pale); }
.sw-case-grid { display: grid; grid-template-columns: 1.45fr 1fr; align-items: stretch; gap: 24px; }
.sw-case-copy { align-self: center; max-width: 38rem; }
.sw-cta { background: var(--sw-deep); color: var(--sw-white); padding: clamp(25px, 6vw, 68px); border-radius: 5px; }
.sw-section .sw-cta p:not(.sw-kicker) { color: var(--sw-pale); }
.sw-last { padding-block: clamp(35px, 5vw, 74px); }
.sw-footer { background: var(--sw-deep); color: var(--sw-white); padding: 28px 0; }
.sw-footer .sw-brand::before { border-color: var(--sw-leaf); }
.sw-footer-note { color: var(--sw-pale); font-size: .85rem; margin: 8px 0 0; }
.sw-page-title, .sw-article { padding-block: 52px; }
.sw-article .wp-block-post-content, .sw-main > .is-layout-constrained { max-width: 760px; margin-inline: auto; }
.sw-main > .is-layout-constrained { padding-inline: 16px; }

.sw-main .wpcf7 { max-width: 720px; }
.sw-main .wpcf7 :is(input:not([type=submit]):not([type=checkbox]), select, textarea) {
  width: 100%;
  box-sizing: border-box;
  padding: .68rem .8rem;
  font: inherit;
  color: var(--sw-ink);
  border: 1px solid var(--sw-pine);
  border-radius: 4px;
  background: var(--sw-white);
}
.sw-main .wpcf7 label { font-weight: 650; }
.sw-main .wpcf7 input[type=submit] {
  padding: .7rem 1rem;
  font: inherit;
  font-weight: 760;
  color: var(--sw-deep);
  background: var(--sw-leaf);
  border: 1px solid var(--sw-pine);
  border-radius: 4px;
  cursor: pointer;
}
@media (max-width: 840px) {
  .sw-hero-grid { grid-template-columns: 1fr; }
  .sw-hero-copy { padding-right: 0; max-width: 42rem; }
  .sw-hero-photo { min-height: clamp(260px, 56vw, 430px); }
}
@media (max-width: 680px) {
  .sw-header-inner { min-height: 65px; }
  .sw-grid, .sw-case-grid { grid-template-columns: 1fr; }
  .sw-footer-inner { align-items: flex-start; flex-direction: column; }
  .sw-proof-grid p { padding: 12px 5px; font-size: .72rem; }
}
.sw-section h1 {
  font-size: clamp(2.6rem, 5.7vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.065em;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
@media (min-width: 681px) and (max-width: 980px) {
  .sw-nav .wp-block-page-list { flex-wrap: wrap; justify-content: flex-end; }
}
.sw-hero h1 { font-size: clamp(2.55rem, 5.2vw, 4.15rem); }
.sw-hero-photo { background-position: center, 86% center, center; }
@media (max-width: 680px) {
  .sw-hero-photo { background-position: center, 68% center, center; }
}
.wp-site-blocks { min-height: 100vh; display: flex; flex-direction: column; }
.sw-main { flex: 1; }
.sw-section .sw-card h2 {
  font-size: clamp(1.25rem, 2vw, 1.62rem);
  letter-spacing: -.035em;
  margin: 14px 0 8px;
}
