/* ============================================================
   ACL Bridge — One-page styles
   Design tokens first so the WordPress theme can override them.
   ============================================================ */
:root {
  --acl-cream:      #F4EFE6;
  --acl-cream-soft: #FAF7F1;
  --acl-white:      #FFFFFF;
  --acl-teal-light: #b5e8e3;
  --acl-teal:       #7EC8C0;
  --acl-teal-dark:  #5DB3A9;
  --acl-mint:       #BFE3DD;
  --acl-mint-soft:  #D6ECE7;
  --acl-ink:        #1E2522;
  --acl-text:       #5C645F;
  --acl-muted:      #8A918C;
  --acl-border:     #E5E1D8;
  --acl-border-cool:#DCE7E4;

  --acl-radius:     14px;
  --acl-radius-sm:  9px;
  --acl-shadow:     0 18px 40px -22px rgba(30, 37, 34, .35);
  --acl-shadow-sm:  0 6px 18px -10px rgba(30, 37, 34, .30);

  --acl-container:  1080px;
  --acl-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ----------------------------- Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--acl-font);
  color: var(--acl-text);
  background: var(--acl-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--acl-container); margin: 0 auto; padding: 0 22px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 600; line-height: 1;
  padding: 12px 20px; border-radius: var(--acl-radius-sm);
  border: 1.5px solid transparent; transition: all .18s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--acl-teal); color: #0c2b27; }
.btn--primary:hover { background: var(--acl-teal-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--acl-ink); border-color: var(--acl-teal); }
.btn--ghost:hover { background: var(--acl-mint-soft); }

.eyebrow { color: var(--acl-muted); font-size: .92rem; font-weight: 500; margin-bottom: 6px; }
.section__title {
  color: var(--acl-ink); font-size: clamp(1.5rem, 3.6vw, 2rem);
  font-weight: 800; line-height: 1.18; letter-spacing: -.01em;
}
.section__title--center { text-align: center; }
.section__lead { margin-top: 10px; color: var(--acl-text); font-size: .98rem; }
.section__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.section { padding: 64px 0; }
.section--center { text-align: center; }

