/*
Theme Name: Empowering Counseling & Therapy
Theme URI: https://ectnepal.com
Author: Empowering Counseling & Therapy
Description: A calm, single-page counseling and therapy theme for Empowering Counseling & Therapy.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
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: empowering-counseling-therapy
*/

:root {
  color-scheme: light;
  --ink: #202523;
  --muted: #5e6762;
  --paper: #fbfaf6;
  --sage: #8aa094;
  --sage-dark: #4d675d;
  --clay: #b56f54;
  --gold: #d7a85a;
  --line: #dedbd0;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(33, 39, 36, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(251, 250, 246, 0.88);
  border-bottom: 1px solid rgba(222, 219, 208, 0.72);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: none;
}

.site-logo {
  display: block;
  width: clamp(76px, 11vw, 140px);
  height: auto;
  flex: 0 0 auto;
}

.site-logo img,
.custom-logo-link,
.custom-logo {
  display: block;
  width: clamp(76px, 11vw, 140px);
  height: auto;
}

.brand-text {
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-dark);
  color: var(--white);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.12;
  overflow-wrap: normal;
}

.brand strong {
  font-size: clamp(0.98rem, 1.5vw, 1.18rem);
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.primary-navigation {
  display: flex;
  align-items: center;
}

nav,
.menu {
  margin: 0;
  padding: 0;
}

.primary-navigation .menu,
.footer-navigation .menu,
nav:not(.primary-navigation):not(.footer-navigation) {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(12px, 2.8vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.primary-navigation a:hover,
.footer-navigation a:hover,
nav a:hover {
  color: var(--clay);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(320px, 760px) minmax(260px, 1fr);
  align-items: end;
  overflow: hidden;
  background: #30342f;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 34, 31, 0.78), rgba(28, 34, 31, 0.44) 44%, rgba(28, 34, 31, 0.08)),
    linear-gradient(0deg, rgba(28, 34, 31, 0.34), transparent 45%);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: 146px clamp(20px, 5vw, 72px) 92px;
  color: var(--white);
}

.play-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.play-icon::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin: 13px 0 0 18px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--clay);
}

.play-icon.large {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
}

.play-icon.large::after {
  margin: 18px 0 0 25px;
  border-top-width: 14px;
  border-bottom-width: 14px;
  border-left-width: 21px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1c782;
}

h1,
h2,
h3,
p {
  overflow-wrap: normal;
  word-break: normal;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.2vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.2vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.04rem, 1.7vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.trust-row li {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

.button.primary {
  background: var(--clay);
  color: var(--white);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-band div {
  min-height: 150px;
  padding: 34px clamp(20px, 4vw, 48px);
  background: #f5f1e9;
}

.intro-band strong,
.intro-band span {
  display: block;
}

.intro-band strong {
  margin-bottom: 8px;
  color: var(--sage-dark);
  font-size: 1.05rem;
}

.intro-band span {
  color: var(--muted);
}

.section {
  padding: clamp(70px, 9vw, 126px) clamp(20px, 5vw, 72px);
}

.page-hero {
  padding: 168px clamp(20px, 5vw, 72px) clamp(64px, 8vw, 104px);
  background: #e9eee9;
}

.page-hero h1 {
  color: var(--ink);
  max-width: 900px;
  font-size: clamp(2.1rem, 4.2vw, 4.1rem);
  line-height: 1.02;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.7vw, 1.28rem);
}

.content-page {
  max-width: 960px;
}

.page-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-counselor {
  background: var(--paper);
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(300px, 1.18fr);
  gap: clamp(36px, 6vw, 90px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-grid article {
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 42px rgba(32, 37, 35, 0.06);
}

.service-grid p,
.approach-copy p,
.counselor p,
.step-grid p,
.privacy-grid p,
.contact-band p {
  margin: 0;
  color: var(--muted);
}

.approach {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 410px);
  gap: clamp(32px, 6vw, 96px);
  background: #e9eee9;
}

.video-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  background: #f5f1e9;
}

.video-section p {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--muted);
}

.video-embed,
.video-placeholder {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #151b17;
  box-shadow: var(--shadow);
}

.video-embed iframe,
.video-embed video,
.video-embed embed,
.video-embed object {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  display: grid;
  place-items: center;
  padding: 32px;
  color: var(--white);
  text-align: center;
  background-image:
    linear-gradient(120deg, rgba(17, 23, 19, 0.34), rgba(17, 23, 19, 0.74)),
    url("assets/therapy-office-hero.png");
  background-size: cover;
  background-position: center;
}

.video-placeholder strong,
.video-placeholder p {
  display: block;
  max-width: 420px;
  margin: 78px auto 0;
  color: var(--white);
}

.video-placeholder p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
}

.approach-copy {
  display: grid;
  align-content: start;
  gap: 22px;
  max-width: 760px;
}

.check-list,
.modality-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li,
.modality-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before,
.modality-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clay);
}

