/*
Theme Name: Healthcare Growth Child
Theme URI: https://example.com/healthcare-growth-child
Description: A healthcare-focused digital marketing and web development child theme for USA medical practices, healthcare SaaS companies, EHR/EMR providers, and healthcare businesses.
Author: Codex
Author URI: https://example.com
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: healthcare-growth-child
*/

:root {
  --hgc-primary: #0f8b8d;
  --hgc-primary-hover: #0c7375;
  --hgc-secondary: #4da8da;
  --hgc-secondary-soft: #eaf6fc;
  --hgc-accent: #3bb273;
  --hgc-accent-soft: #eaf8f1;
  --hgc-background: #ffffff;
  --hgc-background-light: #f5f9fc;
  --hgc-text-dark: #1f2d3d;
  --hgc-text-grey: #5f6c7b;
  --hgc-border-light: #ddeaf2;
  --hgc-warning: #f59e0b;
  --hgc-error: #d64545;
  --hgc-shadow: 0 8px 24px rgba(31, 45, 61, 0.06);
}

body {
  color: var(--hgc-text-grey);
  font-family: "Inter", "Noto Sans", sans-serif;
  line-height: 1.7;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--hgc-text-dark);
  letter-spacing: 0;
}

a {
  color: var(--hgc-primary);
}

a:hover,
a:focus {
  color: var(--hgc-primary-hover);
}

.wp-site-blocks {
  background: var(--hgc-background);
}

.wp-site-blocks > .wp-block-group {
  position: relative;
}

.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content {
  color: var(--hgc-primary);
}

.wp-block-button__link,
.wp-element-button {
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.wp-block-button__link:hover,
.wp-element-button:hover {
  transform: translateY(-1px);
}

.is-style-hgc-primary .wp-block-button__link,
.wp-block-button:not(.is-style-outline):not(.is-style-hgc-secondary):not(.is-style-hgc-accent) .wp-block-button__link {
  background: var(--hgc-primary);
  color: #fff;
}

.is-style-hgc-primary .wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline):not(.is-style-hgc-secondary):not(.is-style-hgc-accent) .wp-block-button__link:hover {
  background: var(--hgc-primary-hover);
  color: #fff;
}

.is-style-hgc-secondary .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: #fff;
  border: 1px solid var(--hgc-secondary);
  color: var(--hgc-primary);
}

.is-style-hgc-secondary .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--hgc-secondary-soft);
  border-color: var(--hgc-primary);
  color: var(--hgc-primary-hover);
}

.is-style-hgc-accent .wp-block-button__link {
  background: var(--hgc-accent);
  color: #fff;
}

.is-style-hgc-accent .wp-block-button__link:hover {
  background: #2f965f;
  color: #fff;
}

