/*
Theme Name: Expo Approvals - Blocksy Child
Theme URI: https://expoapprovals.com/
Description: Editable Blocksy child theme for the Expo Approvals landing page.
Author: Expo Approvals
Template: blocksy
Version: 1.0.0
Text Domain: expo-approvals
*/

/* Structural rules live here. Routine visual controls are in
   Appearance -> Customize -> Additional CSS. */

/* Safe defaults. The matching Customizer variables load later and override
   these values, so routine design changes never require editing this file. */
:root {
  --ea-navy: #134962;
  --ea-blue: #125986;
  --ea-green: #56b647;
  --ea-green-soft: #f1f8ee;
  --ea-mist: #f3f8fb;
  --ea-ink: #16323f;
  --ea-muted: #5a6f78;
  --ea-border: #e3ebef;
  --ea-white: #ffffff;
  --ea-font: "Lato", Arial, sans-serif;
  --ea-h1-size: 54px;
  --ea-h2-size: 39px;
  --ea-lead-size: 18px;
  --ea-cta-heading-size: 44px;
  --ea-header-height: 86px;
  --ea-logo-height: 44px;
  --ea-content-width: 1150px;
  --ea-page-gutter: 32px;
  --ea-mobile-gutter: 18px;
  --ea-section-space: 92px;
  --ea-section-space-tight: 60px;
  --ea-section-space-tablet: 68px;
  --ea-cta-space: 84px;
  --ea-card-gap: 26px;
  --ea-card-radius: 14px;
  --ea-image-radius: 14px;
  --ea-service-image-height: 194px;
  --ea-card-shadow: 0 14px 40px rgba(86, 182, 71, 0.20);
  --ea-image-shadow: 0 18px 50px rgba(18, 89, 134, 0.18);
  --ea-button-radius: 7px;
  --ea-button-shadow: 0 3px 14px rgba(86, 182, 71, 0.32);
}

html { scroll-behavior: smooth; }
body.expo-approvals-canvas { margin: 0; overflow-x: hidden; }
.expo-approvals-canvas .ea-page { color: var(--ea-ink); font-family: var(--ea-font); line-height: 1.65; }
.expo-approvals-canvas .ea-page *, .expo-approvals-canvas .ea-page *::before, .expo-approvals-canvas .ea-page *::after { box-sizing: border-box; }
.expo-approvals-canvas .ea-page a { color: var(--ea-blue); }
.expo-approvals-canvas .ea-page img { max-width: 100%; }
.ea-page > .wp-block-group { margin-block: 0; }
.ea-shell { width: min(calc(100% - (var(--ea-page-gutter) * 2)), var(--ea-content-width)); margin-inline: auto !important; }
.ea-section { padding-block: var(--ea-section-space); }
.ea-section-tight { padding-block: var(--ea-section-space-tight); }
.ea-bg-white { background: var(--ea-white); }
.ea-bg-mist { background: var(--ea-mist); }

.ea-header { background: var(--ea-white); border-bottom: 1px solid var(--ea-border); }
.ea-header .ea-shell { min-height: var(--ea-header-height); gap: 24px; }
.ea-header-logo img { display: block; width: auto; height: var(--ea-logo-height); }
.ea-header-actions { flex: 1; justify-content: flex-end !important; margin-left: auto; }
.ea-header-actions .wp-block-buttons { justify-content: flex-end; }
.ea-header-tag { color: var(--ea-muted); font-size: 14px; font-weight: 700; margin: 0; text-align: right; }

