/* ==========================================================================
   Happy Healthcare — Site Revamp
   New design layer. Loaded after the legacy template stylesheets so it can
   safely override them. Legacy stylesheets are kept in place for anything
   not covered here (forms, grid helpers, etc).
   ========================================================================== */

:root {
  --hh-accent: #db4a2b;
  --hh-accent-dark: #b23a20;
  --hh-ink: #1c1a17;
  --hh-body: #4a453f;
  --hh-muted: #6b6560;
  --hh-bg: #faf8f5;
  --hh-surface-alt: #f3eee5;
  --hh-line: #ece7df;
  --hh-dark: #18140f;
  --hh-dark-line: #3a322a;
  --font-display: 'Fraunces', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--hh-ink);
}

/* ==========================================================================
   Header
   ========================================================================== */

.hh-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #ffffff;
  border-bottom: 1px solid var(--hh-line);
}

.hh-header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hh-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.hh-logo img {
  height: 34px;
  width: auto;
  display: block;
}

.hh-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.hh-nav a {
  color: var(--hh-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.hh-nav a:hover {
  color: var(--hh-ink);
}

.hh-nav a.is-active {
  color: var(--hh-accent);
}

.hh-header-cta {
  display: inline-flex;
  flex-shrink: 0;
  background: var(--hh-accent);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.hh-header-cta:hover {
  background: var(--hh-accent-dark);
}

.hh-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hh-mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--hh-ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hh-mobile-panel {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px clamp(20px, 4vw, 48px) 20px;
  border-top: 1px solid var(--hh-line);
}

.hh-mobile-panel a {
  color: var(--hh-ink);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--hh-line);
}

.hh-mobile-panel a.is-active {
  color: var(--hh-accent);
}

.hh-mobile-panel .hh-header-cta {
  margin-top: 16px;
  text-align: center;
  justify-content: center;
}

body.hh-menu-open .hh-mobile-panel {
  display: flex;
}

body.hh-menu-open .hh-mobile-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.hh-menu-open .hh-mobile-toggle span:nth-child(2) {
  opacity: 0;
}

body.hh-menu-open .hh-mobile-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media only screen and (max-width: 900px) {
  .hh-nav,
  .hh-header-inner > .hh-header-cta {
    display: none;
  }
  .hh-mobile-toggle {
    display: flex;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.hh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hh-btn-primary {
  background: var(--hh-accent);
  color: #ffffff !important;
}

.hh-btn-primary:hover {
  background: var(--hh-accent-dark);
}

.hh-btn-ghost {
  background: transparent;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.5);
}

.hh-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hh-btn-whatsapp {
  background: #25d366;
  color: #ffffff !important;
}

.hh-btn-whatsapp:hover {
  background: #1fb855;
}

.hh-btn-outline {
  background: transparent;
  color: var(--hh-ink) !important;
  border-color: var(--hh-line);
}

.hh-btn-outline:hover {
  background: var(--hh-surface-alt);
}

/* ==========================================================================
   Feature list (icon + text rows)
   ========================================================================== */

.hh-feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hh-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.hh-feature-row .hh-check-dot {
  margin-top: 4px;
}

.hh-feature-row .hh-feature-text strong {
  display: block;
  font-size: 16px;
  color: var(--hh-ink);
  margin-bottom: 2px;
}

.hh-feature-row .hh-feature-text span {
  font-size: 15px;
  color: var(--hh-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hh-hero {
  position: relative;
  width: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(rgba(20, 18, 15, 0.78), rgba(20, 18, 15, 0.62)), url('../images/about.jpg');
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
  padding: clamp(80px, 10vw, 120px) clamp(20px, 4vw, 48px) 140px;
}

.hh-hero-inner {
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
}

.hh-hero-content {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hh-eyebrow {
  color: var(--hh-accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hh-eyebrow-on-dark {
  color: #f2a58a;
}

.hh-hero h1 {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.12;
  font-weight: 500;
  margin: 0;
}

.hh-hero p {
  color: #e8e3db;
  font-size: 17px;
  line-height: 1.65;
  max-width: 600px;
  margin: 0;
}

.hh-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hh-stats-wrap {
  max-width: 1360px;
  margin: -72px auto 0;
  padding: 0 clamp(20px, 4vw, 48px);
  position: relative;
  z-index: 2;
}

.hh-stats {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(28, 26, 23, 0.14);
  display: flex;
  flex-wrap: wrap;
}

.hh-stat {
  flex: 1 1 220px;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--hh-line);
}

.hh-stat:last-child {
  border-right: none;
}

.hh-stat strong {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--hh-accent);
}

.hh-stat span {
  font-size: 14px;
  color: var(--hh-muted);
}

/* ==========================================================================
   Generic sections
   ========================================================================== */

.hh-section {
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(96px, 10vw, 140px) clamp(20px, 4vw, 48px);
}

.hh-section-tight {
  padding-top: clamp(64px, 8vw, 96px);
}

.hh-section-alt {
  background: var(--hh-surface-alt);
  width: 100%;
  box-sizing: border-box;
  padding: clamp(72px, 8vw, 100px) clamp(20px, 4vw, 48px);
}

.hh-section-alt.hh-photo-bg {
  background-image: linear-gradient(rgba(20, 18, 15, 0.74), rgba(20, 18, 15, 0.6)), url('../images/why-choose-us1.jpg');
  background-size: cover;
  background-position: center;
}

.hh-photo-bg .hh-section-head h2 {
  color: #ffffff;
}

.hh-section-alt > .hh-inner,
.hh-section > .hh-inner {
  max-width: 1360px;
  margin: 0 auto;
}

.hh-row {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: center;
}

.hh-col {
  flex: 1 1 420px;
  min-width: 0;
}

.hh-img {
  width: 100%;
  height: clamp(320px, 34vw, 440px);
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.hh-heading-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hh-heading-group h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

.hh-heading-group p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--hh-body);
  max-width: 520px;
  margin: 0;
}

.hh-section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

.hh-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  margin-top: 12px;
}

/* ==========================================================================
   Cards
   ========================================================================== */

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

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

.hh-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

@media only screen and (max-width: 900px) {
  .hh-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hh-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hh-card-bordered {
  border: 1px solid var(--hh-line);
}

.hh-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(28, 26, 23, 0.1);
}

.hh-card img.hh-card-icon {
  width: 56px;
  height: 56px;
}

.hh-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  font-family: var(--font-body);
}

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

.hh-card-index {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--hh-accent);
  font-weight: 600;
}

.hh-section-headrow {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
}

.hh-link-accent {
  font-weight: 700;
  font-size: 15px;
  color: var(--hh-accent);
  border-bottom: 1.5px solid var(--hh-accent);
  padding-bottom: 2px;
  white-space: nowrap;
  text-decoration: none;
}

/* ==========================================================================
   Alibaba partner banner (homepage)
   ========================================================================== */

.hh-alibaba {
  background: var(--hh-dark);
  width: 100%;
  box-sizing: border-box;
  padding: clamp(72px, 8vw, 100px) clamp(20px, 4vw, 48px);
}

.hh-alibaba-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
}

.hh-pill {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  color: #f2a58a;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
}

.hh-alibaba h2 {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

.hh-alibaba p {
  color: #c9c2b7;
  font-size: 16px;
  line-height: 1.7;
  max-width: 520px;
  margin: 0;
}

.hh-alibaba-card {
  background: #221d17;
  border: 1px solid var(--hh-dark-line);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hh-alibaba-card-title {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
}

.hh-alibaba-divider {
  height: 1px;
  background: var(--hh-dark-line);
}

.hh-check-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hh-check-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--hh-accent);
  flex-shrink: 0;
}

.hh-check-row span.label {
  color: #e8e3db;
  font-size: 15px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.hh-footer {
  background: var(--hh-dark);
  width: 100%;
  box-sizing: border-box;
  padding: 56px clamp(20px, 4vw, 48px) 32px;
}

.hh-footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hh-footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.hh-footer-logo img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}

.hh-footer-col h4 {
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.hh-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hh-footer-nav a,
.hh-footer-contact p,
.hh-footer-contact a {
  color: #c9c2b7;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  margin: 0;
  line-height: 1.6;
}

.hh-footer-nav a:hover,
.hh-footer-contact a:hover {
  color: #ffffff;
}

.hh-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hh-footer-divider {
  height: 1px;
  background: var(--hh-dark-line);
}

.hh-footer-bottom {
  color: #8a8278;
  font-size: 13px;
}

/* ==========================================================================
   Inner-page hero banner (Expertise / Contact / Alibaba)
   ========================================================================== */

.headings,
.inner-page .headings {
  height: auto !important;
  min-height: 0 !important;
  background-color: var(--hh-dark);
  background-attachment: initial !important;
  background-size: cover;
  background-position: center;
  padding: 150px clamp(20px, 4vw, 48px) 64px;
  box-sizing: border-box;
}

.inner-page .headings .text-heading h1 {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 48px);
  margin-top: 0;
}

.inner-page .headings.headings-bg,
.inner-page .headings.headings-bg1,
.inner-page .headings.headings-inner1 {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.inner-page .headings.headings-bg {
  background-image: linear-gradient(rgba(20, 18, 15, 0.78), rgba(20, 18, 15, 0.62)), url('../images/bg.jpg');
}

.inner-page .headings.headings-bg1 {
  background-image: linear-gradient(rgba(10, 18, 28, 0.78), rgba(10, 18, 28, 0.64)), url('../images/bg1.jpg');
}

.inner-page .headings.headings-inner1 {
  background-image: linear-gradient(rgba(20, 18, 15, 0.74), rgba(20, 18, 15, 0.58)), url('../images/inner-bg-1.jpg');
}

/* ==========================================================================
   Expertise accordion restyle
   ========================================================================== */

.qa-section {
  max-width: 1150px;
  margin: 0 auto;
  padding: 64px 20px 96px;
}

.qa-section .section-title h2 {
  font-family: var(--font-display);
}

.qa-question {
  background: #ffffff;
  border: 1px solid var(--hh-line);
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
}

.qa-question:hover {
  background: var(--hh-surface-alt);
}

.qa-icon {
  color: var(--hh-accent);
}

.qa-answer {
  background: var(--hh-surface-alt);
  border-left: 3px solid var(--hh-accent);
  border-radius: 0 12px 12px 0;
  line-height: 1.7;
  color: var(--hh-body);
}

ul.bullet-check li::before {
  color: var(--hh-accent);
}

/* ==========================================================================
   Contact page restyle
   ========================================================================== */

.contact {
  padding: 64px 0 100px;
}

.contact .section-title h2 {
  font-family: var(--font-display);
}

.input-custom,
.textarea-custom {
  border: 1px solid var(--hh-line) !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
}

.input-custom:focus,
.textarea-custom:focus {
  border-color: var(--hh-accent) !important;
  box-shadow: none !important;
}

.info-touch h4 {
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 24px;
}

.contact-row i {
  color: var(--hh-accent);
}

.button--wayra {
  border-radius: 999px;
  border-color: var(--hh-ink);
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media only screen and (max-width: 680px) {
  .hh-grid-3,
  .hh-grid-2,
  .hh-grid-4 {
    grid-template-columns: 1fr;
  }

  .hh-stat {
    border-right: none;
    border-bottom: 1px solid var(--hh-line);
  }

  .hh-stat:last-child {
    border-bottom: none;
  }

  .hh-stats-wrap {
    margin-top: -48px;
  }

  .hh-alibaba-card,
  .hh-card {
    padding: 28px 24px;
  }

  .inner-page .headings {
    padding-top: 120px;
  }
}
