/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/
:root {
  --vf-color-primary: #223a57;
  --vf-color-secondary: #679e75;
  --vf-color-accent: #2e8e41;
  --vf-color-surface: #ffffff;
  --vf-color-surface-alt: #f0f0f0;
  --vf-color-text: #5d5d5d;
  --vf-color-text-strong: #223a57;
  --vf-color-border-soft: rgba(34, 58, 87, 0.12);

  --vf-font-sans: "Roboto", sans-serif;

  /* Anchors from Figma:
     - section title: 32px / 1.2 / 600
     - button: 24px / 1.5 / 600
     Derived scale keeps the same visual rhythm across desktop/mobile. */
  --vf-step-xs: clamp(0.875rem, 0.845rem + 0.15vw, 1rem);
  --vf-step-sm: clamp(1rem, 0.97rem + 0.15vw, 1.125rem);
  --vf-step-md: clamp(1.125rem, 1.08rem + 0.22vw, 1.25rem);
  --vf-step-lg: clamp(1.25rem, 1.08rem + 0.75vw, 1.5rem);
  --vf-step-xl: clamp(1.5rem, 1.26rem + 1.1vw, 2rem);
  --vf-step-2xl: clamp(2rem, 1.7rem + 1.35vw, 3rem);
  --vf-step-3xl: clamp(2.4rem, 2.05rem + 1.8vw, 4rem);

  --vf-lh-tight: 1.2;
  --vf-lh-title: 1.2;
  --vf-lh-body: 1.6;
  --vf-lh-button: 1.5;

  --vf-fw-regular: 400;
  --vf-fw-medium: 500;
  --vf-fw-semibold: 600;

  --vf-radius-sm: 0.75rem;
  --vf-radius-md: 1.25rem;
  --vf-radius-lg: 1.875rem;
  --vf-radius-xl: 2.5rem;
  --vf-radius-pill: 999px;

  --vf-space-2xs: clamp(0.375rem, 0.33rem + 0.2vw, 0.5rem);
  --vf-space-xs: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
  --vf-space-sm: clamp(0.75rem, 0.65rem + 0.4vw, 1rem);
  --vf-space-md: clamp(1rem, 0.82rem + 0.7vw, 1.5rem);
  --vf-space-lg: clamp(1.5rem, 1.1rem + 1.2vw, 2.5rem);
  --vf-space-xl: clamp(2rem, 1.45rem + 1.8vw, 3.75rem);
  --vf-space-2xl: clamp(3rem, 2.2rem + 2.8vw, 6rem);

  --vf-container: min(100% - 2.5rem, 75rem);
  --vf-container-wide: min(100% - 2.5rem, 90rem);

  --vf-shadow-soft: 0 18px 60px rgba(34, 58, 87, 0.08);
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  color: var(--vf-color-text);
  font-family: var(--vf-font-sans);
}

.u-section {
  padding-block: var(--vf-space-2xl);
}

.u-section-sm {
  padding-block: var(--vf-space-xl);
}

.u-section-alt {
  background: var(--vf-color-surface-alt);
}

.u-container {
  width: var(--vf-container);
  margin-inline: auto;
}

.u-container-wide {
  width: var(--vf-container-wide);
  margin-inline: auto;
}

.u-stack-xs > * + * {
  margin-top: var(--vf-space-xs);
}

.u-stack-sm > * + * {
  margin-top: var(--vf-space-sm);
}

.u-stack-md > * + * {
  margin-top: var(--vf-space-md);
}

.u-stack-lg > * + * {
  margin-top: var(--vf-space-lg);
}

.u-title-display {
  color: var(--vf-color-primary);
  font-family: var(--vf-font-sans);
  font-size: var(--vf-step-3xl);
  font-weight: var(--vf-fw-semibold);
  line-height: var(--vf-lh-title);
  letter-spacing: -0.02em;
}

