/* ============================================
   TOE INK — Salon Website Styles
   Palette: Terracotta (#B85C38 / #C0603C) + Sand (#F5F0EB / #E8DFD4)
   Fonts: Playfair Display (headings) + Inter (body)
   ============================================ */

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --terra: #B85C38;
  --terra-dark: #9A4B2C;
  --terra-light: #C0603C;
  --sand: #F5F0EB;
  --sand-dark: #E8DFD4;
  --sand-darker: #D4C8BC;
  --charcoal: #1E1E1E;
  --dark: #2A2520;
  --dark-mid: #3D352E;
  --warm-gray: #6B6058;
  --warm-gray-light: #9A8E84;
  --white: #FEFCFA;
  --cream: #FAF6F2;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(30,30,30,0.08);
  --shadow-md: 0 4px 20px rgba(30,30,30,0.10);
  --shadow-lg: 0 12px 40px rgba(30,30,30,0.12);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background-color: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245, 240, 235, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand-dark);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--terra);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  letter-spacing: -0.5px;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--warm-gray);
  transition: color var(--transition);
  letter-spacing: 0.01em;
}

.nav__links a:hover {
  color: var(--terra);
}

.nav__cta {
  background: var(--terra);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav__cta:hover {
  background: var(--terra-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark);
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.nav__toggle:hover {
  background: var(--sand-dark);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(30, 30, 30, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav__inner {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--sand);
  padding: 96px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform var(--transition);
}

.mobile-nav.active .mobile-nav__inner {
  transform: translateX(0);
}

.mobile-nav__link {
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  padding: 14px 0;
  border-bottom: 1px solid var(--sand-dark);
  transition: color var(--transition), padding-left var(--transition);
}

.mobile-nav__link:hover {
  color: var(--terra);
  padding-left: 8px;
}

.mobile-nav__cta {
  margin-top: 24px;
  background: var(--terra);
  color: var(--white);
  text-align: center;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
}

/* ============================================
   HERO — asymmetric magazine layout
   ============================================ */
.hero {
  min-height: 100vh;
  padding-top: 72px;
  background: var(--sand);
  overflow: hidden;
}

.hero__grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 72px);
}

.hero__content {
  max-width: 520px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terra);
  background: rgba(184, 92, 56, 0.10);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--charcoal);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__body {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--warm-gray);
  margin-bottom: 36px;
  max-width: 440px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--terra);
  color: var(--white);
  border-color: var(--terra);
}

.btn--primary:hover {
  background: var(--terra-dark);
  border-color: var(--terra-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 92, 56, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--dark);
  border-color: var(--sand-darker);
}

.btn--ghost:hover {
  border-color: var(--terra);
  color: var(--terra);
}

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

.btn--dark:hover {
  background: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn--light:hover {
  background: var(--sand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn--outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn--full {
  width: 100%;
}

.hero__trust {
  display: flex;
  gap: 40px;
}

.hero__trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__trust-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--terra);
  line-height: 1;
}

.hero__trust-label {
  font-size: 13px;
  color: var(--warm-gray-light);
  font-weight: 500;
}

/* HERO VISUAL — asymmetric stack */
.hero__visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  justify-items: end;
  padding-bottom: 20px;
}

.hero__img-main {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__img-accent {
  width: 72%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--sand);
}

.hero__img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__badge {
  position: absolute;
  bottom: 32px;
  left: -12px;
  background: var(--white);
  color: var(--dark);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
}

.hero__badge svg {
  color: #F5A623;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  margin-bottom: 56px;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-header__lead {
  max-width: 560px;
  margin: 0 auto;
}

.section-header__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 12px;
}

.section-header__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header__lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--warm-gray);
  max-width: 540px;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 100px 0;
  background: var(--white);
}

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

.service-card {
  background: var(--sand);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sand-dark);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(184, 92, 56, 0.10);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terra);
  margin-bottom: 20px;
  transition: background var(--transition);
}

.service-card:hover .service-card__icon {
  background: var(--terra);
  color: var(--white);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.service-card__desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--warm-gray);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 100px 0;
  background: var(--sand);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__img-stack {
  position: relative;
  height: 640px;
}

.about__img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 80%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__img-float {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 58%;
  height: 60%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--sand);
}

.about__img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__content {
  max-width: 480px;
}

.about__body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--warm-gray);
  margin-bottom: 20px;
}

.about__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin: 32px 0 40px;
}

.about__highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-mid);
}

.about__highlight svg {
  color: var(--terra);
  flex-shrink: 0;
}

.about__content .btn {
  margin-top: 8px;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: 100px 0;
  background: var(--white);
}

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

.gallery__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/2;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery__item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery__item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  padding: 100px 0;
  background: var(--dark);
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-banner__text {
  max-width: 520px;
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-banner__body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--warm-gray-light);
}

.cta-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 100px 0;
  background: var(--sand);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--warm-gray);
  margin-bottom: 36px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact__detail-icon {
  width: 48px;
  height: 48px;
  background: rgba(184, 92, 56, 0.10);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terra);
  flex-shrink: 0;
}

.contact__detail strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warm-gray);
  margin-bottom: 4px;
}

.contact__detail span,
.contact__detail a {
  font-size: 1rem;
  color: var(--dark);
  font-weight: 500;
}

.contact__detail a:hover {
  color: var(--terra);
}

/* FORM */
.contact__form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact__form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-mid);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dark);
  background: var(--sand);
  border: 2px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--terra);
  background: var(--white);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--warm-gray-light);
}

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

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(34, 139, 87, 0.08);
  border: 1px solid rgba(34, 139, 87, 0.2);
  border-radius: var(--radius-sm);
  color: #1a7a4e;
  font-weight: 500;
  font-size: 14px;
}

.form-success svg {
  flex-shrink: 0;
  color: #228B53;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--charcoal);
  color: var(--warm-gray-light);
  padding: 72px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--terra);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.footer__tagline {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--warm-gray);
  max-width: 260px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links strong {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 4px;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--warm-gray);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--terra-light);
}

.footer__contact p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 4px;
}

.footer__contact a {
  color: var(--warm-gray);
  transition: color var(--transition);
}

.footer__contact a:hover {
  color: var(--terra-light);
}

.footer__bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--warm-gray);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero__grid {
    gap: 32px;
  }

  .about__grid {
    gap: 40px;
  }

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

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

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    padding: 40px 24px 60px;
    min-height: auto;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__headline {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .hero__body {
    font-size: 1rem;
  }

  .hero__actions {
    flex-direction: column;
  }

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

  .hero__trust {
    gap: 24px;
  }

  .hero__trust-num {
    font-size: 1.6rem;
  }

  .hero__visual {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .hero__badge {
    left: 0;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__img-stack {
    height: 420px;
    max-width: 480px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery__item--tall {
    grid-row: span 1;
    aspect-ratio: 3/2;
  }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner__actions {
    justify-content: center;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact__form-wrap {
    padding: 28px;
  }

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

  .footer__bar {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__trust {
    flex-direction: column;
    gap: 16px;
  }

  .about__highlights {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .hero__img-accent {
    width: 80%;
  }
}
