@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  --blue-950: #172538;
  --blue-900: #20334b;
  --blue-800: #2d4058;
  --green-600: #55bd7b;
  --green-500: #65ca8a;
  --green-100: #e8f7ee;
  --lime: #a9d83d;
  --white: #ffffff;
  --gray-50: #f7f8fa;
  --gray-100: #eef1f4;
  --gray-300: #cad1d8;
  --gray-600: #6f7b87;
  --gray-900: #1f2933;
  --shadow: 0 28px 70px rgba(22, 36, 54, 0.28);
  --glass-white: rgba(255, 255, 255, 0.72);
  --glass-green: rgba(85, 189, 123, 0.82);
  --glass-border: rgba(255, 255, 255, 0.55);
  --shape-card: 34px 8px 34px 8px;
  --shape-card-alt: 8px 34px 8px 34px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: var(--white);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
main,
.site-footer {
  width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 24px clamp(28px, 8vw, 118px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, min-height 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  min-height: 78px;
  padding-block: 14px;
  color: var(--blue-950);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(22, 36, 54, 0.12);
}

.brand {
  display: grid;
  place-items: center;
  width: 150px;
  min-width: 126px;
  line-height: 0;
}

.brand img {
  width: 100%;
  max-height: 62px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 180ms ease;
}

.site-header.is-scrolled .brand img {
  filter: none;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.4vw, 28px);
  flex-wrap: wrap;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header.is-scrolled .main-nav a {
  color: var(--blue-900);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--green-500);
  transition: width 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
}

.site-header.is-scrolled .main-nav a:hover,
.site-header.is-scrolled .main-nav a.active {
  color: var(--green-600);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 22px;
}

main {
  position: relative;
  z-index: 1;
  margin-top: 0;
  overflow: hidden;
  background: var(--white);
}

.hero,
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 520px;
  padding: 144px clamp(28px, 10vw, 196px) 112px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(23, 37, 56, 0.92), rgba(32, 51, 75, 0)),
    url("../images/home-hero.png") center / cover no-repeat;
}

.hero-copy,
.page-hero > div {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-mark {
  display: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-500);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--green-600);
  font-size: clamp(2.7rem, 6.2vw, 4.85rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 14px;
  color: var(--gray-900);
  font-size: clamp(1.55rem, 3.2vw, 2.45rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 8px;
  color: var(--gray-900);
  font-size: 1.02rem;
  line-height: 1.25;
}

.hero p,
.page-hero p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.88);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button.primary {
  color: var(--white);
  background: var(--green-600);
  box-shadow: 0 12px 28px rgba(85, 189, 123, 0.34);
}

.button.primary:hover {
  background: var(--green-500);
  transform: translateY(-2px);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.88);
  background: transparent;
}

.button.secondary:hover {
  border-color: var(--green-500);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(54px, 8vw, 96px) clamp(28px, 10vw, 196px);
  --section-overlay-image: url("../images/home-products.png");
  --section-overlay-opacity: 5;
}

.section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(238, 241, 244, 0.62), rgba(238, 241, 244, 0.62)),
    var(--section-overlay-image) center / cover no-repeat;
  filter: grayscale(1);
  opacity: var(--section-overlay-opacity);
}

.section > * {
  position: relative;
  z-index: 2;
}

.section-heading {
  max-width: 620px;
  margin-bottom: 28px;
}

.home-intro {
  position: relative;
  padding-top: 58px;
  padding-bottom: 78px;
  background: var(--white);
  --section-overlay-image: url("../images/service-products.png");
  --section-overlay-opacity: 0.05;
}

.section-curve {
  position: relative;
  z-index: 2;
  height: clamp(64px, 8vw, 118px);
  margin-top: -1px;
  overflow: hidden;
  background: var(--white);
}

.section-curve svg {
  display: block;
  width: 100%;
  height: 100%;
}

.section-curve path {
  fill: var(--gray-50);
}

.section-curve.reverse {
  transform: rotate(180deg);
  margin-bottom: -1px;
}

.curve-to-gray {
  background: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.feature-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 86px;
  border: 0;
  background: transparent;
  transition: transform 220ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 3px solid currentColor;
  border-radius: 50%;
  color: var(--blue-900);
  font-weight: 800;
}

.feature-card:nth-child(2) span {
  color: var(--green-600);
}

.feature-card p {
  grid-column: 2;
  margin: -4px 0 0;
  color: var(--gray-600);
  font-size: 0.86rem;
}