.u-title-xl-blue {
  color: var(--vf-color-primary);
  font-family: var(--vf-font-sans);
  font-size: var(--vf-step-2xl);
  font-weight: var(--vf-fw-semibold);
  line-height: var(--vf-lh-title);
  letter-spacing: -0.02em;
}

.u-title-xl-green {
  color: var(--vf-color-secondary);
  font-family: var(--vf-font-sans);
  font-size: var(--vf-step-2xl);
  font-weight: var(--vf-fw-semibold);
  line-height: var(--vf-lh-title);
  letter-spacing: -0.02em;
}

.u-title-lg {
  color: var(--vf-color-primary);
  font-family: var(--vf-font-sans);
  font-size: var(--vf-step-xl);
  font-weight: var(--vf-fw-semibold);
  line-height: var(--vf-lh-title);
}

.u-title-md {
  color: var(--vf-color-primary);
  font-family: var(--vf-font-sans);
  font-size: var(--vf-step-lg);
  font-weight: var(--vf-fw-semibold);
  line-height: var(--vf-lh-title);
}

.u-text-body {
  color: var(--vf-color-text);
  font-family: var(--vf-font-sans);
  font-size: var(--vf-step-sm);
  font-weight: var(--vf-fw-regular);
  line-height: var(--vf-lh-body);
}

.u-text-body-lg {
  color: var(--vf-color-text);
  font-family: var(--vf-font-sans);
  font-size: var(--vf-step-md);
  font-weight: var(--vf-fw-regular);
  line-height: var(--vf-lh-body);
}

.u-text-lead {
  color: var(--vf-color-text);
  font-family: var(--vf-font-sans);
  font-size: var(--vf-step-lg);
  font-weight: var(--vf-fw-regular);
  line-height: 1.55;
}

.u-text-small {
  color: var(--vf-color-text);
  font-family: var(--vf-font-sans);
  font-size: var(--vf-step-xs);
  font-weight: var(--vf-fw-regular);
  line-height: 1.5;
}

.u-stat-number {
  color: var(--vf-color-secondary);
  font-family: var(--vf-font-sans);
  font-size: clamp(2rem, 1.5rem + 2.1vw, 4rem);
  font-weight: var(--vf-fw-semibold);
  line-height: 1;
  letter-spacing: -0.03em;
}

.u-stat-label {
  color: var(--vf-color-primary);
  font-family: var(--vf-font-sans);
  font-size: var(--vf-step-sm);
  font-weight: var(--vf-fw-medium);
  line-height: 1.45;
}

.u-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: clamp(3.5rem, 3.1rem + 1vw, 4.5rem);
  padding: 0.85em 1.35em;
  border: 0;
  border-radius: var(--vf-radius-pill);
  background: var(--vf-color-secondary);
  color: #fff;
  font-family: var(--vf-font-sans);
  font-size: clamp(1.125rem, 0.93rem + 0.95vw, 1.5rem);
  font-weight: var(--vf-fw-semibold);
  line-height: var(--vf-lh-button);
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.u-button:hover,
.u-button:focus-visible {
  background: var(--vf-color-accent);
  box-shadow: var(--vf-shadow-soft);
  transform: translateY(-1px);
}

.u-button-outline {
  background: transparent;
  color: var(--vf-color-primary);
  border: 1px solid var(--vf-color-border-soft);
}

.u-card {
  background: var(--vf-color-surface);
  border-radius: var(--vf-radius-lg);
  box-shadow: var(--vf-shadow-soft);
}

.u-card-pad {
  padding: var(--vf-space-lg);
}

.u-grid-stats {
  display: grid;
  gap: var(--vf-space-md);
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.u-grid-2 {
  display: grid;
  gap: var(--vf-space-lg);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.u-grid-3 {
  display: grid;
  gap: var(--vf-space-lg);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 991px) {
  .u-grid-stats,
  .u-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .u-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .u-grid-stats,
  .u-grid-2,
  .u-grid-3 {
    grid-template-columns: 1fr;
  }

  .u-section {
    padding-block: var(--vf-space-xl);
  }
}