/*
Theme Name: HealthSoftware
Theme URI: https://healthsoftware.pro
Author: HealthSoftware.pro
Description: A colorful, simple one-page theme for massage, wellness, and cloud DevOps services.
Version: 1.4.2
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: healthsoftware
Domain Path: /languages
*/

:root {
  --ink: #18232b;
  --muted: #5f6b73;
  --paper: #fffdf9;
  --soft: #f5f0e9;
  --line: rgba(24, 35, 43, 0.12);
  --green: #b8e986;
  --green-dark: #244f37;
  --coral: #ff826d;
  --peach: #ffd6a5;
  --blue: #7dc9ff;
  --blue-dark: #214e72;
  --purple: #b9a5ff;
  --white: #fff;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --shadow: 0 18px 55px rgba(43, 51, 56, 0.1);
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-header {
  top: 32px;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  top: 10px;
  left: 10px;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 10px 14px;
  margin: 0;
  clip: auto;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
}

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(255, 253, 249, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: padding 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  padding-block: 10px;
  border-color: var(--line);
}

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

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

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  overflow: hidden;
  background: var(--ink);
  border-radius: 12px;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  border-radius: 999px;
}

.brand-mark::before {
  width: 23px;
  height: 10px;
  top: 7px;
  left: 8px;
  background: var(--green);
  transform: rotate(-28deg);
}

.brand-mark::after {
  width: 10px;
  height: 23px;
  right: 7px;
  bottom: 5px;
  background: var(--coral);
  transform: rotate(36deg);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav a {
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--blue-dark);
}

.primary-nav .language-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.primary-nav .language-switcher ul {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav .language-switcher li,
.primary-nav .language-switcher a {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border-radius: 50%;
}

.primary-nav .language-switcher a {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.primary-nav .language-switcher a:hover,
.primary-nav .language-switcher a:focus-visible {
  background: var(--soft);
  color: var(--ink);
}

.primary-nav .language-switcher .is-current a {
  background: var(--ink);
  color: var(--white);
}


.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  text-decoration: none;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--white) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--ink);
  color: var(--white);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 102px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  width: 330px;
  height: 330px;
  top: -100px;
  right: -120px;
  content: "";
  background: var(--peach);
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  content: "";
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(36, 79, 55, 0.12);
}

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

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 750px;
  margin-bottom: 24px;
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 850;
}

h1 .accent {
  position: relative;
  display: inline-block;
  z-index: 0;
}

h1 .accent::after {
  position: absolute;
  z-index: -1;
  right: -0.04em;
  bottom: 0.08em;
  left: -0.04em;
  height: 0.25em;
  content: "";
  background: var(--green);
  border-radius: 999px;
  transform: rotate(-1deg);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 13px 22px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(24, 35, 43, 0.12);
}

.button--primary {
  background: var(--coral);
}

.button--secondary {
  background: var(--blue);
}

.button--light {
  background: var(--white);
  border-color: var(--white);
}

.button svg {
  width: 18px;
  height: 18px;
}

.hero-art {
  position: relative;
  min-height: 510px;
}

.art-panel {
  position: absolute;
  inset: 34px 20px 30px 42px;
  overflow: hidden;
  background: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}

.art-panel::before {
  position: absolute;
  width: 310px;
  height: 310px;
  right: -80px;
  bottom: -95px;
  content: "";
  background: var(--blue);
  border-radius: 50%;
}

.art-panel::after {
  position: absolute;
  width: 230px;
  height: 230px;
  top: -88px;
  left: -78px;
  content: "";
  background: var(--green);
  border-radius: 42% 58% 62% 38%;
}

.art-line {
  position: absolute;
  z-index: 2;
  width: 270px;
  height: 150px;
  top: 175px;
  left: 72px;
  border: 4px solid var(--white);
  border-color: var(--white) transparent transparent var(--white);
  border-radius: 50%;
  transform: rotate(-18deg);
  opacity: 0.85;
}

.art-dot {
  position: absolute;
  z-index: 3;
  width: 96px;
  height: 96px;
  top: 170px;
  right: 72px;
  background: var(--coral);
  border: 10px solid var(--ink);
  border-radius: 50%;
}

.floating-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 205px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.floating-card--one {
  top: 10px;
  right: 0;
  transform: rotate(-3deg);
}

.floating-card--two {
  bottom: 0;
  left: 0;
  transform: rotate(2deg);
}

.floating-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 13px;
}

.floating-card--one .floating-icon {
  background: var(--peach);
}

.floating-card--two .floating-icon {
  background: var(--purple);
}

.floating-icon svg {
  width: 23px;
  height: 23px;
}

.section {
  padding: 104px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.section-heading h2 {
  max-width: 690px;
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 62px);
}

.section-heading > p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
}

.service-section {
  scroll-margin-top: 80px;
}

.service-section--massage {
  background: var(--soft);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 48px;
}

.service-intro {
  align-self: start;
}

.service-intro h2 {
  margin-bottom: 22px;
  font-size: clamp(42px, 5vw, 68px);
}

