/*
Theme Name: Hair By Amy Child
Theme URI: https://hairbyamy.co.uk
Description: Custom Divi Child Theme for Hair By Amy
Author: Michael Wood
Template: Divi
Version: 1.0
*/

/* ==================================================
   ROOT
================================================== */

:root {
  --hba-primary: #2f3429;
  --hba-secondary: #6f7f5f;
  --hba-sage: #9aaa87;
  --hba-blush: #ead8cf;
  --hba-accent: #d8c7b5;
  --hba-cream: #f8f5f1;
  --hba-soft: #f1e8df;
  --hba-white: #ffffff;
  --hba-text: #4f4a45;
  --hba-border: rgba(47, 52, 41, 0.1);

  --hba-heading: Georgia, "Times New Roman", serif;
  --hba-body: Arial, Helvetica, sans-serif;

  --hba-transition: 0.25s ease;
}

/* ==================================================
   RESET
================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--hba-white);
  color: var(--hba-text);
  font-family: var(--hba-body);
  overflow-x: hidden;
}

/* ==================================================
   HEADER
================================================== */

.hba-header {
  position: relative;
  top: 0;
  z-index: 99999;
  width: 100%;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(234, 216, 207, 0.55),
      transparent 26%
    ),
    radial-gradient(
      circle at 92% 50%,
      rgba(154, 170, 135, 0.18),
      transparent 22%
    ),
    linear-gradient(135deg, #f8f5f1 0%, #ffffff 52%, #f1e8df 100%);
  color: var(--hba-primary);
  border-bottom: 1px solid var(--hba-border);
  box-shadow: 0 12px 35px rgba(47, 52, 41, 0.05);
}

.hba-header__inner {
  position: relative;
  min-height: 98px;
  width: min(100% - 72px, 1480px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}

/* Logo */

.hba-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.hba-logo img,
.hba-logo .custom-logo {
  width: 235px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Navigation */

.hba-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 38px;
}

.hba-nav > a,
.hba-nav__item > a {
  position: relative;
  padding: 39px 0;
  color: var(--hba-primary);
  text-decoration: none;
  font-family: var(--hba-heading);
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  transition: var(--hba-transition);
}

.hba-nav > a::after,
.hba-nav__item > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 29px;
  width: 0;
  height: 1px;
  background: var(--hba-secondary);
  transition: width var(--hba-transition);
}

.hba-nav > a:hover,
.hba-nav__item > a:hover {
  color: var(--hba-secondary);
}

.hba-nav > a:hover::after,
.hba-nav__item > a:hover::after {
  width: 100%;
}

.hba-nav__item {
  position: relative;
}

.hba-nav__chevron {
  margin-left: 7px;
  font-size: 14px;
  color: var(--hba-secondary);
}

/* Dropdown */

.hba-dropdown {
  position: absolute;
  top: calc(100% - 8px);
  left: -24px;
  width: 265px;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--hba-border);
  box-shadow: 0 24px 55px rgba(47, 52, 41, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: var(--hba-transition);
}

.hba-nav__item:hover .hba-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hba-dropdown a {
  display: block;
  padding: 14px 24px;
  color: var(--hba-text);
  text-decoration: none;
  font-family: var(--hba-body);
  font-size: 14px;
  line-height: 1.4;
  transition: var(--hba-transition);
}

.hba-dropdown a:hover {
  background: var(--hba-cream);
  color: var(--hba-secondary);
  padding-left: 31px;
}

/* Contact Details */

.hba-header__details {
  margin-left: 28px;
  padding-left: 32px;
  border-left: 1px solid var(--hba-border);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.hba-header__details a {
  color: rgba(47, 52, 41, 0.72);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: var(--hba-transition);
}

.hba-header__details a:hover {
  color: var(--hba-secondary);
}

/* Mobile Toggle */

.hba-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--hba-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  padding: 0;
}

.hba-menu-toggle span {
  display: block;
  width: 21px;
  height: 1px;
  margin: 6px auto;
  background: var(--hba-primary);
  transition: var(--hba-transition);
}

.hba-menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hba-menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.hba-menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==================================================
   HEADER RESPONSIVE
================================================== */

@media (max-width: 1180px) {
  .hba-header__details {
    display: none;
  }

  .hba-header__inner {
    width: min(100% - 48px, 1480px);
  }
}