.quick-info {
  align-self: start;
  padding: 30px;
  border: 1px solid rgba(77, 103, 93, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.quick-info dl {
  display: grid;
  gap: 18px;
  margin: 20px 0 0;
}

.quick-info div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(77, 103, 93, 0.18);
}

dt {
  color: var(--sage-dark);
  font-weight: 800;
}

dd {
  margin: 0;
  color: var(--muted);
}

.counselor {
  display: grid;
  grid-template-columns: 120px minmax(300px, 0.9fr) minmax(280px, 0.65fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
  background: var(--paper);
}

.counselor > div:nth-child(2) {
  display: grid;
  gap: 18px;
}

.profile-mark {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-dark);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.modality-list {
  padding: 28px;
  border-left: 4px solid var(--gold);
  background: #f5f1e9;
  border-radius: 0 8px 8px 0;
}

.steps {
  display: grid;
  grid-template-columns: minmax(260px, 0.6fr) minmax(320px, 1.25fr);
  gap: clamp(30px, 5vw, 72px);
  background: #f7f4ed;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-grid article,
.privacy-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.step-grid span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.confidentiality {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(320px, 1.2fr);
  gap: clamp(30px, 5vw, 72px);
}

.privacy-grid {
  display: grid;
  gap: 16px;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 520px);
  gap: clamp(28px, 6vw, 82px);
  padding: clamp(68px, 8vw, 118px) clamp(20px, 5vw, 72px);
  background: #262b28;
  color: var(--white);
}

.contact-band .eyebrow {
  color: var(--gold);
}

.contact-band p {
  max-width: 580px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font: inherit;
  padding: 13px 14px;
}

select {
  appearance: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(215, 168, 90, 0.38);
  border-color: var(--gold);
}

::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.contact-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-options a,
.contact-options span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.form-note {
  padding: 12px 14px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.form-success,
.form-error {
  padding: 12px 14px;
  border-radius: 8px;
  margin: 0;
  font-weight: 800;
}

.form-success {
  background: rgba(138, 160, 148, 0.24);
  color: #e7f4ec;
}

.form-error {
  background: rgba(181, 111, 84, 0.24);
  color: #ffe8df;
}

.site-footer,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--paper);
}

.site-footer p,
footer p {
  margin: 0;
}

.footer-brand,
.site-footer > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img,
.footer-logo {
  display: block;
  width: 118px;
  height: auto;
}

.ect-chatbot {
  position: fixed;
  right: clamp(18px, 3.2vw, 34px) !important;
  left: auto !important;
  bottom: clamp(18px, 3.2vw, 34px) !important;
  z-index: 9999;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ect-chat-nudge {
  position: absolute;
  right: 8px;
  bottom: 86px;
  width: max-content;
  max-width: min(310px, calc(100vw - 52px));
  padding: 13px 15px;
  border: 1px solid rgba(77, 103, 93, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 16px 42px rgba(32, 37, 35, 0.16);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
}

.ect-chat-nudge strong,
.ect-chat-nudge span {
  display: block;
}

.ect-chat-nudge span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.ect-chat-nudge::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  border-right: 1px solid rgba(77, 103, 93, 0.14);
  border-bottom: 1px solid rgba(77, 103, 93, 0.14);
  background: rgba(255, 255, 255, 0.96);
}

.ect-chatbot.is-open .ect-chat-nudge {
  display: none;
}

.ect-chatbot:not(.is-open) .ect-chat-panel {
  display: none !important;
}

.ect-chat-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 10px 18px 10px 10px;
  border: 1px solid rgba(215, 168, 90, 0.45);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(245, 241, 233, 0.98)),
    radial-gradient(circle at 20% 10%, rgba(215, 168, 90, 0.28), transparent 34%);
  color: var(--ink);
  box-shadow: 0 22px 55px rgba(32, 37, 35, 0.22);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.ect-chat-toggle::before {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(181, 111, 84, 0.26);
  animation: ect-chat-pulse 2.8s ease-out infinite;
}

.ect-chat-avatar {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(32, 37, 35, 0.12);
  overflow: hidden;
}

.ect-chat-avatar img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.ect-chat-label {
  display: grid;
  gap: 1px;
  text-align: left;
}

.ect-chat-label strong,
.ect-chat-label small {
  display: block;
}

.ect-chat-label strong {
  font-size: 1.04rem;
  line-height: 1.12;
}

.ect-chat-label small {
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes ect-chat-pulse {
  0% {
    opacity: 0.68;
    transform: scale(0.98);
  }

  70% {
    opacity: 0;
    transform: scale(1.12);
  }

  100% {
    opacity: 0;
    transform: scale(1.12);
  }
}

.ect-chat-panel {
  position: absolute;
  right: 0;
  left: auto;
  bottom: 98px;
  display: grid;
  width: min(405px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 110px));
  overflow: hidden;
  border: 1px solid rgba(77, 103, 93, 0.22);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.ect-chat-header {
  display: grid;
  grid-template-columns: 58px 1fr 34px;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(77, 103, 93, 0.96), rgba(32, 37, 35, 0.96)),
    radial-gradient(circle at 10% 20%, rgba(215, 168, 90, 0.42), transparent 40%);
  color: var(--white);
}

.ect-chat-header img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.ect-chat-title span,
.ect-chat-title strong,
.ect-chat-title small {
  display: block;
}

.ect-chat-title span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ect-chat-title strong {
  margin-top: 2px;
  color: var(--white);
  line-height: 1.2;
}

.ect-chat-title small {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  font-weight: 700;
}

.ect-chat-title i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8fd19e;
  box-shadow: 0 0 0 4px rgba(143, 209, 158, 0.18);
}

