/* =========================================================================
   Cleancut Concrete — main stylesheet
   Single-file, mobile-first, no preprocessor.
   Note: critical above-the-fold rules are also inlined in index.html <head>.
   ========================================================================= */

/* ---------- 1. Tokens ---------------------------------------------------- */

:root {
  --color-bg: #f7f5f2;
  --color-bg-alt: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #5a5a5a;
  --color-border: #e5e1da;
  --color-concrete: #8a8a8a;
  --color-accent: #f4c430;
  --color-accent-hover: #e0b020;
  --color-dark: #1a1a1a;
  --color-dark-soft: #2c2c2c;
  --color-success: #16a34a;
  --color-error: #dc2626;

  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Bebas Neue', 'Inter', Impact, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container-max: 1200px;
  --gutter: clamp(1rem, 5vw, 2rem);
  --section-y: clamp(4rem, 10vw, 6rem);

  --radius-card: 6px;
  --radius-btn: 4px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-elev: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-header: 0 1px 3px rgba(0,0,0,0.08);

  --header-h: 64px;

  --t-fast: 150ms ease-out;
  --t-base: 200ms ease-out;
}

/* ---------- 2. Reset / base --------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-accent-hover); }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  font-size: inherit;
}

ul, ol { padding: 0; margin: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-text);
}

p { margin: 0 0 1rem 0; }
p:last-child { margin-bottom: 0; }

hr { border: 0; border-top: 1px solid var(--color-border); margin: 2rem 0; }

::selection { background: var(--color-accent); color: var(--color-dark); }

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* ---------- 3. Skip link ------------------------------------------------ */

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 1000;
  background: var(--color-dark);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  border-radius: 0 0 var(--radius-btn) 0;
}
.skip-link:focus {
  top: 0;
  color: #fff;
}

/* ---------- 4. Layout primitives ---------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}
.section--alt { background: var(--color-bg-alt); }
.section--dark {
  background: var(--color-dark);
  color: #f0f0f0;
}
.section--dark h2,
.section--dark h3 { color: #fff; }

.section__head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section__head h2 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.section__head p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 56ch;
  margin-inline: auto;
}

.grid {
  display: grid;
  gap: clamp(1rem, 3vw, 1.5rem);
}
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.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;
}

/* ---------- 5. Buttons -------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  min-height: 48px;
  white-space: nowrap;
}
.btn:hover { color: var(--color-dark); }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--color-accent);
  color: var(--color-dark);
  border-color: var(--color-accent);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-dark);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn--outline:hover {
  background: #fff;
  color: var(--color-dark);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}
.btn--ghost-dark:hover {
  background: var(--color-dark);
  color: #fff;
}

.btn--lg {
  padding: 1.05rem 1.75rem;
  font-size: 1.0625rem;
  min-height: 54px;
}
.btn--block { width: 100%; }

.btn__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  stroke: currentColor;
  fill: none;
}

/* ---------- 6. Forms ---------------------------------------------------- */

.form { display: grid; gap: 1rem; }

.field { display: flex; flex-direction: column; gap: 0.375rem; }

.field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}
.field label .req {
  color: var(--color-error);
  margin-left: 0.15rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  font: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-btn);
  min-height: 48px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(244,196,48,0.25);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--color-error);
  background: #fff5f5;
}
.field.is-invalid input:focus,
.field.is-invalid select:focus,
.field.is-invalid textarea:focus {
  box-shadow: 0 0 0 3px rgba(220,38,38,0.18);
}

.form__error {
  font-size: 0.8125rem;
  color: var(--color-error);
  min-height: 1em;
  font-weight: 500;
}
.form__error:empty { display: none; }

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
}

.form__success,
.form__failure {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
  margin-bottom: 1rem;
}
.form__success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.form__failure {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ---------- 7. Header --------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  height: var(--header-h);
  transition: box-shadow var(--t-base);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-header);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__logo {
  display: flex;
  align-items: center;
  height: 100%;
}
.site-header__logo svg,
.site-header__logo img {
  height: 32px;
  width: auto;
}
@media (min-width: 768px) {
  .site-header__logo svg,
  .site-header__logo img { height: 36px; }
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  margin-right: 1rem;
}
.site-nav a {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}
.site-nav a:hover { color: var(--color-text); }
@media (min-width: 1024px) {
  .site-nav { display: flex; }
}

.site-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.5rem 0.875rem;
  color: var(--color-dark);
  background: var(--color-accent);
  border-radius: var(--radius-btn);
  min-height: 44px;
  white-space: nowrap;
  transition: background var(--t-fast);
}
.site-header__phone:hover {
  background: var(--color-accent-hover);
  color: var(--color-dark);
}
.site-header__phone svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
@media (min-width: 768px) {
  .site-header__phone {
    font-size: 1.0625rem;
    padding: 0.625rem 1.125rem;
  }
}

/* spacer to offset fixed header */
.header-spacer { height: var(--header-h); }

