/*
Theme Name: Human Touch Call Center
Theme URI: https://humantouchansweringservice.com
Author: Human Touch Call Center
Description: Custom WordPress theme for Human Touch Call Center, an Atlanta-based answering and online reply service.
Version: 1.2.3
Text Domain: human-touch
*/

:root {
  --teal: #087f82;
  --teal-dark: #045f62;
  --ink: #141414;
  --charcoal: #282a2b;
  --cream: #fbf3e4;
  --paper: #fffaf1;
  --mist: #eef8f7;
  --line: #d9e3df;
  --gold: #c29b55;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(20, 20, 20, 0.14);
  --radius: 8px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 241, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand span {
  display: block;
  line-height: 1.08;
}

.brand small {
  display: block;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 6px;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
  color: var(--teal-dark);
  background: var(--mist);
}

.btn,
button.btn,
input.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--teal);
  border-radius: 6px;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(8, 127, 130, 0.18);
}

.btn:hover {
  background: var(--teal-dark);
  color: var(--white);
}

.btn.secondary {
  background: transparent;
  color: var(--teal-dark);
  box-shadow: none;
}

.btn.light {
  background: var(--white);
  border-color: var(--white);
  color: var(--teal-dark);
}

.btn.light:hover {
  background: var(--cream);
  color: var(--teal-dark);
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(251, 243, 228, 0.98) 0%, rgba(251, 243, 228, 0.92) 43%, rgba(251, 243, 228, 0.24) 78%), url("assets/images/human-touch-hero.png");
  background-size: cover;
  background-position: center right;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background: linear-gradient(180deg, rgba(255, 250, 241, 0), var(--paper));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(690px, 100%);
  padding: 78px 0 112px;
}

.home-hero-immersive h1,
.home-hero-immersive .lead,
.home-hero-immersive .eyebrow {
  color: var(--white);
}

.home-hero-immersive h1,
.home-hero-immersive .lead {
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.32);
}

.home-hero-immersive .btn.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.home-hero-immersive .proof-item {
  border-left-color: var(--gold);
  background: rgba(255, 255, 255, 0.13);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.home-hero-immersive .proof-item strong,
.home-hero-immersive .proof-item span {
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-weight: 900;
  font-size: 0.84rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.5rem);
}

.section h2 {
  max-width: 760px;
  font-size: clamp(1.65rem, 2.4vw, 2.55rem);
  line-height: 1.16;
}

h3 {
  font-size: 1.28rem;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 650px;
  color: #343536;
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 38px;
  max-width: 670px;
}

.proof-item {
  border-left: 4px solid var(--teal);
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.62);
}

.proof-item strong {
  display: block;
  font-size: 1.28rem;
}

.section {
  padding: 86px 0;
}

.section.tight {
  padding: 58px 0;
}

.section.alt {
  background: var(--white);
}

.section.mist {
  background: var(--mist);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: #4c5151;
}

.service-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 46px;
  align-items: start;
}

.service-intro p:last-child {
  margin-bottom: 0;
}

.service-grid .service-card {
  display: flex;
  flex-direction: column;
}

.service-card a {
  margin-top: auto;
  font-weight: 800;
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.05);
}

.card.featured {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.icon {
  width: 54px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--mist);
  color: var(--teal-dark);
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.list {
  padding-left: 18px;
}

.list li {
  margin-bottom: 8px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 46px;
  align-items: center;
}

.callout {
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px;
}

.callout h2,
.callout h3,
.callout p {
  color: var(--white);
}

.callout .btn.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.contact-band .btn.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.contact-band .email-button {
  min-width: 210px;
}

.page-hero {
  padding: 88px 0 62px;
  background: linear-gradient(135deg, var(--cream), var(--mist));
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

.page-hero .lead {
  max-width: 760px;
}

.services-hero {
  min-height: 620px;
  display: grid;
  align-items: center;
  background-size: cover;
  background-position: center right;
  border-bottom: 0;
}

.services-hero h1,
.services-hero .lead,
.services-hero .eyebrow {
  color: var(--white);
}

.services-hero h1,
.services-hero .lead {
  max-width: 760px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

.services-hero .btn.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.services-hero .btn.secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.services-hero ~ .section h2 {
  max-width: 720px;
  font-size: clamp(1.65rem, 2.4vw, 2.55rem);
  line-height: 1.16;
}

.services-hero ~ .section .section-head {
  align-items: flex-start;
}

.services-hero ~ .section .section-head h2 {
  max-width: 620px;
}

.services-hero ~ .section.contact-band h2 {
  max-width: 760px;
}

.page-hero:not(.services-hero) h1 {
  max-width: 980px;
  font-size: clamp(2.25rem, 4.5vw, 4.2rem);
}

.page-hero:not(.services-hero) .lead {
  max-width: 820px;
}

.page-visual-section {
  padding: 44px 0 0;
  background: var(--paper);
}

.page-visual {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 16px 0;
}

.price strong {
  font-size: 2.4rem;
  line-height: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-band {
  background: var(--teal-dark);
  color: var(--white);
}

.contact-band h2,
.contact-band p,
.contact-band a {
  color: var(--white);
}

.form {
  display: grid;
  gap: 14px;
}

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

label {
  display: grid;
  gap: 6px;
  font-weight: 800;
  color: var(--charcoal);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd8d3;
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.hp-field {
  display: none;
}

.form-status {
  padding: 12px 14px;
  border-radius: 6px;
  margin-bottom: 18px;
  font-weight: 800;
}

.form-status.success {
  background: #e5f6ed;
  color: #11653a;
}

.form-status.error {
  background: #ffe9e7;
  color: #9e261e;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 54px 0 28px;
}

.site-footer a,
.site-footer p,
.site-footer h3 {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 28px;
  margin-bottom: 32px;
}

.footer-brand img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  background: var(--cream);
  border-radius: 8px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 18px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    background-image: linear-gradient(180deg, rgba(251, 243, 228, 0.98), rgba(251, 243, 228, 0.84)), url("assets/images/human-touch-hero.png");
    background-position: center;
  }

  .hero-content {
    padding: 64px 0 96px;
  }

  .hero-proof,
  .grid.three,
  .grid.four,
  .grid.two,
  .service-intro,
  .split,
  .footer-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .page-visual {
    aspect-ratio: 4 / 3;
  }

  .services-hero {
    min-height: 560px;
    background-position: center;
  }

  .section-head {
    display: block;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 26px, 1160px);
  }

  .main-nav a {
    padding: 8px 9px;
  }

  .hero-actions,
  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