.why-choose {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  margin-top: -1px;
  padding-top: 56px;
  padding-bottom: 76px;
  background:
    radial-gradient(circle at 88% 12%, var(--green-100) 0 190px, transparent 191px),
    var(--gray-50);
  --section-overlay-image: url("../images/why-choose-us.png");
  --section-overlay-opacity: 0.075;
}

.why-image {
  min-height: 560px;
  overflow: hidden;
  border-radius: 0 90px 0 34px;
  box-shadow: 0 18px 48px rgba(22, 36, 54, 0.08);
}

.why-image img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  transition: transform 600ms ease;
}

.why-image:hover img {
  transform: scale(1.04);
}

.why-content {
  min-width: 0;
}

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

.why-grid article {
  min-height: 250px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--glass-border);
  border-radius: var(--shape-card);
  background: var(--glass-white);
  box-shadow: 0 18px 48px rgba(22, 36, 54, 0.08);
  backdrop-filter: blur(18px);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.why-grid article:nth-child(even) {
  border-radius: var(--shape-card-alt);
}

.why-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 62px rgba(22, 36, 54, 0.12);
}

.why-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-600);
  font-weight: 800;
}

.why-grid p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

.image-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  align-items: center;
  min-height: 520px;
  padding: 0 clamp(28px, 10vw, 196px) 56px;
  background:
    radial-gradient(circle at 88% 90%, rgba(238, 241, 244, 0.9) 0 220px, transparent 221px),
    var(--gray-50);
  --section-overlay-image: url("../images/home-products.png");
  --section-overlay-opacity: 0.055;
}

.image-story::before {
  content: "";
  position: absolute;
  right: -130px;
  top: -90px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.8;
}

.image-story-photo {
  position: relative;
  z-index: 1;
  min-height: 320px;
  margin-top: -4px;
  overflow: hidden;
  border-radius: 0 90px 0 34px;
}

.image-story-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 600ms ease;
}

.image-story-photo:hover img {
  transform: scale(1.04);
}

.image-story-copy {
  position: relative;
  z-index: 2;
  max-width: 420px;
  margin-left: -56px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--shape-card);
  color: var(--blue-950);
  background: var(--glass-green);
  box-shadow: 0 24px 50px rgba(22, 36, 54, 0.2);
  backdrop-filter: blur(16px);
}

.image-story-copy h2,
.image-story-copy p,
.image-story-copy .eyebrow {
  color: var(--blue-950);
}

.image-story-copy p {
  font-size: 0.9rem;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.mini-stats div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px 4px 18px 4px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.mini-stats strong,
.mini-stats span {
  display: block;
}

.mini-stats strong {
  color: var(--white);
  font-size: 1.28rem;
  line-height: 1;
}

.mini-stats span {
  margin-top: 6px;
  color: rgba(23, 37, 56, 0.78);
  font-size: 0.72rem;
  line-height: 1.35;
}

.split-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 64px);
  background: var(--white);
  --section-overlay-image: url("../images/home-hero.png");
  --section-overlay-opacity: 0.045;
}

.split-section::before {
  content: "";
  position: absolute;
  right: 70px;
  top: -70px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--gray-100);
  z-index: 0;
}

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

.split-section p:not(.eyebrow) {
  color: var(--gray-600);
}

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

.story-section,
.pillars,
.operations,
.contact-layout,
.company-section,
.goals-section,
.clients-section,
.values-section {
  position: relative;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  background: var(--gray-50);
  --section-overlay-image: url("../images/about-salon.png");
  --section-overlay-opacity: 0.055;
}

.story-image {
  overflow: hidden;
  border-radius: 0 90px 0 34px;
}

.story-image img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  transition: transform 600ms ease;
}

.story-image:hover img {
  transform: scale(1.04);
}

.story-card,
.founder-panel,
.pillars article,
.operations article,
.contact-panel,
.contact-form,
.company-section > div {
  padding: clamp(28px, 5vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--shape-card);
  background: var(--glass-white);
  box-shadow: 0 18px 48px rgba(22, 36, 54, 0.08);
  backdrop-filter: blur(16px);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.pillars article:nth-child(even),
.operations article:nth-child(even),
.contact-form {
  border-radius: var(--shape-card-alt);
}

.story-card:hover,
.founder-panel:hover,
.pillars article:hover,
.operations article:hover,
.contact-panel:hover,
.contact-form:hover,
.company-section > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 58px rgba(22, 36, 54, 0.12);
}

.founder-panel {
  align-self: center;
  margin-left: -46px;
  background: var(--glass-green);
}