/* ---------- 8. Hero ----------------------------------------------------- */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--color-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(26,26,26,0.55) 0%, rgba(26,26,26,0.78) 100%);
}

.hero__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  padding-block: clamp(3rem, 8vw, 5rem);
  width: 100%;
}
@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
}

.hero__copy { max-width: 36rem; }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
  min-height: 1.05em;
}
.hero__sub {
  font-size: clamp(1.0625rem, 2.2vw, 1.1875rem);
  line-height: 1.5;
  color: #f0f0f0;
  max-width: 36rem;
  margin-bottom: 2rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2rem;
}

.hero__form-card {
  background: #fff;
  color: var(--color-text);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-elev);
}
.hero__form-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.hero__form-card .hero__form-tag {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1.125rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #f0f0f0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.trust-strip span { display: inline-flex; align-items: center; gap: 0.5rem; }
.trust-strip span:not(:last-child)::after {
  content: "·";
  color: var(--color-accent);
  margin-left: 1.25rem;
  font-weight: 700;
}

/* ---------- 9. Services ------------------------------------------------- */

.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-base), box-shadow var(--t-base);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elev);
}
.service-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  background: #fffaeb;
  border-radius: var(--radius-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}
.service-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* ---------- 10. Why Cleancut -------------------------------------------- */

.why-card {
  text-align: left;
  padding: 1rem 0;
}
.why-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-accent);
  color: var(--color-dark);
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.why-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ---------- 11. Gallery ------------------------------------------------- */

.gallery {
  display: grid;
  gap: clamp(0.5rem, 1.5vw, 0.875rem);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

.gallery__cell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  aspect-ratio: 4 / 3;
  background: var(--color-concrete);
}
.gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.gallery__cell:hover img { transform: scale(1.04); }

/* ---------- 12. Process ------------------------------------------------- */

.process {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(4, 1fr); }
}

.process__step {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  position: relative;
}
.process__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}
.process__step h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.process__step p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ---------- 13. Service area chips -------------------------------------- */

.areas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  max-width: 56rem;
  margin: 0 auto;
}
.areas__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.125rem;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
}
.areas__chip:hover {
  border-color: var(--color-accent);
}

/* ---------- 14. Testimonials -------------------------------------------- */

.testimonial {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}
.testimonial__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--color-accent);
}
.testimonial__stars svg { width: 18px; height: 18px; fill: currentColor; }
.testimonial blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-text);
}
.testimonial cite {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* ---------- 15. FAQ ----------------------------------------------------- */

.faq {
  max-width: 52rem;
  margin: 0 auto;
  display: grid;
  gap: 0.625rem;
}

.faq details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow var(--t-base);
}
.faq details[open] {
  box-shadow: var(--shadow-card);
  border-color: var(--color-concrete);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.0625rem;
  list-style: none;
  user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ''; }

.faq summary::after {
  content: "";
  flex: 0 0 14px;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2.5' stroke-linecap='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform var(--t-base);
}
.faq details[open] summary::after { transform: rotate(180deg); }

.faq__body {
  padding: 0 1.25rem 1.25rem 1.25rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* ---------- 16. Contact ------------------------------------------------- */

.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
}

.contact-info__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}
.contact-info__phone:hover { color: var(--color-accent-hover); }

.contact-info p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.55;
}
.contact-info__hours {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.9375rem;
}
.contact-info__hours strong {
  color: var(--color-text);
  display: block;
  margin-bottom: 0.25rem;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: var(--shadow-card);
}

.field-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

/* ---------- 17. Footer -------------------------------------------------- */

.site-footer {
  background: var(--color-dark);
  color: #c9c9c9;
  padding-block: clamp(3rem, 8vw, 4rem) 1.5rem;
  font-size: 0.9375rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-weight: 700;
}
.site-footer a { color: #c9c9c9; }
.site-footer a:hover { color: var(--color-accent); }

.site-footer__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer-brand img,
.footer-brand svg { height: 80px; width: auto; margin-bottom: 0.875rem; }
.footer-brand p { color: #c9c9c9; line-height: 1.55; max-width: 28rem; }

.footer-contact ul,
.footer-links ul {
  display: grid;
  gap: 0.5rem;
}
.footer-contact a strong {
  color: #fff;
  font-weight: 700;
  font-size: 1.0625rem;
}
.footer-meta {
  font-size: 0.8125rem;
  color: #888;
  margin-top: 1rem;
}

.site-footer__bottom {
  border-top: 1px solid #2c2c2c;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #888;
}

/* ---------- 18. Animations / Motion ------------------------------------- */

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 360ms ease-out, transform 360ms ease-out;
}
.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in { opacity: 1; transform: none; }
}

/* ---------- 19. Print ---------------------------------------------------- */

@media print {
  .site-header, .site-footer, .hero__form-card, form { display: none !important; }
  body { color: #000; background: #fff; }
}