@media (max-width: 900px) {
  .hba-header__inner {
    min-height: 78px;
    width: min(100% - 36px, 1480px);
  }

  .hba-logo img,
  .hba-logo .custom-logo {
    width: 165px;
  }

  .hba-menu-toggle {
    display: block;
    margin-left: auto;
  }

  .hba-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: -18px;
    width: calc(100% + 36px);
    margin-left: 0;
    padding: 22px 28px;
    background: linear-gradient(135deg, #f8f5f1 0%, #ffffff 52%, #f1e8df 100%);
    border-top: 1px solid var(--hba-border);
    border-bottom: 1px solid var(--hba-border);
    box-shadow: 0 18px 40px rgba(47, 52, 41, 0.1);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

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

  .hba-nav > a,
  .hba-nav__item > a {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid var(--hba-border);
  }

  .hba-nav__item {
    width: 100%;
  }

  .hba-dropdown {
    position: static;
    width: 100%;
    display: none;
    padding: 8px 0 14px;
    background: rgba(255, 255, 255, 0.5);
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .hba-nav__item:hover .hba-dropdown {
    display: block;
  }
}

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

@media (max-width: 520px) {
  .hba-logo img,
  .hba-logo .custom-logo {
    width: 140px;
  }
}

/* ==================================================
   FOOTER
================================================== */

.hba-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(234, 216, 207, 0.38),
      transparent 28%
    ),
    linear-gradient(135deg, #f8f5f1 0%, #ffffff 52%, #f1e8df 100%);
  color: var(--hba-primary);
  border-top: 1px solid var(--hba-border);
}

.hba-footer::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(154, 170, 135, 0.16);
}

.hba-footer__top {
  position: relative;
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  padding: 72px 0 58px;
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 72px;
}

.hba-footer__flower {
  position: absolute;
  top: 38px;
  right: 0;
  color: var(--hba-secondary);
  font-size: 42px;
  opacity: 0.28;
}

.hba-footer__brand {
  max-width: 360px;
}

.hba-footer__logo {
  display: inline-flex;
  margin-bottom: 22px;
}

.hba-footer__logo img,
.hba-footer__logo .custom-logo {
  width: 230px;
  height: auto;
  display: block;
}

.hba-footer__brand p {
  margin: 0;
  font-family: var(--hba-heading);
  font-size: 25px;
  line-height: 1.35;
  color: var(--hba-primary);
}

.hba-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}

.hba-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hba-footer__col h3 {
  margin: 0 0 20px;
  font-family: var(--hba-heading);
  font-size: 24px;
  font-weight: 500;
  color: var(--hba-primary);
}

.hba-footer__col h3::after {
  content: "";
  display: block;
  width: 38px;
  height: 1px;
  margin-top: 12px;
  background: var(--hba-accent);
}

.hba-footer__col a,
.hba-footer__col span {
  margin-bottom: 11px;
  color: rgba(79, 74, 69, 0.78);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
  transition: var(--hba-transition);
}

.hba-footer__col a:hover {
  color: var(--hba-secondary);
  transform: translateX(4px);
}

.hba-footer__bottom {
  position: relative;
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  padding: 24px 0;
  border-top: 1px solid var(--hba-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hba-footer__bottom p {
  margin: 0;
  color: rgba(79, 74, 69, 0.68);
  font-size: 14px;
}

.hba-footer__bottom a {
  color: var(--hba-primary);
  text-decoration: none;
  font-weight: 600;
}

.hba-footer__bottom a:hover {
  color: var(--hba-secondary);
}

/* ==================================================
   HOMEPAGE
================================================== */

.hba-home {
  overflow: hidden;
}

/* Hero */

.hba-hero {
  position: relative;
  min-height: 760px;
  padding: 120px min(6vw, 90px);
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(234, 216, 207, 0.5),
      transparent 26%
    ),
    linear-gradient(135deg, #f8f5f1 0%, #ffffff 48%, #f1e8df 100%);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 70px;
}

.hba-hero__bg-shape {
  position: absolute;
  right: -180px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(154, 170, 135, 0.14);
}

.hba-eyebrow,
.hba-section-label {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--hba-secondary);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.hba-hero h1 {
  margin: 0;
  max-width: 720px;
  font-family: var(--hba-heading);
  font-size: 80px;
  line-height: 0.88;
  letter-spacing: -0.06em;
  color: var(--hba-primary);
}

.hba-hero p {
  max-width: 560px;
  margin: 32px 0 0;
  font-size: 19px;
  line-height: 1.75;
  color: rgba(79, 74, 69, 0.78);
}

.hba-hero__actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hba-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: var(--hba-transition);
}

.hba-btn--dark {
  background: var(--hba-secondary);
  color: var(--hba-white);
}

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

.hba-btn--light {
  background: var(--hba-white);
  color: var(--hba-primary);
  border: 1px solid var(--hba-border);
}

.hba-btn--light:hover {
  background: var(--hba-soft);
}

/* Hero Images */

.hba-hero__images {
  position: relative;
  min-height: 620px;
}

.hba-image-card {
  position: absolute;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      rgba(154, 170, 135, 0.2),
      rgba(234, 216, 207, 0.52)
    ),
    #ddd;
  border: 12px solid var(--hba-white);
  box-shadow: 0 30px 70px rgba(47, 52, 41, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(79, 74, 69, 0.48);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hba-image-card--large {
  right: 0;
  top: 0;
  width: min(100%, 560px);
  height: 620px;
  border-radius: 280px 280px 28px 28px;
  animation: hbaSlideInRight 1s ease both;
}

.hba-image-card--small {
  left: 0;
  bottom: 54px;
  width: 270px;
  height: 330px;
  border-radius: 160px 160px 24px 24px;
  animation: hbaSlideInUp 1s 0.25s ease both;
}

/* Intro */

.hba-intro {
  padding: 110px 24px;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(234, 216, 207, 0.3),
      transparent 24%
    ),
    var(--hba-secondary);
  color: var(--hba-white);
  text-align: center;
}

.hba-intro__inner {
  max-width: 970px;
  margin: 0 auto;
}

.hba-intro h2 {
  margin: 0;
  font-family: var(--hba-heading);
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hba-intro p {
  max-width: 760px;
  margin: 28px auto 0;
  font-size: 18px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
}

/* Services */

.hba-services-preview {
  padding: 115px min(6vw, 90px);
  background: var(--hba-white);
}

.hba-section-heading {
  max-width: 780px;
  margin-bottom: 54px;
}

.hba-section-heading h2 {
  margin: 0;
  font-family: var(--hba-heading);
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--hba-primary);
}

.hba-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.hba-service-card {
  position: relative;
  min-height: 310px;
  padding: 34px 28px;
  background:
    radial-gradient(
      circle at right top,
      rgba(234, 216, 207, 0.48),
      transparent 34%
    ),
    var(--hba-cream);
  border: 1px solid var(--hba-border);
  transition: var(--hba-transition);
}

.hba-service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 60px rgba(47, 52, 41, 0.1);
}