.hgc-card {
  background: #fff;
  border: 1px solid var(--hgc-border-light);
  border-radius: 16px;
  box-shadow: var(--hgc-shadow);
  padding: 24px;
  position: relative;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hgc-card:hover {
  border-color: rgba(15, 139, 141, 0.28);
  box-shadow: 0 16px 38px rgba(31, 45, 61, 0.1);
  transform: translateY(-3px);
}

.hgc-card h3 {
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 12px;
  margin-top: 0;
}

.hgc-card-icon {
  align-items: center;
  background: linear-gradient(135deg, var(--hgc-secondary-soft), #fff);
  border: 1px solid var(--hgc-border-light);
  border-radius: 14px;
  color: var(--hgc-primary);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 18px;
  width: 48px;
}

.hgc-card-icon svg {
  height: 25px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 25px;
}

.hgc-card-icon.is-blue {
  color: var(--hgc-secondary);
}

.hgc-card-icon.is-green {
  color: var(--hgc-accent);
}

.hgc-card-icon.is-warning {
  color: var(--hgc-warning);
}

.hgc-card-icon.is-error {
  color: var(--hgc-error);
}

.hgc-feature-card {
  min-height: 100%;
}

.hgc-service-card {
  padding: 30px;
}

.hgc-modern-section {
  overflow: hidden;
}

.hgc-modern-hero {
  background:
    radial-gradient(circle at 84% 16%, rgba(77, 168, 218, 0.22), transparent 32%),
    radial-gradient(circle at 18% 22%, rgba(59, 178, 115, 0.14), transparent 30%),
    linear-gradient(180deg, #f7fbfd 0%, #ffffff 72%);
}

.hgc-kicker {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(221, 234, 242, 0.95);
  border-radius: 999px;
  color: var(--hgc-primary);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 9px;
  padding: 8px 13px;
}

.hgc-kicker::before {
  background: var(--hgc-accent);
  border-radius: 50%;
  content: "";
  height: 8px;
  width: 8px;
}

.hgc-hero-title {
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 22px;
  margin-top: 18px;
}

.hgc-hero-copy {
  color: var(--hgc-text-grey);
  font-size: 18px;
  line-height: 1.75;
  max-width: 690px;
}

.hgc-modern-visual {
  position: relative;
}

.hgc-modern-visual::before {
  background: linear-gradient(135deg, rgba(15, 139, 141, 0.16), rgba(77, 168, 218, 0.12));
  border-radius: 32px;
  content: "";
  inset: 24px -16px -18px 18px;
  position: absolute;
  transform: rotate(3deg);
}

.hgc-modern-visual img {
  border: 1px solid rgba(221, 234, 242, 0.95);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(31, 45, 61, 0.18);
  display: block;
  position: relative;
  width: 100%;
  z-index: 1;
}

.hgc-proof-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.hgc-proof-pill {
  align-items: center;
  background: #fff;
  border: 1px solid var(--hgc-border-light);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(31, 45, 61, 0.05);
  display: flex;
  gap: 10px;
  padding: 13px 14px;
}

.hgc-proof-pill svg {
  color: var(--hgc-primary);
  flex: 0 0 auto;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  width: 20px;
}

.hgc-proof-pill span {
  color: var(--hgc-text-dark);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
}

.hgc-bento {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(12, 1fr);
}

.hgc-bento-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--hgc-border-light);
  border-radius: 22px;
  box-shadow: 0 16px 48px rgba(31, 45, 61, 0.07);
  padding: 28px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hgc-bento-card:hover {
  border-color: rgba(15, 139, 141, 0.3);
  box-shadow: 0 24px 62px rgba(31, 45, 61, 0.12);
  transform: translateY(-4px);
}

.hgc-span-3 {
  grid-column: span 3;
}

.hgc-span-4 {
  grid-column: span 4;
}

.hgc-span-5 {
  grid-column: span 5;
}

.hgc-span-6 {
  grid-column: span 6;
}

.hgc-span-7 {
  grid-column: span 7;
}

.hgc-span-8 {
  grid-column: span 8;
}

.hgc-span-12 {
  grid-column: span 12;
}

.hgc-modern-icon {
  align-items: center;
  background: linear-gradient(135deg, var(--hgc-secondary-soft), #fff);
  border: 1px solid var(--hgc-border-light);
  border-radius: 16px;
  color: var(--hgc-primary);
  display: inline-flex;
  height: 52px;
  justify-content: center;
  margin-bottom: 18px;
  width: 52px;
}

.hgc-modern-icon svg {
  height: 26px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 26px;
}

.hgc-modern-card-title {
  color: var(--hgc-text-dark);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.22;
  margin: 0 0 10px;
}

.hgc-modern-card-copy {
  color: var(--hgc-text-grey);
  font-size: 15px;
  line-height: 1.68;
  margin: 0;
}

.hgc-answer-card {
  background:
    linear-gradient(135deg, rgba(234, 246, 252, 0.96), rgba(234, 248, 241, 0.8)),
    #fff;
  border: 1px solid var(--hgc-border-light);
  border-radius: 28px;
  box-shadow: 0 18px 60px rgba(31, 45, 61, 0.08);
  padding: clamp(28px, 5vw, 54px);
}

.hgc-answer-card strong {
  color: var(--hgc-text-dark);
}

.hgc-numbered-list {
  counter-reset: hgc-step;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  padding-left: 0;
}

.hgc-numbered-list li {
  background: #fff;
  border: 1px solid var(--hgc-border-light);
  border-radius: 18px;
  counter-increment: hgc-step;
  padding: 22px;
}

.hgc-numbered-list li::before {
  align-items: center;
  background: var(--hgc-primary);
  border-radius: 999px;
  color: #fff;
  content: counter(hgc-step, decimal-leading-zero);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 32px;
  justify-content: center;
  margin-bottom: 16px;
  width: 42px;
}

.hgc-modern-table {
  background: #fff;
  border: 1px solid var(--hgc-border-light);
  border-radius: 24px;
  box-shadow: 0 18px 54px rgba(31, 45, 61, 0.07);
  overflow: hidden;
}

.hgc-modern-table table {
  border-collapse: collapse;
  width: 100%;
}

.hgc-modern-table th,
.hgc-modern-table td {
  border-bottom: 1px solid var(--hgc-border-light);
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
}

.hgc-modern-table th {
  background: var(--hgc-secondary-soft);
  color: var(--hgc-text-dark);
  font-size: 14px;
  text-transform: none;
}

.hgc-modern-table tr:last-child td {
  border-bottom: 0;
}

.hgc-faq details {
  background: #fff;
  border: 1px solid var(--hgc-border-light);
  border-radius: 16px;
  margin-bottom: 12px;
  padding: 18px 20px;
}

.hgc-faq summary {
  color: var(--hgc-text-dark);
  cursor: pointer;
  font-weight: 800;
}

.hgc-faq p {
  margin-bottom: 0;
}

.hgc-modern-cta {
  background:
    radial-gradient(circle at 18% 28%, rgba(77, 168, 218, 0.24), transparent 26%),
    linear-gradient(135deg, #0f8b8d, #176c8f);
  border-radius: 32px;
  color: #fff;
  padding: clamp(34px, 6vw, 72px);
}

.hgc-modern-cta h2,
.hgc-modern-cta p {
  color: #fff;
}

.hgc-modern-cta .hgc-form-disclaimer {
  color: rgba(255, 255, 255, 0.82);
}

.hgc-soft-band {
  background: linear-gradient(180deg, #f5f9fc 0%, #ffffff 100%);
}

@media (max-width: 980px) {
  .hgc-proof-row,
  .hgc-numbered-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hgc-span-3,
  .hgc-span-4,
  .hgc-span-5,
  .hgc-span-6,
  .hgc-span-7,
  .hgc-span-8,
  .hgc-span-12 {
    grid-column: span 1;
  }
}

.hgc-highlight {
  background: var(--hgc-secondary-soft);
  border-left: 4px solid var(--hgc-primary);
  border-radius: 8px;
  padding: 20px 24px;
}

.hgc-success {
  background: var(--hgc-accent-soft);
  border-left: 4px solid var(--hgc-accent);
  border-radius: 8px;
  padding: 20px 24px;
}

.hgc-eyebrow {
  color: var(--hgc-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 12px;
  text-transform: none;
}

.hgc-icon {
  align-items: center;
  background: var(--hgc-secondary-soft);
  border: 1px solid var(--hgc-border-light);
  border-radius: 12px;
  color: var(--hgc-primary);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  margin-bottom: 18px;
  width: 44px;
}

.hgc-icon svg {
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  width: 24px;
}

.hgc-check-list {
  list-style: none;
  padding-left: 0;
}

.hgc-check-list li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
}

.hgc-check-list li::before {
  color: var(--hgc-accent);
  content: "✓";
  font-weight: 700;
  left: 0;
  position: absolute;
  top: 0;
}

.hgc-form-disclaimer {
  color: var(--hgc-text-grey);
  font-size: 14px;
  line-height: 1.6;
}

.hgc-grid {
  display: grid;
  gap: 24px;
}

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

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

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

.hgc-card .wp-block-heading + p {
  margin-top: 10px;
}

.hgc-card > a,
.hgc-card p > a {
  align-items: center;
  color: var(--hgc-primary);
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
  margin-top: 6px;
  text-decoration: none;
}

.hgc-card > a::after,
.hgc-card p > a::after {
  content: "→";
  transition: transform 180ms ease;
}

.hgc-card > a:hover::after,
.hgc-card p > a:hover::after {
  transform: translateX(3px);
}

.hgc-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding-left: 0;
}

.hgc-pill-list li {
  background: #fff;
  border: 1px solid var(--hgc-border-light);
  border-radius: 999px;
  color: var(--hgc-text-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
}

.hgc-comparison-table {
  border: 1px solid var(--hgc-border-light);
  border-radius: 16px;
  box-shadow: var(--hgc-shadow);
  overflow: hidden;
}

.hgc-comparison-table table {
  border-collapse: collapse;
  margin: 0;
  width: 100%;
}

.hgc-comparison-table th {
  background: var(--hgc-secondary-soft);
  color: var(--hgc-text-dark);
  font-weight: 700;
}

.hgc-comparison-table td,
.hgc-comparison-table th {
  border: 1px solid var(--hgc-border-light);
  padding: 16px;
  vertical-align: top;
}

.hgc-section-heading {
  max-width: 820px;
}

.hgc-section-heading.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.hgc-founder-photo img {
  border-radius: 16px;
  border: 1px solid var(--hgc-border-light);
  box-shadow: var(--hgc-shadow);
}

.hgc-hero-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(77, 168, 218, 0.18), transparent 30%),
    radial-gradient(circle at 16% 18%, rgba(59, 178, 115, 0.12), transparent 28%),
    linear-gradient(180deg, #f5f9fc 0%, #ffffff 100%);
  overflow: hidden;
}

.hgc-hero-section::after {
  background-image:
    linear-gradient(rgba(15, 139, 141, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 139, 141, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hgc-hero-section > * {
  position: relative;
  z-index: 1;
}

.hgc-hero-visual {
  animation: hgc-float 7s ease-in-out infinite;
  position: relative;
}

.hgc-hero-image {
  border: 1px solid rgba(221, 234, 242, 0.9);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(31, 45, 61, 0.16);
  display: block;
  height: auto;
  width: 100%;
}

.hgc-floating-stat {
  align-items: center;
  animation: hgc-rise 700ms ease both;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(221, 234, 242, 0.92);
  border-radius: 14px;
  box-shadow: 0 14px 38px rgba(31, 45, 61, 0.12);
  color: var(--hgc-text-dark);
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  position: absolute;
}

.hgc-floating-stat svg {
  color: var(--hgc-primary);
  flex: 0 0 auto;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  width: 22px;
}

.hgc-floating-stat strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}

.hgc-floating-stat span {
  color: var(--hgc-text-grey);
  display: block;
  font-size: 12px;
  line-height: 1.25;
}

.hgc-stat-one {
  left: -18px;
  top: 32px;
}

.hgc-stat-two {
  bottom: 34px;
  right: -18px;
}

.hgc-stat-three {
  bottom: -22px;
  left: 52px;
}

.hgc-section-intro {
  max-width: 820px;
}

.hgc-section-intro.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hgc-media-band {
  background: linear-gradient(135deg, var(--hgc-secondary-soft), #fff);
  border: 1px solid var(--hgc-border-light);
  border-radius: 24px;
  box-shadow: var(--hgc-shadow);
  overflow: hidden;
  padding: 16px;
}

.hgc-media-band img {
  border-radius: 16px;
  display: block;
  height: auto;
  width: 100%;
}

.hgc-card,
.hgc-highlight,
.hgc-success,
.hgc-comparison-table,
.hgc-media-band {
  animation: hgc-rise 560ms ease both;
}

@keyframes hgc-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hgc-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

.hgc-dashboard {
  background:
    linear-gradient(135deg, rgba(15, 139, 141, 0.12), rgba(77, 168, 218, 0.12)),
    #fff;
  border: 1px solid var(--hgc-border-light);
  border-radius: 16px;
  box-shadow: var(--hgc-shadow);
  padding: 24px;
}

.hgc-dashboard-bar {
  background: var(--hgc-secondary-soft);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.hgc-dashboard-bar span {
  background: var(--hgc-primary);
  border-radius: inherit;
  display: block;
  height: 100%;
}

.hgc-dashboard-stat {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--hgc-border-light);
  border-radius: 12px;
  padding: 16px;
}

input,
textarea,
select {
  border: 1px solid var(--hgc-border-light);
  border-radius: 8px;
  color: var(--hgc-text-dark);
  font-family: inherit;
  padding: 12px 14px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--hgc-primary);
  box-shadow: 0 0 0 3px rgba(15, 139, 141, 0.14);
  outline: none;
}

@media (max-width: 781px) {
  .hgc-card,
  .hgc-dashboard {
    padding: 20px;
  }

  .hgc-grid-2,
  .hgc-grid-3,
  .hgc-grid-4 {
    grid-template-columns: 1fr;
  }

  .hgc-hero-section {
    padding-top: 48px !important;
  }

  .hgc-floating-stat {
    margin-top: 10px;
    position: static;
  }

  .hgc-hero-visual {
    animation: none;
  }

  .hgc-comparison-table {
    overflow-x: auto;
  }

  .hgc-comparison-table table {
    min-width: 760px;
  }

  .hgc-proof-row,
  .hgc-numbered-list,
  .hgc-bento {
    grid-template-columns: 1fr;
  }

  .hgc-hero-title {
    font-size: 38px;
  }

  .hgc-modern-table {
    overflow-x: auto;
  }

  .hgc-modern-table table {
    min-width: 760px;
  }
}