.ect-chat-close {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(77, 103, 93, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  pointer-events: auto;
}

.ect-chat-intro {
  padding: 15px 16px 2px;
  background: #fbfaf6;
}

.ect-chat-intro strong,
.ect-chat-intro p {
  display: block;
  margin: 0;
}

.ect-chat-intro strong {
  color: var(--ink);
}

.ect-chat-intro p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.ect-chat-log {
  display: grid;
  gap: 10px;
  min-height: 190px;
  max-height: 285px;
  overflow-y: auto;
  padding: 16px;
  background: #fbfaf6;
}

.ect-chat-message {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.ect-chat-message.user {
  justify-items: end;
}

.ect-chat-bubble {
  max-width: 88%;
  padding: 11px 13px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(32, 37, 35, 0.08);
  font-size: 0.95rem;
  line-height: 1.45;
}

.ect-chat-message.user .ect-chat-bubble {
  background: var(--sage-dark);
  color: var(--white);
}

.ect-chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ect-chat-actions a,
.ect-chat-prompts button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(77, 103, 93, 0.2);
  border-radius: 8px;
  background: #f5f1e9;
  color: var(--sage-dark);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
}

.ect-chat-prompts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 0 16px 14px;
  background: #fbfaf6;
}

.ect-chat-prompts button {
  display: grid;
  justify-items: start;
  align-content: center;
  min-height: 58px;
  padding: 10px 12px;
  text-align: left;
}

.ect-chat-prompts button strong,
.ect-chat-prompts button span {
  display: block;
}

.ect-chat-prompts button span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.ect-chat-form {
  display: grid;
  gap: 8px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.ect-chat-form label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.ect-chat-form > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.ect-chat-form input {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.ect-chat-form button {
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--clay);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .primary-navigation {
    display: none;
  }

  .hero {
    min-height: 88vh;
    grid-template-columns: 1fr;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(28, 34, 31, 0.78), rgba(28, 34, 31, 0.22)),
      linear-gradient(90deg, rgba(28, 34, 31, 0.48), transparent);
  }

  .intro-band,
  .split,
  .approach,
  .video-section,
  .counselor,
  .steps,
  .confidentiality,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .step-grid,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .profile-mark {
    width: 78px;
    height: 78px;
    font-size: 1.45rem;
  }

  .site-footer,
  footer {
    display: grid;
  }

  .footer-navigation .menu {
    flex-wrap: wrap;
  }

  .ect-chatbot {
    right: 14px !important;
    left: auto !important;
    bottom: 14px !important;
  }

  .ect-chat-nudge {
    display: none;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    max-width: calc(100vw - 32px);
  }

  .brand strong {
    font-size: clamp(0.76rem, 3.6vw, 0.94rem);
    white-space: nowrap;
  }

  .site-logo,
  .site-logo img,
  .custom-logo-link,
  .custom-logo {
    width: 68px;
  }

  .hero-overlay {
    padding: 122px 18px 54px;
  }

  h1 {
    font-size: clamp(2.1rem, 4.2vw, 4.1rem);
  }

  .button {
    width: 100%;
  }

  .intro-band div,
  .service-grid article,
  .step-grid article,
  .privacy-grid article,
  .modality-list,
  .quick-info {
    padding: 24px;
  }

  .quick-info div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ect-chat-panel {
    bottom: 82px;
  }

  .ect-chat-label small {
    display: none;
  }
}
