/* ──────────────────────────────────────────
   Kuttin Up Hair and Nails — Stylesheet
   ────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  line-height: 1.6;
  font-weight: 300;
  color: #064e3b;
  background-color: #fefdf8;
  overflow-x: hidden;
}

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

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #064e3b;
  color: #fefdf8;
  padding: 0.5rem 1rem;
  z-index: 200;
  border-radius: 0 0 4px 4px;
  font-size: 0.875rem;
}
.skip-link:focus {
  top: 0;
}

::selection {
  background: #065f46;
  color: #fefdf8;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Typography ─── */
.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #047857;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 300;
  line-height: 1.15;
  color: #022c22;
  letter-spacing: -0.01em;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn--primary {
  background: #065f46;
  color: #fefdf8;
  border-color: #065f46;
}
.btn--primary:hover {
  background: #047857;
  border-color: #047857;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(6, 95, 70, 0.25);
}

.btn--ghost {
  background: transparent;
  color: #fefdf8;
  border-color: rgba(254, 253, 248, 0.5);
}
.btn--ghost:hover {
  background: rgba(254, 253, 248, 0.1);
  border-color: #fefdf8;
}

.btn--white {
  background: #fefdf8;
  color: #064e3b;
  border-color: #fefdf8;
}
.btn--white:hover {
  background: #d1fae5;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn--ghost-light {
  background: transparent;
  color: #064e3b;
  border-color: #065f46;
}
.btn--ghost-light:hover {
  background: #ecfdf5;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(254, 253, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6, 95, 70, 0.08);
  transition: background 0.3s ease;
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #022c22;
  letter-spacing: -0.01em;
}
.nav__logo svg {
  color: #065f46;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #065f46;
  position: relative;
  transition: color 0.2s;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #047857;
  transition: width 0.3s ease;
}
.nav__link:hover::after {
  width: 100%;
}
.nav__link:hover {
  color: #047857;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #fefdf8;
  background: #065f46;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s;
}
.nav__cta:hover {
  background: #047857;
  transform: translateY(-1px);
}

.nav__menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  position: relative;
}

.nav__hamburger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 18px;
  height: 1px;
  background: #064e3b;
  box-shadow: 0 -5px 0 0 #064e3b, 0 5px 0 0 #064e3b;
  transition: transform 0.3s, box-shadow 0.3s;
}
.nav__menu-btn[aria-expanded="true"] .nav__hamburger {
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 0 0 transparent;
}
.nav__menu-btn[aria-expanded="true"] .nav__hamburger::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
  width: 18px;
  height: 1px;
  background: #064e3b;
}

@media (max-width: 768px) {
  .nav__menu-btn {
    display: block;
  }
  .nav__links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(254, 253, 248, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav__links.open {
    transform: translateX(0);
  }
  .nav__link {
    font-size: 1.125rem;
  }
  .nav__cta {
    font-size: 0.9375rem;
    padding: 0.625rem 1.25rem;
  }
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #022c22 0%,
    #064e3b 25%,
    #047857 50%,
    #065f46 75%,
    #022c22 100%
  );
  background-size: 400% 400%;
  animation: heroGradient 16s ease infinite;
}

@keyframes heroGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(110, 231, 183, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(4, 120, 87, 0.12) 0%, transparent 50%);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  padding: 2rem 1.5rem;
  padding-top: 4rem;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6ee7b7;
  margin-bottom: 1.5rem;
}

.hero__headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: #fefdf8;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero__accent {
  font-style: italic;
  font-weight: 300;
  color: #a7f3d0;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(254, 253, 248, 0.75);
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero__divider {
  width: 48px;
  height: 1px;
  background: rgba(110, 231, 183, 0.4);
  margin: 0 auto 1.5rem;
}

.hero__details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(254, 253, 248, 0.55);
  letter-spacing: 0.03em;
}

.hero__dot {
  color: rgba(110, 231, 183, 0.4);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(254, 253, 248, 0.4);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── Services ─── */
.services {
  padding: 7rem 0;
  background: #fefdf8;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2.25rem;
  border: 1px solid rgba(6, 95, 70, 0.1);
  border-radius: 12px;
  background: #fefdf8;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.service-card:hover {
  border-color: rgba(6, 95, 70, 0.25);
  box-shadow: 0 8px 32px rgba(6, 95, 70, 0.07);
  transform: translateY(-2px);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #ecfdf5;
  color: #065f46;
  margin-bottom: 1.5rem;
}

.service-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.375rem;
  font-weight: 500;
  color: #022c22;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-card__desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #065f46;
  opacity: 0.75;
  font-weight: 300;
}