.hba-service-card span {
  color: var(--hba-secondary);
  font-size: 13px;
  letter-spacing: 0.18em;
}

.hba-service-card h3 {
  margin: 70px 0 18px;
  font-family: var(--hba-heading);
  font-size: 31px;
  line-height: 1.05;
  color: var(--hba-primary);
}

.hba-service-card p {
  margin: 0;
  color: rgba(79, 74, 69, 0.76);
  line-height: 1.7;
}

/* Experience */

.hba-experience {
  padding: 120px min(6vw, 90px);
  background: linear-gradient(135deg, #f8f5f1 0%, #ffffff 55%, #f1e8df 100%);
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 80px;
  align-items: center;
}

.hba-experience__image {
  height: 620px;
  border-radius: 300px 300px 28px 28px;
  background:
    linear-gradient(
      135deg,
      rgba(154, 170, 135, 0.22),
      rgba(234, 216, 207, 0.52)
    ),
    #ddd;
  border: 12px solid var(--hba-white);
  box-shadow: 0 30px 70px rgba(47, 52, 41, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(79, 74, 69, 0.48);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hba-experience__content h2,
.hba-location h2 {
  margin: 0;
  font-family: var(--hba-heading);
  font-size: clamp(42px, 5vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--hba-primary);
}

.hba-experience__content p,
.hba-location p {
  margin: 28px 0 0;
  max-width: 650px;
  color: rgba(79, 74, 69, 0.78);
  font-size: 18px;
  line-height: 1.8;
}

.hba-experience ul {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hba-experience li {
  position: relative;
  padding: 15px 0 15px 34px;
  border-bottom: 1px solid var(--hba-border);
  font-size: 17px;
  color: rgba(79, 74, 69, 0.82);
}

.hba-experience li::before {
  content: "✺";
  position: absolute;
  left: 0;
  top: 15px;
  color: var(--hba-secondary);
}

/* Location CTA */

.hba-location {
  padding: 120px 24px;
  background:
    radial-gradient(
      circle at 16% 20%,
      rgba(255, 255, 255, 0.28),
      transparent 25%
    ),
    linear-gradient(135deg, #9aaa87 0%, #6f7f5f 100%);
  color: var(--hba-white);
  text-align: center;
}

.hba-location__inner {
  max-width: 930px;
  margin: 0 auto;
}

.hba-location h2 {
  color: var(--hba-white);
}

.hba-location p {
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.86);
}

.hba-location .hba-btn {
  margin-top: 38px;
  background: var(--hba-white);
  color: var(--hba-primary);
}

.hba-location .hba-btn:hover {
  background: var(--hba-soft);
}

/* Animations */

.hba-hero__content {
  animation: hbaFadeUp 0.9s ease both;
}

@keyframes hbaFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

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

@keyframes hbaSlideInRight {
  from {
    opacity: 0;
    transform: translateX(80px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes hbaSlideInUp {
  from {
    opacity: 0;
    transform: translateY(80px) scale(0.96);
  }

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

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1100px) {
  .hba-hero,
  .hba-experience {
    grid-template-columns: 1fr;
  }

  .hba-hero__images {
    min-height: 580px;
  }

  .hba-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 980px) {
  .hba-footer__top {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hba-footer__brand {
    max-width: 100%;
  }

  .hba-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .hba-hero {
    padding: 80px 24px;
  }

  .hba-hero__images {
    min-height: 470px;
  }

  .hba-image-card--large {
    height: 460px;
  }

  .hba-image-card--small {
    width: 190px;
    height: 240px;
  }

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

  .hba-experience {
    padding: 80px 24px;
  }

  .hba-experience__image {
    height: 440px;
  }

  .hba-intro,
  .hba-location {
    padding: 80px 24px;
  }
}

@media screen and (max-width: 640px) {
  .hba-footer__top {
    width: min(100% - 32px, 1180px);
    padding: 56px 0 42px;
  }

  .hba-footer__brand p {
    font-size: 22px;
  }

  .hba-footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hba-footer__bottom {
    width: min(100% - 32px, 1180px);
    flex-direction: column;
    align-items: flex-start;
  }

  .hba-footer__flower {
    display: none;
  }
}

/* ==================================================
   PAGE: SERVICES
   File: page-services.php
================================================== */

.hba-services-page {
  overflow: hidden;
  background: var(--hba-white);
}

/* Hero */

.hba-services-hero {
  position: relative;
  min-height: 740px;
  padding: 120px min(6vw, 90px);
  background:
    radial-gradient(
      circle at 14% 18%,
      rgba(234, 216, 207, 0.58),
      transparent 28%
    ),
    radial-gradient(
      circle at 92% 80%,
      rgba(154, 170, 135, 0.18),
      transparent 24%
    ),
    linear-gradient(135deg, #f8f5f1 0%, #ffffff 52%, #f1e8df 100%);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 80px;
}

.hba-services-hero__content {
  position: relative;
  z-index: 2;
  animation: hbaFadeUp 0.9s ease both;
}

.hba-services-hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: var(--hba-heading);
  font-size: clamp(54px, 7vw, 118px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--hba-primary);
}

.hba-services-hero p {
  max-width: 610px;
  margin: 32px 0 0;
  font-size: 19px;
  line-height: 1.8;
  color: rgba(79, 74, 69, 0.78);
}

.hba-services-hero__media {
  position: relative;
  min-height: 610px;
}

.hba-services-image {
  position: absolute;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      135deg,
      rgba(154, 170, 135, 0.22),
      rgba(234, 216, 207, 0.55)
    ),
    #ddd;
  border: 12px solid var(--hba-white);
  box-shadow: 0 30px 75px rgba(47, 52, 41, 0.14);
  color: rgba(79, 74, 69, 0.48);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hba-services-image--main {
  right: 0;
  top: 0;
  width: min(100%, 560px);
  height: 610px;
  border-radius: 300px 300px 34px 34px;
  animation: hbaSlideInRight 1s ease both;
}

.hba-services-image--small {
  left: 0;
  bottom: 50px;
  width: 250px;
  height: 320px;
  border-radius: 160px 160px 28px 28px;
  animation: hbaSlideInUp 1s 0.25s ease both;
}

/* Intro */

.hba-services-intro {
  padding: 105px 24px;
  background: var(--hba-white);
  text-align: center;
}

.hba-services-intro__inner {
  max-width: 950px;
  margin: 0 auto;
}

.hba-services-intro h2 {
  margin: 0;
  font-family: var(--hba-heading);
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--hba-primary);
}

.hba-services-intro p {
  max-width: 760px;
  margin: 28px auto 0;
  font-size: 18px;
  line-height: 1.85;
  color: rgba(79, 74, 69, 0.78);
}

/* Service Tiles */

.hba-services-grid-section {
  padding: 0 min(6vw, 90px) 120px;
  background: var(--hba-white);
}

.hba-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.hba-service-tile {
  position: relative;
  min-height: 365px;
  padding: 36px 30px;
  overflow: hidden;
  text-decoration: none;
  background:
    radial-gradient(
      circle at top right,
      rgba(234, 216, 207, 0.5),
      transparent 34%
    ),
    linear-gradient(135deg, #f8f5f1 0%, #ffffff 70%);
  border: 1px solid var(--hba-border);
  border-radius: 34px;
  box-shadow: 0 20px 55px rgba(47, 52, 41, 0.05);
  transition: var(--hba-transition);
}

.hba-service-tile::before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(154, 170, 135, 0.12);
  transition: var(--hba-transition);
}

.hba-service-tile:hover {
  transform: translateY(-12px);
  box-shadow: 0 28px 75px rgba(47, 52, 41, 0.11);
}

.hba-service-tile:hover::before {
  transform: scale(1.18);
}

.hba-service-tile__number {
  display: inline-flex;
  margin-bottom: 78px;
  color: var(--hba-secondary);
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.hba-service-tile h3 {
  position: relative;
  margin: 0 0 18px;
  font-family: var(--hba-heading);
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--hba-primary);
}

.hba-service-tile p {
  position: relative;
  margin: 0;
  color: rgba(79, 74, 69, 0.76);
  font-size: 16px;
  line-height: 1.7;
}

.hba-service-tile__link {
  position: absolute;
  left: 30px;
  bottom: 32px;
  color: var(--hba-secondary);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

/* Featured Prices */

.hba-services-featured-prices {
  padding: 115px min(6vw, 90px);
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(234, 216, 207, 0.42),
      transparent 28%
    ),
    linear-gradient(135deg, #f8f5f1 0%, #ffffff 52%, #f1e8df 100%);
}

.hba-services-price-heading {
  max-width: 800px;
  margin-bottom: 56px;
}

.hba-services-price-heading h2 {
  margin: 0;
  font-family: var(--hba-heading);
  font-size: clamp(40px, 5vw, 78px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--hba-primary);
}

.hba-services-price-heading p {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(79, 74, 69, 0.78);
  font-size: 18px;
  line-height: 1.75;
}

.hba-services-price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.hba-services-price-grid .hba-price-category {
  margin-bottom: 0;
}

/* Why Choose */

.hba-services-why {
  padding: 120px min(6vw, 90px);
  background: var(--hba-white);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.hba-services-why__content h2 {
  margin: 0;
  font-family: var(--hba-heading);
  font-size: clamp(42px, 5vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--hba-primary);
}

.hba-services-why__content p {
  max-width: 590px;
  margin: 28px 0 0;
  color: rgba(79, 74, 69, 0.78);
  font-size: 18px;
  line-height: 1.8;
}

.hba-services-why__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.hba-services-why__list div {
  min-height: 210px;
  padding: 30px;
  border-radius: 30px;
  background: var(--hba-cream);
  border: 1px solid var(--hba-border);
  transition: var(--hba-transition);
}

.hba-services-why__list div:hover {
  transform: translateY(-8px);
  background: var(--hba-soft);
}

.hba-services-why__list strong {
  display: block;
  margin-bottom: 18px;
  font-family: var(--hba-heading);
  font-size: 29px;
  line-height: 1.05;
  color: var(--hba-primary);
}

.hba-services-why__list span {
  display: block;
  color: rgba(79, 74, 69, 0.76);
  font-size: 16px;
  line-height: 1.7;
}

/* CTA */

.hba-services-cta {
  padding: 120px 24px;
  text-align: center;
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(255, 255, 255, 0.25),
      transparent 26%
    ),
    linear-gradient(135deg, #9aaa87 0%, #6f7f5f 100%);
  color: var(--hba-white);
}

.hba-services-cta h2 {
  max-width: 880px;
  margin: 0 auto;
  font-family: var(--hba-heading);
  font-size: clamp(46px, 6vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  color: var(--hba-white);
}

.hba-services-cta p {
  max-width: 650px;
  margin: 28px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.8;
}

.hba-services-cta .hba-btn {
  margin-top: 38px;
  background: var(--hba-white);
  color: var(--hba-primary);
}

.hba-services-cta .hba-btn:hover {
  background: var(--hba-soft);
}

/* Responsive */

@media (max-width: 1100px) {
  .hba-services-hero,
  .hba-services-why {
    grid-template-columns: 1fr;
  }

  .hba-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hba-services-price-grid {
    grid-template-columns: 1fr;
  }

  .hba-services-hero__media {
    min-height: 570px;
  }
}

@media (max-width: 720px) {
  .hba-services-hero {
    min-height: auto;
    padding: 80px 24px;
    gap: 50px;
  }

  .hba-services-hero__media {
    min-height: 460px;
  }

  .hba-services-image--main {
    height: 460px;
  }

  .hba-services-image--small {
    width: 190px;
    height: 240px;
  }

  .hba-services-grid-section,
  .hba-services-featured-prices,
  .hba-services-why {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hba-services-grid,
  .hba-services-why__list {
    grid-template-columns: 1fr;
  }

  .hba-services-intro,
  .hba-services-cta {
    padding: 80px 24px;
  }
}

/* ==================================================
   PAGE: SINGLE SERVICE LANDING PAGES
   Files:
   page-womens-hair.php
   page-mens-hair.php
   page-childrens-hair.php
   page-hair-colour.php
================================================== */

.hba-single-service-page {
  overflow: hidden;
  background: var(--hba-white);
}

.hba-single-service-hero {
  position: relative;
  min-height: 720px;
  padding: 120px min(6vw, 90px);
  background:
    radial-gradient(
      circle at 14% 18%,
      rgba(234, 216, 207, 0.58),
      transparent 28%
    ),
    radial-gradient(
      circle at 92% 80%,
      rgba(154, 170, 135, 0.18),
      transparent 24%
    ),
    linear-gradient(135deg, #f8f5f1 0%, #ffffff 52%, #f1e8df 100%);
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 80px;
}

.hba-single-service-hero__content {
  position: relative;
  z-index: 2;
  animation: hbaFadeUp 0.9s ease both;
}

.hba-single-service-hero h1 {
  margin: 0;
  max-width: 780px;
  font-family: var(--hba-heading);
  font-size: 60px;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--hba-primary);
}

.hba-single-service-hero p {
  max-width: 620px;
  margin: 32px 0 0;
  font-size: 19px;
  line-height: 1.8;
  color: rgba(79, 74, 69, 0.78);
}

.hba-single-service-hero .hba-btn {
  margin-top: 36px;
}

.hba-single-service-hero__image {
  height: 610px;
  border-radius: 300px 300px 34px 34px;
  background:
    linear-gradient(
      135deg,
      rgba(154, 170, 135, 0.22),
      rgba(234, 216, 207, 0.55)
    ),
    #ddd;
  border: 12px solid var(--hba-white);
  box-shadow: 0 30px 75px rgba(47, 52, 41, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(79, 74, 69, 0.48);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: hbaSlideInRight 1s ease both;
}

.hba-single-service-content {
  padding: 110px min(6vw, 90px);
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 80px;
  align-items: start;
  background: var(--hba-white);
}

.hba-single-service-content h2 {
  margin: 0;
  max-width: 650px;
  font-family: var(--hba-heading);
  font-size: clamp(42px, 5vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--hba-primary);
}

.hba-single-service-content p {
  margin: 0;
  max-width: 720px;
  color: rgba(79, 74, 69, 0.78);
  font-size: 19px;
  line-height: 1.85;
}

.hba-single-service-prices {
  padding: 0 min(6vw, 90px) 120px;
  background: var(--hba-white);
}

.hba-single-service-prices .hba-price-category {
  margin-bottom: 36px;
}

.hba-single-service-prices .hba-price-category:last-child {
  margin-bottom: 0;
}

/* Responsive */

@media (max-width: 1000px) {
  .hba-single-service-hero,
  .hba-single-service-content {
    grid-template-columns: 1fr;
  }

  .hba-single-service-hero__image {
    height: 520px;
  }
}

@media (max-width: 700px) {
  .hba-single-service-hero {
    min-height: auto;
    padding: 80px 24px;
  }

  .hba-single-service-hero__image {
    height: 430px;
  }

  .hba-single-service-content {
    padding: 80px 24px;
  }

  .hba-single-service-prices {
    padding: 0 24px 80px;
  }
}

/* Footer Legal Links */

.hba-footer__legal {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hba-footer__legal a {
  color: var(--hba-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--hba-transition);
}

.hba-footer__legal a:hover {
  color: var(--hba-secondary);
}

@media screen and (max-width: 760px) {
  .hba-footer__bottom {
    align-items: flex-start;
  }

  .hba-footer__legal {
    gap: 14px 20px;
  }
}

/* Homepage Service Card Links */

.hba-service-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.hba-service-card:hover h3 {
  color: var(--hba-secondary);
}
/* ==================================================
   LEGAL / POLICY PAGES
================================================== */

.hba-policy-page {
  background:
    radial-gradient(
      circle at top left,
      rgba(233, 214, 201, 0.22),
      transparent 24%
    ),
    linear-gradient(180deg, #fffdfb 0%, #f7f1eb 100%);
  padding: 100px 24px;
}

.hba-policy-wrap {
  width: min(100%, 980px);
  margin: 0 auto;
}

.hba-policy-hero {
  margin-bottom: 70px;
  text-align: center;
}

.hba-policy-hero h1 {
  margin: 18px 0 18px;
  font-family: var(--hba-heading);
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--hba-primary);
}

.hba-policy-hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(69, 55, 46, 0.72);
}

.hba-policy-updated {
  margin-top: 24px !important;
  font-size: 14px !important;
  color: rgba(69, 55, 46, 0.48) !important;
}

.hba-policy-content {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(69, 55, 46, 0.08);
  border-radius: 36px;
  padding: 56px;
  box-shadow: 0 25px 60px rgba(69, 55, 46, 0.08);
}

.hba-policy-content h2 {
  margin: 52px 0 18px;
  font-family: var(--hba-heading);
  font-size: 34px;
  line-height: 1.1;
  color: var(--hba-primary);
}

.hba-policy-content h2:first-child {
  margin-top: 0;
}

.hba-policy-content p,
.hba-policy-content li {
  color: rgba(69, 55, 46, 0.78);
  font-size: 17px;
  line-height: 1.9;
}

.hba-policy-content ul {
  padding-left: 22px;
}

.hba-policy-content a {
  color: var(--hba-secondary);
  text-decoration: none;
  font-weight: 600;
}

.hba-policy-content a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .hba-policy-page {
    padding: 70px 20px;
  }

  .hba-policy-content {
    padding: 34px 26px;
    border-radius: 24px;
  }

  .hba-policy-content h2 {
    font-size: 28px;
  }
}

/* ==================================================
   FOOTER MOBILE CENTER ALIGN
================================================== */

@media screen and (max-width: 760px) {
  .hba-footer__bottom {
    text-align: center;
    align-items: center !important;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
  }

  .hba-footer__bottom p {
    width: 100%;
    text-align: center;
    margin: 0;
  }

  .hba-footer__legal {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }

  .hba-footer__legal a {
    text-align: center;
  }
}

/* ==================================================
   COOKIE BANNER
================================================== */

.hba-cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 999999;
  max-width: 980px;
  margin: 0 auto;
  padding: 22px;
  border-radius: 28px;
  background:
    radial-gradient(
      circle at top left,
      rgba(234, 216, 207, 0.5),
      transparent 28%
    ),
    linear-gradient(135deg, #f8f5f1 0%, #ffffff 52%, #f1e8df 100%);
  border: 1px solid var(--hba-border);
  box-shadow: 0 25px 70px rgba(47, 52, 41, 0.18);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hba-cookie-banner__content {
  max-width: 680px;
}

.hba-cookie-banner__content strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--hba-heading);
  font-size: 25px;
  color: var(--hba-primary);
}

.hba-cookie-banner__content p {
  margin: 0;
  color: rgba(79, 74, 69, 0.78);
  font-size: 15px;
  line-height: 1.6;
}

.hba-cookie-banner__content a {
  color: var(--hba-secondary);
  font-weight: 700;
  text-decoration: none;
}

.hba-cookie-banner__content a:hover {
  text-decoration: underline;
}

.hba-cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.hba-cookie-btn {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--hba-transition);
}

.hba-cookie-btn--dark {
  border: 1px solid var(--hba-secondary);
  background: var(--hba-secondary);
  color: var(--hba-white);
}

.hba-cookie-btn--dark:hover {
  background: var(--hba-primary);
  border-color: var(--hba-primary);
}

.hba-cookie-btn--light {
  border: 1px solid var(--hba-border);
  background: var(--hba-white);
  color: var(--hba-primary);
}

.hba-cookie-btn--light:hover {
  background: var(--hba-soft);
}

@media screen and (max-width: 760px) {
  .hba-cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .hba-cookie-banner__actions {
    width: 100%;
  }

  .hba-cookie-btn {
    flex: 1;
  }
}

/* ==================================================
   PAGE: CONTACT US
================================================== */

.hba-contact-page {
  overflow: hidden;
  background: var(--hba-white);
}

.hba-contact-hero {
  padding: 115px min(6vw, 90px);
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(234, 216, 207, 0.58),
      transparent 28%
    ),
    radial-gradient(
      circle at 92% 80%,
      rgba(154, 170, 135, 0.18),
      transparent 24%
    ),
    linear-gradient(135deg, #f8f5f1 0%, #ffffff 52%, #f1e8df 100%);
  text-align: center;
}

.hba-contact-hero__inner {
  max-width: 920px;
  margin: 0 auto;
}

.hba-contact-hero h1 {
  margin: 0;
  font-family: var(--hba-heading);
  font-size: clamp(56px, 8vw, 118px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--hba-primary);
}

.hba-contact-hero p {
  max-width: 680px;
  margin: 30px auto 0;
  font-size: 19px;
  line-height: 1.8;
  color: rgba(79, 74, 69, 0.78);
}

.hba-contact-hero__actions {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hba-contact-main {
  padding: 110px min(6vw, 90px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 70px;
  align-items: start;
}

.hba-contact-form-wrap h2 {
  max-width: 680px;
  margin: 0 0 24px;
  font-family: var(--hba-heading);
  font-size: clamp(44px, 5vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--hba-primary);
}

.hba-contact-intro {
  max-width: 720px;
  margin: 0 0 38px;
  color: rgba(79, 74, 69, 0.78);
  font-size: 17px;
  line-height: 1.75;
}

.hba-contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.hba-form-row {
  display: flex;
  flex-direction: column;
}

.hba-form-row--full {
  grid-column: 1 / -1;
}

.hba-form-row label {
  margin-bottom: 9px;
  color: var(--hba-primary);
  font-size: 14px;
  font-weight: 700;
}

.hba-form-row input,
.hba-form-row select,
.hba-form-row textarea {
  width: 100%;
  border: 1px solid var(--hba-border);
  border-radius: 18px;
  padding: 16px 18px;
  background: var(--hba-cream);
  color: var(--hba-primary);
  font-size: 16px;
  font-family: var(--hba-body);
  outline: none;
  transition: var(--hba-transition);
}

.hba-form-row textarea {
  resize: vertical;
}

.hba-form-row input:focus,
.hba-form-row select:focus,
.hba-form-row textarea:focus {
  border-color: var(--hba-secondary);
  background: var(--hba-white);
  box-shadow: 0 0 0 4px rgba(154, 170, 135, 0.12);
}

.hba-contact-form .hba-btn {
  border: 0;
  cursor: pointer;
  width: fit-content;
}

.hba-contact-info {
  display: grid;
  gap: 18px;
}

.hba-contact-info__card {
  padding: 28px;
  border-radius: 28px;
  background: var(--hba-cream);
  border: 1px solid var(--hba-border);
}

.hba-contact-info__card--highlight {
  background:
    radial-gradient(
      circle at top right,
      rgba(234, 216, 207, 0.55),
      transparent 35%
    ),
    var(--hba-secondary);
  color: var(--hba-white);
}

.hba-contact-info__card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--hba-secondary);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.hba-contact-info__card--highlight span {
  color: rgba(255, 255, 255, 0.78);
}

.hba-contact-info__card h3 {
  margin: 0 0 14px;
  font-family: var(--hba-heading);
  font-size: 31px;
  line-height: 1;
  color: var(--hba-primary);
}

.hba-contact-info__card--highlight h3 {
  color: var(--hba-white);
}

.hba-contact-info__card p,
.hba-contact-info__card address {
  margin: 0;
  color: rgba(79, 74, 69, 0.76);
  font-size: 15px;
  line-height: 1.75;
  font-style: normal;
}

.hba-contact-info__card--highlight p {
  color: rgba(255, 255, 255, 0.82);
}

.hba-contact-info__card a {
  color: var(--hba-secondary);
  font-weight: 700;
  text-decoration: none;
}

.hba-contact-info__card--highlight a {
  color: var(--hba-white);
}

.hba-contact-info__card a:hover {
  text-decoration: underline;
}

.hba-honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.hba-form-success,
.hba-form-error {
  margin: 0 0 26px;
  padding: 18px 20px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.5;
}

.hba-form-success {
  background: rgba(154, 170, 135, 0.14);
  color: var(--hba-primary);
  border: 1px solid rgba(154, 170, 135, 0.28);
}

.hba-form-error {
  background: rgba(180, 80, 70, 0.1);
  color: #7b2e27;
  border: 1px solid rgba(180, 80, 70, 0.2);
}

@media (max-width: 1000px) {
  .hba-contact-main {
    grid-template-columns: 1fr;
  }

  .hba-contact-info {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .hba-contact-hero,
  .hba-contact-main {
    padding: 80px 24px;
  }

  .hba-contact-form,
  .hba-contact-info {
    grid-template-columns: 1fr;
  }

  .hba-contact-hero__actions {
    justify-content: flex-start;
  }

  .hba-contact-hero {
    text-align: left;
  }

  .hba-contact-hero p {
    margin-left: 0;
    margin-right: 0;
  }
}

/* ==================================================
   CUSTOM CURSOR
================================================== */

@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none;
  }

  .hba-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(216, 199, 181, 0.7);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999999;
    transform: translate(-50%, -50%);
    transition:
      width 0.2s ease,
      height 0.2s ease,
      border-color 0.2s ease,
      background 0.2s ease;
  }

  .hba-cursor.is-hovering {
    width: 64px;
    height: 64px;
    background: rgba(216, 199, 181, 0.12);
    border-color: rgba(95, 111, 82, 0.7);
  }

  a,
  button,
  input,
  textarea,
  select,
  label {
    cursor: none;
  }
}

.hba-services-preview--split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.hba-services-preview__content {
  max-width: 520px;
}

.hba-services-preview__content h2 {
  margin-bottom: 24px;
}

.hba-services-preview__content p {
  margin-bottom: 32px;
  max-width: 460px;
}

.hba-services-preview__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.hba-service-card--feature {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hba-service-card--feature strong {
  margin-top: 24px;
  color: var(--hba-green, #66785f);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .hba-services-preview--split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hba-services-preview__cards {
    grid-template-columns: 1fr;
  }
}