.ea-page .wp-block-button__link { border-radius: var(--ea-button-radius); font-size: 15.5px; font-weight: 900; line-height: 1.2; padding: 16px 33px; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.ea-page .wp-block-button__link:hover { transform: translateY(-1px); }
.ea-button-primary .wp-block-button__link { background: var(--ea-green); color: #fff; box-shadow: var(--ea-button-shadow); }
.ea-button-outline .wp-block-button__link { background: transparent; border: 2px solid var(--ea-blue); color: var(--ea-blue); padding: 14px 31px; }
.ea-header .wp-block-button__link { font-size: 14.5px; padding: 12px 24px; }

.ea-hero { border-bottom: 1px solid var(--ea-border); }
.ea-hero .wp-block-columns, .ea-about .wp-block-columns { gap: clamp(34px, 5vw, 60px); align-items: center !important; }
.ea-kicker { color: var(--ea-green); font-size: 12.5px; font-weight: 900; letter-spacing: .19em; line-height: 1.4; margin: 0 0 11px; text-transform: uppercase; }
.ea-pill { align-items: center; background: var(--ea-green-soft); border-radius: 5px; color: var(--ea-green); display: inline-flex; font-size: 12.5px; font-weight: 900; gap: 9px; letter-spacing: .17em; margin: 0 0 24px; padding: 8px 15px; text-transform: uppercase; width: auto; }
.ea-pill::before { content: "\2713"; font-size: 14px; line-height: 1; }
.ea-h1 { color: var(--ea-navy); font-size: clamp(40px, 5vw, var(--ea-h1-size)); font-weight: 900; letter-spacing: -.025em; line-height: 1.08; margin: 0 0 22px; }
.ea-h2 { color: var(--ea-navy); font-size: clamp(30px, 4vw, var(--ea-h2-size)); font-weight: 900; letter-spacing: -.02em; line-height: 1.14; margin: 0 0 20px; }
.ea-accent { color: var(--ea-blue); }
.ea-lead { color: var(--ea-muted); font-size: var(--ea-lead-size); font-weight: 300; line-height: 1.7; }
.ea-hero-copy .ea-lead { max-width: 520px; }
.ea-hero-image { position: relative; }
.ea-hero-image::after { border-bottom: 6px solid var(--ea-green); border-radius: 0 0 16px; border-right: 6px solid var(--ea-green); bottom: -18px; content: ""; height: 150px; position: absolute; right: -18px; width: 150px; z-index: 0; }
.ea-hero-image img, .ea-about-image img { aspect-ratio: 4 / 3; border-radius: var(--ea-image-radius); box-shadow: var(--ea-image-shadow); display: block; object-fit: cover; position: relative; width: 100%; z-index: 1; }

.ea-trust { background: var(--ea-mist); border-bottom: 1px solid var(--ea-border); padding-block: 18px; }
.ea-trust .ea-shell { align-items: center; column-gap: 48px; row-gap: 16px; }
.ea-trust-item { align-items: center; color: var(--ea-navy); display: flex; font-size: 14.5px; font-weight: 700; gap: 10px; }
.ea-trust-item p { margin: 0; }
.ea-check { align-items: center; background: var(--ea-green); border-radius: 50%; color: #fff; display: inline-flex; flex: 0 0 21px; font-size: 13px; font-weight: 900; height: 21px; justify-content: center; line-height: 1; width: 21px; }
.ea-trust-logo img { height: 30px; object-fit: contain; width: auto; }

.ea-center { text-align: center; }
.ea-center .ea-lead { margin-inline: auto; max-width: 860px; }
.ea-grid-3 { display: grid !important; gap: var(--ea-card-gap); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ea-grid-2 { display: grid !important; gap: var(--ea-card-gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ea-stats { margin-top: 46px; }
.ea-stat { background: #fff; border: 1px solid var(--ea-border); border-radius: var(--ea-card-radius); padding: 30px 28px 32px; text-align: center; }
.ea-stat-featured { background: var(--ea-green-soft); border: 2px solid var(--ea-green); box-shadow: var(--ea-card-shadow); padding: 29px 27px 31px; }
.ea-stat-label { background: var(--ea-navy); border-radius: 20px; color: #fff; display: inline-block; font-size: 11.5px; font-weight: 900; letter-spacing: .12em; margin: 0 0 16px; padding: 7px 16px; text-transform: uppercase; }
.ea-stat-featured .ea-stat-label { background: var(--ea-green); }
.ea-stat-number { color: var(--ea-navy); font-size: 58px; font-weight: 900; letter-spacing: -.035em; line-height: .95; margin: 0 0 7px; }
.ea-stat-featured .ea-stat-number { color: var(--ea-green); }
.ea-stat-copy { color: var(--ea-muted); font-size: 14.5px; font-weight: 700; line-height: 1.4; margin: 0; }
.ea-bar { background: #e8eef1; border-radius: 6px; height: 10px; margin-top: 19px; overflow: hidden; }
.ea-bar::after { background: var(--ea-navy); border-radius: inherit; content: ""; display: block; height: 100%; width: var(--ea-bar-width); }
.ea-stat-featured .ea-bar::after { background: var(--ea-green); }
.ea-footnote { color: #6b7f88; font-size: 13px; font-style: italic; font-weight: 300; margin: 24px 0 0; text-align: center; }
.ea-green-banner { background: var(--ea-green); border-radius: var(--ea-card-radius); color: #fff; margin-top: 38px; padding: 34px 30px; text-align: center; }
.ea-green-banner p { font-size: 31px; font-weight: 900; letter-spacing: -.02em; line-height: 1.16; margin: 0; }
.ea-green-banner strong { color: var(--ea-navy); }

.ea-services-heading { margin-top: var(--ea-section-space); }
.ea-service-grid { margin-top: 46px; }
.ea-service-card { background: #fff; border: 1px solid var(--ea-border); border-radius: var(--ea-card-radius); border-top: 4px solid var(--ea-green); overflow: hidden; }
.ea-service-card > .wp-block-image { margin: 0; }
.ea-service-card img { display: block; height: var(--ea-service-image-height); object-fit: cover; width: 100%; }
.ea-card-body { padding: 26px 26px 30px; }
.ea-card-title { color: var(--ea-blue); font-size: 19.5px; font-weight: 900; line-height: 1.28; margin: 0 0 11px; }
.ea-card-copy { color: var(--ea-muted); font-size: 14.8px; font-weight: 300; line-height: 1.66; margin: 0; }
.ea-more { background: #fff; border: 1px solid var(--ea-border); border-left: 5px solid var(--ea-green); border-radius: 0 var(--ea-card-radius) var(--ea-card-radius) 0; margin-top: 40px; padding: 34px 40px; }
.ea-more .ea-card-title { font-size: 23px; margin-bottom: 9px; }

.ea-better-logo img { display: block; height: 96px; margin-bottom: 18px; object-fit: contain; width: auto; }
.ea-better-copy { max-width: 860px; }
.ea-better-grid { margin-top: 42px; }
.ea-better-card { background: var(--ea-green-soft); border: 1px solid #dcecd6; border-radius: var(--ea-card-radius); overflow: hidden; }
.ea-better-card > .wp-block-image { margin: 0; }
.ea-better-card img { display: block; height: 172px; object-fit: cover; width: 100%; }
.ea-better-card .ea-card-body { padding: 23px 25px 27px; }

.ea-check-grid { margin-top: 44px; }
.ea-check-card { align-items: flex-start; background: #fff; border: 1px solid var(--ea-border); border-radius: 11px; display: flex; gap: 15px; padding: 20px 22px; }
.ea-check-card .ea-check { flex-basis: 26px; height: 26px; margin-top: 2px; width: 26px; }
.ea-check-copy h4 { color: var(--ea-navy); font-size: 16px; font-weight: 900; margin: 0 0 3px; }
.ea-check-copy p { color: var(--ea-muted); font-size: 14.5px; font-weight: 300; line-height: 1.55; margin: 0; }

.ea-cta { background: var(--ea-navy); color: #fff; padding-block: var(--ea-cta-space); text-align: center; }
.ea-cta .ea-shell { align-items: center; display: flex; flex-direction: column; }
.ea-cta .ea-h2 { color: #fff; font-size: clamp(34px, 4vw, var(--ea-cta-heading-size)); max-width: 930px; }
.ea-cta .ea-accent { color: var(--ea-green); }
.ea-cta .ea-lead { color: rgba(255,255,255,.82); max-width: 620px; }
.ea-direct-email { color: rgba(255,255,255,.75); font-size: 15px; font-weight: 300; margin: 26px 0 0; }
.ea-direct-email a { color: var(--ea-green); font-weight: 900; text-decoration: none; }

.ea-contact-form { background: #fff; border-radius: var(--ea-card-radius); box-shadow: 0 18px 50px rgba(0,0,0,.18); color: var(--ea-ink); margin-top: 26px; max-width: 820px; padding: 34px; text-align: left; width: 100%; }
.ea-form-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ea-form-field { margin: 0; }
.ea-form-field-full { grid-column: 1 / -1; }
.ea-form-field label { color: var(--ea-navy); display: block; font-size: 14px; font-weight: 900; margin-bottom: 7px; }
.ea-form-required { color: #b32727; }
.ea-form-field input, .ea-form-field textarea { appearance: none; background: #fff; border: 1px solid #cbd8de; border-radius: 6px; color: var(--ea-ink); font: inherit; font-size: 16px; line-height: 1.4; padding: 13px 14px; width: 100%; }
.ea-form-field textarea { min-height: 142px; resize: vertical; }
.ea-form-field input:focus, .ea-form-field textarea:focus { border-color: var(--ea-blue); box-shadow: 0 0 0 3px rgba(18,89,134,.14); outline: none; }
.ea-form-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; margin-top: 22px; }
.ea-form-submit { background: var(--ea-green); border: 0; border-radius: var(--ea-button-radius); box-shadow: var(--ea-button-shadow); color: #fff; cursor: pointer; font-family: var(--ea-font); font-size: 16px; font-weight: 900; padding: 16px 30px; }
.ea-form-submit:hover { filter: brightness(.96); transform: translateY(-1px); }
.ea-form-note { color: var(--ea-muted); font-size: 12.5px; line-height: 1.45; margin: 18px 0 0; }
.ea-form-status { border-radius: 7px; font-size: 15px; font-weight: 700; margin: 0 0 20px; padding: 13px 15px; }
.ea-form-success { background: #edf8ea; border: 1px solid #b8ddb0; color: #276a1c; }
.ea-form-error { background: #fff1f1; border: 1px solid #e4baba; color: #912828; }
.ea-form-hp { height: 1px !important; left: -9999px !important; overflow: hidden !important; position: absolute !important; width: 1px !important; }

@media (max-width: 900px) {
  .ea-header .ea-shell { min-height: 70px; }
  .ea-header-tag, .ea-hero-image::after { display: none; }
  .ea-header-logo img { height: 32px; }
  .ea-grid-3, .ea-grid-2 { grid-template-columns: 1fr; }
  .ea-service-grid { gap: 28px; }
  .ea-section { padding-block: var(--ea-section-space-tablet); }
}

@media (max-width: 600px) {
  .ea-shell { width: min(calc(100% - (var(--ea-mobile-gutter) * 2)), var(--ea-content-width)); }
  .ea-header-tag { display: none; }
  .ea-header .wp-block-button__link { font-size: 13px; padding: 10px 14px; }
  .ea-page .wp-block-buttons { gap: 10px; }
  .ea-page .wp-block-button__link { padding: 14px 23px; }
  .ea-button-outline .wp-block-button__link { padding: 12px 21px; }
  .ea-stat-number { font-size: 50px; }
  .ea-more { padding: 28px 25px; }
  .ea-contact-form { padding: 25px 20px; }
  .ea-form-grid { grid-template-columns: 1fr; }
  .ea-form-field-full { grid-column: auto; }
  .ea-form-actions { align-items: stretch; flex-direction: column; }
  .ea-form-submit { width: 100%; }
}

/* Make the native block editor visually close to the front end. */
.editor-styles-wrapper { font-family: var(--ea-font, Lato, sans-serif); }
.editor-styles-wrapper .ea-shell { width: min(calc(100% - 40px), 1150px); }