/* ============================== HERO ============================== */
.hero { background: var(--acl-cream); padding: 56px 0 64px; }
.hero__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.hero__title {
  color: var(--acl-ink); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(2rem, 5vw, 2.9rem); line-height: 1.08;
}
.hero__subtitle {
  color: var(--acl-ink); font-weight: 700; margin-top: 16px;
  font-size: clamp(1.25rem, 2.6vw, 1.55rem); line-height: 1.2;
}
.hero__lead { margin-top: 14px; max-width: 30ch; font-size: .98rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Hero visual: photo placeholder + floating form */
.hero__visual { position: relative; }
.photo-card {
  position: relative; border-radius: var(--acl-radius); overflow: hidden;
  aspect-ratio: 4 / 3.4; box-shadow: var(--acl-shadow);
}
.photo-card__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.floating-form {
  position: absolute; right: 6%; top: 18%; width: 58%; max-width: 230px;
  background: var(--acl-white); border-radius: 12px; padding: 16px 14px 14px;
  box-shadow: 0 22px 40px -18px rgba(20,24,22,.5);
}
.floating-form__row { margin-bottom: 11px; }
.floating-form__label { display: block; font-size: .62rem; color: var(--acl-muted); margin-bottom: 5px; }
.floating-form__field {
  display: block; height: 22px; border: 1px solid var(--acl-border); border-radius: 5px; background: #fbfaf8;
}
.floating-form__field--active { border-color: var(--acl-teal); box-shadow: 0 0 0 2px rgba(126,200,192,.25); }
.floating-form__field--area { height: 46px; }
.floating-form__submit {
  display: block; text-align: center; background: var(--acl-teal); color: #0c2b27;
  font-size: .62rem; font-weight: 600; padding: 8px; border-radius: 5px; margin-top: 4px;
}

/* ========================= SPLIT SECTIONS ========================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split__content .eyebrow { margin-bottom: 4px; }

/* Browser window mock (reused) */
.window-mock {
  background: var(--acl-white); border: 1px solid var(--acl-border);
  border-radius: 12px; overflow: hidden; box-shadow: var(--acl-shadow-sm);
}
.window-mock--dim { box-shadow: 0 24px 50px -26px rgba(30,37,34,.5); }
.window-mock__bar {
  display: flex; gap: 7px; align-items: center; padding: 11px 14px;
  background: #eef0ef; border-bottom: 1px solid var(--acl-border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--red { background: #f0625d; } .dot--amber { background: #f4be4f; } .dot--green { background: #5fc454; }
.window-mock__topbar {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-bottom: 1px solid var(--acl-border);
}
.window-mock__logo { width: 16px; height: 16px; border-radius: 50%; background: #c9ccca; }
.window-mock__nav { display: flex; gap: 8px; margin-left: 4px; flex: 1; }
.window-mock__nav span { width: 30px; height: 7px; border-radius: 4px; background: #dfe2e0; }
.window-mock__login { width: 26px; height: 7px; border-radius: 4px; background: #dfe2e0; }
.window-mock__cta { width: 40px; height: 16px; border-radius: 5px; background: var(--acl-teal); }
.window-mock__body { padding: 22px; background: #f7f8f8; }
.window-mock__form, .window-mock__modal {
  background: #fff; border: 1px solid var(--acl-border); border-radius: 8px;
  padding: 16px; display: flex; flex-direction: column; gap: 10px; max-width: 230px; margin: 0 auto;
}
.mini-field { height: 18px; border: 1px solid var(--acl-border); border-radius: 5px; background: #fbfaf8; }
.mini-field--area { height: 40px; }
.mini-submit { height: 22px; border-radius: 5px; background: var(--acl-teal); margin-top: 2px; }
.window-mock__body--overlay { position: relative; background: #e9ebea; }
.window-mock__body--overlay::before {
  content: ""; position: absolute; inset: 0; background: rgba(20,24,22,.28);
}
.window-mock__modal { position: relative; z-index: 1; box-shadow: 0 18px 34px -16px rgba(20,24,22,.5); }

/* ========================= HIGHLIGHTED ========================= */
.highlight {
  background: var(--acl-mint); border-radius: 18px; padding: 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center;
}
.highlight .eyebrow { color: #3f6d66; }
.highlight .section__title { color: #14322d; }

/* ========================= SERVICES / CARDS ========================= */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 36px; text-align: left;
}
.card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  background: var(--acl-white); border: 1px solid var(--acl-border);
  border-radius: var(--acl-radius); padding: 22px 20px; transition: all .18s ease;
}
.card:hover { box-shadow: var(--acl-shadow-sm); transform: translateY(-2px); border-color: var(--acl-border-cool); }
/* Partner space: teal background on hover only */
.card--featured:hover { background: var(--acl-teal-light); border-color: var(--acl-teal); }
.card--featured:hover .card__icon,
.card--featured:hover .card__title { color: #0c2b27; }
.card--featured:hover .card__text { color: #154942; }
.card__icon {
  display: inline-flex; color: #2f6e66; width: 26px; height: 26px;
  transition: color .18s ease;
}
.card__icon svg { width: 24px; height: 24px; }
.card__title { color: var(--acl-ink); font-weight: 700; font-size: 1.02rem; transition: color .18s ease; }
.card__text { color: var(--acl-text); font-size: .85rem; line-height: 1.5; transition: color .18s ease; }

.form-picker {
  display: flex; gap: 10px; justify-content: center; align-items: stretch;
  margin-top: 30px; flex-wrap: wrap;
}
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--acl-muted); border-bottom: 2px solid var(--acl-muted);
  transform: translateY(-65%) rotate(45deg); pointer-events: none;
}
.form-picker__select {
  appearance: none; -webkit-appearance: none;
  font-family: inherit; font-size: .9rem; color: var(--acl-ink);
  background: var(--acl-white); border: 1.5px solid var(--acl-border);
  border-radius: var(--acl-radius-sm); padding: 11px 38px 11px 16px; min-width: 240px;
}
.form-picker__select:focus { outline: none; border-color: var(--acl-teal); }
.form-picker__go { padding-inline: 26px; }

.service-form-slot { margin-top: 30px; }
.service-form-slot:empty { margin-top: 0; }
.inline-form-card {
  background: var(--acl-white); border: 1px solid var(--acl-border);
  border-radius: var(--acl-radius); padding: 32px 28px; box-shadow: var(--acl-shadow-sm);
  max-width: 540px; margin: 0 auto; text-align: left; animation: acl-pop .2s ease;
}

/* ============================== FOOTER ============================== */
.footer { background: var(--acl-cream); padding: 56px 0 40px; margin-top: 24px; }
.footer__intro { text-align: center; }
.footer__title { color: var(--acl-ink); font-weight: 800; font-size: 1.45rem; }
.footer__tagline { margin-top: 10px; color: var(--acl-text); font-size: .92rem; }
.footer__cols {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: center;
  gap: 70px; margin-top: 40px;
}
.footer__heading { color: var(--acl-ink); font-size: .95rem; font-weight: 700; margin-bottom: 14px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer__col a { color: var(--acl-text); font-size: .88rem; }
.footer__col a:hover { color: var(--acl-ink); }
.footer__bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--acl-border);
  text-align: center;
}
.footer__copyright { color: var(--acl-muted); font-size: .82rem; }

/* ============================================================
   CF7-faithful form styling (mirrors real Contact Form 7 markup)
   ============================================================ */
.wpcf7 { max-width: 460px; margin: 0 auto; }
.wpcf7 form > p { margin: 0 0 16px; }
.wpcf7 label { display: block; font-size: .85rem; font-weight: 600; color: var(--acl-ink); }
.wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.wpcf7-form-control {
  width: 100%; font-family: inherit; font-size: .92rem; color: var(--acl-ink);
  background: var(--acl-white); border: 1.5px solid var(--acl-border);
  border-radius: var(--acl-radius-sm); padding: 11px 13px; transition: border-color .15s ease, box-shadow .15s ease;
}
.wpcf7-form-control:focus {
  outline: none; border-color: var(--acl-teal); box-shadow: 0 0 0 3px rgba(126,200,192,.22);
}
textarea.wpcf7-form-control { min-height: 120px; resize: vertical; }
.wpcf7-submit {
  width: auto; background: var(--acl-teal); color: #0c2b27; font-weight: 600;
  border: none; padding: 12px 28px; border-radius: var(--acl-radius-sm); cursor: pointer;
  transition: background .18s ease;
}
.wpcf7-submit:hover { background: var(--acl-teal-dark); color: #fff; }
.wpcf7-not-valid { border-color: #e1685f !important; }
.wpcf7-not-valid-tip { display: block; color: #c4453c; font-size: .76rem; font-weight: 500; margin-top: 4px; }
.wpcf7-response-output {
  margin: 4px 0 18px !important; padding: 11px 14px; border-radius: var(--acl-radius-sm);
  font-size: .86rem; border: 1.5px solid;
}
.wpcf7-response-output[hidden] { display: none; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #57b894; background: #ecf8f2; color: #1c6b4f; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-color: #e1685f; background: #fcefee; color: #b23b32; }
.acl-form-intro { color: var(--acl-text); font-size: .9rem; margin: 0 0 18px; text-align: center; }
.acl-spinner {
  display: inline-block; width: 14px; height: 14px; margin-left: 8px; vertical-align: -2px;
  border: 2px solid rgba(12,43,39,.35); border-top-color: #0c2b27; border-radius: 50%;
  animation: acl-spin .7s linear infinite;
}
@keyframes acl-spin { to { transform: rotate(360deg); } }

/* ============================== MODAL ============================== */
.acl-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.acl-modal[hidden] { display: none; }
.acl-modal__backdrop { position: absolute; inset: 0; background: rgba(20,24,22,.5); backdrop-filter: blur(2px); }
.acl-modal__dialog {
  position: relative; z-index: 1; width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto;
  background: var(--acl-white); border-radius: 16px; padding: 34px 30px 30px; box-shadow: var(--acl-shadow);
  animation: acl-pop .2s ease;
}
@keyframes acl-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.acl-modal__close {
  position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border: none;
  background: transparent; font-size: 1.6rem; line-height: 1; color: var(--acl-muted); border-radius: 8px;
}
.acl-modal__close:hover { background: #f1efe9; color: var(--acl-ink); }
.acl-modal__title { color: var(--acl-ink); font-size: 1.35rem; font-weight: 800; margin-bottom: 18px; text-align: center; }
.acl-modal__title:empty { display: none; }

/* ========================= PAGE (FULL-SCREEN) ========================= */
.acl-page { position: fixed; inset: 0; z-index: 1100; background: var(--acl-cream-soft); overflow-y: auto; }
.acl-page[hidden] { display: none; }
.acl-page__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; background: var(--acl-white); border-bottom: 1px solid var(--acl-border);
  position: sticky; top: 0;
}
.acl-page__brand { font-weight: 800; color: var(--acl-ink); letter-spacing: -.01em; }
.acl-page__close { background: transparent; border: none; color: var(--acl-teal-dark); font-weight: 600; font-size: .92rem; padding: 6px 8px; border-radius: 8px; }
.acl-page__close:hover { background: var(--acl-mint-soft); }
.acl-page__inner { max-width: 540px; margin: 0 auto; padding: 56px 24px 80px; }
.acl-page__title { text-align: center; color: var(--acl-ink); font-size: 1.9rem; font-weight: 800; margin-bottom: 28px; }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 860px) {
  .hero__grid, .split, .highlight { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .cards { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(3, auto); gap: 36px; }
}
@media (max-width: 560px) {
  .section { padding: 48px 0; }
  .highlight { padding: 28px 22px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 28px 40px; text-align: left; max-width: 320px; margin-inline: auto; }
  .hero__actions .btn, .section__actions .btn { flex: 1 1 auto; }
}