.service-intro p:not(.eyebrow) {
  margin: 0 0 30px;
  color: var(--muted);
}

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

.service-card {
	display: block;
	min-height: 222px;
	padding: 26px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	color: inherit;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px) rotate(-0.5deg);
  box-shadow: var(--shadow);
}

.service-card:nth-child(2n):hover {
	transform: translateY(-5px) rotate(0.5deg);
}

.service-card:focus-visible {
	outline: 3px solid var(--blue-dark);
	outline-offset: 3px;
}

.service-card-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 16px;
}

.service-card:nth-child(4n + 1) .service-card-icon { background: var(--green); }
.service-card:nth-child(4n + 2) .service-card-icon { background: var(--peach); }
.service-card:nth-child(4n + 3) .service-card-icon { background: var(--blue); }
.service-card:nth-child(4n + 4) .service-card-icon { background: var(--purple); }

.service-card-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.service-section--devops {
  background: var(--ink);
  color: var(--white);
}

.service-section--devops .eyebrow {
  color: var(--blue);
}

.service-section--devops .eyebrow::before {
  box-shadow: 0 0 0 5px rgba(125, 201, 255, 0.14);
}

.service-section--devops .service-intro p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.66);
}

.service-section--devops .service-card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

.service-section--devops .service-card p {
  color: rgba(255, 255, 255, 0.66);
}

.service-section--devops .button--secondary {
  color: var(--ink);
  border-color: var(--blue);
}

.about {
  overflow: hidden;
}

.about-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  overflow: hidden;
  padding: clamp(36px, 6vw, 80px);
  background: var(--peach);
  border-radius: var(--radius-lg);
}

.about-card::before {
  position: absolute;
  width: 210px;
  height: 210px;
  right: -70px;
  bottom: -85px;
  content: "";
  background: var(--coral);
  border: 30px solid var(--paper);
  border-radius: 50%;
  opacity: 0.75;
}

.about-card h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 60px);
}

.about-copy {
  position: relative;
  z-index: 1;
}

.about-copy p {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 29px);
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.about-values span {
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(24, 35, 43, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.contact {
  padding-top: 20px;
  padding-bottom: 110px;
  scroll-margin-top: 80px;
}

.contact-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  overflow: hidden;
  padding: clamp(36px, 6vw, 72px);
  background: var(--purple);
  border-radius: var(--radius-lg);
}

.contact-card::after {
  position: absolute;
  width: 180px;
  height: 180px;
  right: 28%;
  bottom: -135px;
  content: "";
  border: 25px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.contact-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.contact-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(40px, 5vw, 64px);
}

.contact-copy p {
  margin: 0;
  font-size: 19px;
}

.contact-card .button {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

.site-footer {
  padding: 32px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer .brand {
  color: var(--white);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--white);
}

.entry-content,
.entry-header,
.not-found {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
}

.entry-header,
.not-found {
  padding-top: 80px;
}

.entry-content,
.not-found {
  padding-bottom: 90px;
}

.entry-header h1,
.not-found h1 {
  font-size: clamp(42px, 6vw, 72px);
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-art {
    min-height: 430px;
  }

  .art-panel {
    inset: 25px 50px 25px 70px;
  }

  .service-layout,
  .about-card {
    grid-template-columns: 1fr;
  }

  .service-intro {
    max-width: 720px;
  }

  .about-card {
    gap: 32px;
  }

  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .container {
    width: min(calc(100% - 28px), var(--content));
  }

  .site-header {
    padding-block: 12px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    align-items: stretch;
    padding: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav ul {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 5px;
  }

  .primary-nav .language-switcher {
    width: 100%;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    padding: 14px 12px 0;
    margin-top: 8px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .primary-nav .language-switcher li,
  .primary-nav .language-switcher a {
    width: 38px;
  }

  .primary-nav .language-switcher a {
    display: grid;
    height: 38px;
    padding: 0;
  }

  .primary-nav li,
  .primary-nav a {
    width: 100%;
  }

  .primary-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
  }

  .primary-nav a:hover,
  .primary-nav a:focus-visible {
    background: var(--soft);
  }

  .primary-nav .header-cta {
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    padding: 56px 0 72px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 70px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-art {
    min-height: 350px;
  }

  .art-panel {
    inset: 30px 12px 30px 24px;
  }

  .art-line {
    width: 210px;
    height: 120px;
    top: 125px;
    left: 45px;
  }

  .art-dot {
    width: 74px;
    height: 74px;
    top: 126px;
    right: 34px;
  }

  .floating-card {
    min-width: 170px;
    padding: 12px 14px;
    font-size: 12px;
  }

  .floating-card--one {
    right: 4px;
  }

  .floating-card--two {
    left: 2px;
  }

  .section {
    padding-block: 74px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .service-layout {
    gap: 34px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .about-card,
  .contact-card {
    border-radius: 28px;
  }

  .contact {
    padding-bottom: 74px;
  }

  .footer-inner,
  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