.founder-panel img {
  width: 180px;
  margin-bottom: 24px;
}

.founder-panel a {
  display: block;
  margin-top: 8px;
  color: var(--blue-950);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.pillars,
.operations,
.goal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pillars {
  --section-overlay-image: url("../images/about-salon.png");
  --section-overlay-opacity: 0.05;
}

.operations {
  --section-overlay-image: url("../images/service-hair.png");
  --section-overlay-opacity: 0.055;
}

.values-section {
  background:
    radial-gradient(circle at 14% 18%, var(--green-100) 0 190px, transparent 191px),
    var(--gray-50);
  --section-overlay-image: url("../images/why-choose-us.png");
  --section-overlay-opacity: 0.06;
}

.values-section > div {
  max-width: 760px;
  padding: clamp(30px, 5vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--shape-card-alt);
  background: var(--glass-green);
  box-shadow: 0 18px 48px rgba(22, 36, 54, 0.08);
  backdrop-filter: blur(16px);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.values-section > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 58px rgba(22, 36, 54, 0.12);
}

.values-section h2,
.values-section p,
.values-section .eyebrow {
  color: var(--blue-950);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--gray-600);
}

.goals-section {
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 255, 255, 0.7) 0 220px, transparent 221px),
    var(--gray-50);
  --section-overlay-image: url("../images/service-products.png");
  --section-overlay-opacity: 0.055;
}

.goal-list div {
  min-height: 128px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-left: 5px solid var(--green-600);
  border-radius: var(--shape-card);
  color: var(--gray-600);
  background: var(--glass-white);
  box-shadow: 0 18px 48px rgba(22, 36, 54, 0.08);
  backdrop-filter: blur(16px);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.goal-list div:nth-child(even) {
  border-radius: var(--shape-card-alt);
}

.goal-list div:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 58px rgba(22, 36, 54, 0.12);
}

.clients-section {
  background: var(--green-100);
  --section-overlay-image: url("../images/about-salon.png");
  --section-overlay-opacity: 0.06;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  background: var(--gray-50);
  --section-overlay-image: url("../images/service-nails-contact.png");
  --section-overlay-opacity: 0.055;
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-methods a {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 22px 6px 22px 6px;
  color: var(--blue-950);
  background: rgba(255, 255, 255, 0.42);
  font-weight: 800;
  overflow-wrap: anywhere;
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, background 180ms ease;
}

.contact-methods a:hover {
  transform: translateX(4px);
  background: var(--white);
}

.contact-methods span {
  color: var(--green-600);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--blue-950);
  font-size: 0.84rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 3px;
  color: var(--gray-900);
  background: var(--gray-100);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(85, 189, 123, 0.3);
}

.contact-form button {
  justify-self: start;
  font: inherit;
}

.site-footer {
  padding: clamp(48px, 7vw, 72px) clamp(28px, 10vw, 196px) 28px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--blue-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) repeat(3, minmax(150px, 0.7fr));
  gap: 32px;
}

.footer-brand img {
  width: 180px;
  max-height: 88px;
  margin-bottom: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: var(--green-100);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.site-footer .social-link {
  display: grid;
  width: 40px;
  height: 40px;
  margin: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.site-footer .social-link:hover {
  color: var(--blue-900);
  background: var(--green-100);
  border-color: var(--green-100);
  transform: translateY(-2px);
}

.site-footer .social-link:focus-visible {
  outline: 3px solid var(--green-100);
  outline-offset: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  display: inline;
  color: var(--white);
}

.hero-copy,
.page-hero > div {
  animation: heroRise 700ms ease both;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal-delay-2 {
  transition-delay: 180ms;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 0;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 24px;
  }

  .site-header.is-scrolled {
    padding: 14px 24px;
  }

  .hero,
  .page-hero {
    padding-top: 188px;
  }

  .feature-grid,
  .why-grid,
  .why-choose,
  .image-story,
  .story-section,
  .split-section,
  .pillars,
  .operations,
  .goal-list,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .image-story-copy,
  .founder-panel {
    margin-left: 0;
    margin-top: -42px;
  }

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

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .brand {
    width: 128px;
  }

  .main-nav {
    gap: 12px;
  }

  .main-nav a {
    font-size: 0.66rem;
  }

  .hero,
  .page-hero,
  .section,
  .site-footer {
    padding-inline: 22px;
  }

  .mini-stats,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .why-image,
  .why-image img {
    min-height: 340px;
  }

  .feature-card {
    grid-template-columns: 48px 1fr;
  }
}