@media (max-width: 900px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
  .services {
    padding: 5rem 0;
  }
}

/* ─── About ─── */
.about {
  padding: 7rem 0;
  background: #f0faf4;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__content {
  max-width: 480px;
}

.about__text {
  font-size: 1rem;
  line-height: 1.8;
  color: #065f46;
  opacity: 0.8;
  font-weight: 300;
  margin-bottom: 1.25rem;
}

.about__stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(6, 95, 70, 0.12);
}

.stat__number {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #064e3b;
  margin-bottom: 0.25rem;
}

.stat__label {
  font-size: 0.8125rem;
  color: #065f46;
  opacity: 0.65;
  font-weight: 400;
}

@media (max-width: 800px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about__image {
    aspect-ratio: 16/10;
  }
}

/* ─── Gallery ─── */
.gallery {
  padding: 7rem 0;
  background: #fefdf8;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery__item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: auto;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery__item:hover img {
  transform: scale(1.03);
}

@media (max-width: 700px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery__grid {
    grid-template-columns: 1fr;
  }
}

/* ─── CTA ─── */
.cta {
  padding: 7rem 0;
  background: linear-gradient(135deg, #022c22 0%, #064e3b 50%, #047857 100%);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(110, 231, 183, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(167, 243, 208, 0.06) 0%, transparent 50%);
}

.cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta__inner .section-eyebrow {
  color: #6ee7b7;
}

.cta__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: #fefdf8;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.cta__text {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(254, 253, 248, 0.7);
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── Contact ─── */
.contact {
  padding: 7rem 0;
  background: #f0faf4;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact__details {
  font-style: normal;
  margin-top: 2rem;
}

.contact__row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #065f46;
  margin-bottom: 1rem;
}
.contact__row a {
  color: #047857;
  text-decoration: underline;
  text-decoration-color: rgba(4, 120, 87, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.contact__row a:hover {
  text-decoration-color: #047857;
}
.contact__row svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: #065f46;
  opacity: 0.6;
}

.contact__map {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(6, 95, 70, 0.1);
}

/* ─── Form ─── */
.contact__form-wrap {
  background: #fefdf8;
  border: 1px solid rgba(6, 95, 70, 0.1);
  border-radius: 12px;
  padding: 2.5rem;
}

.contact__form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #022c22;
  margin-bottom: 1.75rem;
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #065f46;
  margin-bottom: 0.375rem;
}

.form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  color: #064e3b;
  background: #f0faf4;
  border: 1px solid rgba(6, 95, 70, 0.15);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form__input::placeholder {
  color: rgba(6, 95, 70, 0.35);
}
.form__input:focus {
  border-color: #065f46;
  box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.08);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23065f46' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form__textarea {
  resize: vertical;
  min-height: 100px;
}

.form__success {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  background: #ecfdf5;
  border: 1px solid rgba(6, 95, 70, 0.15);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #065f46;
}
.form__success.show {
  display: flex;
}

@media (max-width: 800px) {
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ─── Footer ─── */
.footer {
  padding: 3rem 0;
  background: #022c22;
  border-top: 1px solid rgba(110, 231, 183, 0.08);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #fefdf8;
}
.footer__logo svg {
  color: #6ee7b7;
}

.footer__copy {
  font-size: 0.8125rem;
  color: rgba(254, 253, 248, 0.5);
  font-weight: 300;
  line-height: 1.7;
}

.footer__phone {
  color: rgba(254, 253, 248, 0.7);
  text-decoration: underline;
  text-decoration-color: rgba(110, 231, 183, 0.25);
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.footer__phone:hover {
  color: #a7f3d0;
}

.footer__nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__nav a {
  font-size: 0.8125rem;
  color: rgba(254, 253, 248, 0.55);
  transition: color 0.2s;
}
.footer__nav a:hover {
  color: #a7f3d0;
}

.footer__copy-small {
  font-size: 0.75rem;
  color: rgba(254, 253, 248, 0.3);
  font-weight: 300;
}

/* ─── Scroll Reveal ─── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fallback: always visible if JS disabled or reduced-motion */
.js .reveal {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  .js .reveal:not(.revealed) {
    opacity: 0;
    transform: translateY(20px);
  }
}
