/* ═══════════════════════════════════════════
   ONELLA SALON — Component Styles
   ═══════════════════════════════════════════ */

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-radius: 0;
  transition: all var(--duration) var(--ease-smooth);
  min-height: 48px;
  min-width: 48px;
  cursor: pointer;
}

.btn--primary {
  background: var(--text-primary);
  color: #fff;
  border: 1px solid var(--text-primary);
}
.btn--primary:hover {
  background: #222;
  border-color: #222;
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
}
.btn--outline:hover {
  background: var(--text-primary);
  color: #fff;
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
  border: 1px solid var(--whatsapp);
}
.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: none;
  padding: 0.5rem 0;
  letter-spacing: 0.15em;
}
.btn--ghost:hover { color: var(--accent); }
.btn--ghost::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform var(--duration) var(--ease-smooth);
}
.btn--ghost:hover::after { transform: translateX(4px); }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--duration) var(--ease-smooth);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  overflow: hidden;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.nav__brand .nav__mark {
  display: block;
  height: 42px !important;
  width: 42px !important;
  max-height: 42px;
  max-width: 42px;
  object-fit: contain;
}

.nav__wordmark {
  font-family: var(--font-brand);
  font-weight: normal;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  line-height: 1;
  display: flex;
  flex-direction: column;
  padding-top: 6px;
}

.nav__wordmark-sub {
  font-family: var(--font-body);
  font-size: 0.5rem;
  letter-spacing: 0.4em;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

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

.nav__link {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  transition: color var(--duration) var(--ease-smooth);
  position: relative;
}
.nav__link:hover,
.nav__link--active {
  color: var(--text-primary);
}
.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
}

.nav__cta {
  padding: 0.6rem 1.5rem;
  font-size: 0.68rem;
}

/* Mobile hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  min-width: 48px;
  min-height: 48px;
  justify-content: center;
  align-items: center;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--duration) var(--ease-smooth);
}
.nav__toggle.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  padding: 3rem 2rem;
  z-index: 999;
}
.nav__mobile.is-open { display: flex; flex-direction: column; gap: 1.5rem; }
.nav__mobile .nav__link {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}

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

/* ── Cards ── */
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  transition: all var(--duration) var(--ease-smooth);
}
.card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.card--gold-border {
  border-color: var(--border-accent);
}

.card__icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.card__title {
  font-family: var(--font-headline);
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.card__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Service Card ── */
.service-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  transition: all var(--duration) var(--ease-smooth);
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(201, 168, 76, 0.1);
}
.service-card__name {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-primary);
}
.service-card__price {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 300;
  color: var(--accent);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.service-card__sizes {
  display: flex;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.service-card__sizes span {
  text-align: center;
}
.service-card__sizes .size-label {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.65rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}
.service-card__sizes .size-price {
  color: var(--accent);
  font-family: var(--font-headline);
  font-size: 0.9rem;
}

/* ── Footer ── */
.footer {
  background: var(--bg-dark);
  border-top: none;
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1rem;
}

.footer__brand .footer__mark {
  display: block;
  height: 50px !important;
  width: 50px !important;
  max-height: 50px;
  max-width: 50px;
  object-fit: contain;
}

.footer__wordmark {
  font-family: var(--font-brand);
  font-weight: normal;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  line-height: 1;
  display: flex;
  flex-direction: column;
}

.footer__wordmark-sub {
  font-size: 0.42rem;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-top: 0.12rem;
}

.footer__tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer__link {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.6rem;
  transition: color var(--duration) var(--ease-smooth);
}
.footer__link:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

.footer__social {
  display: flex;
  gap: 1rem;
}
.footer__social a {
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  transition: color var(--duration) var(--ease-smooth);
}
.footer__social a:hover { color: var(--accent); }

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

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

/* ── Sticky WhatsApp Button ── */
.whatsapp-sticky {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50px;
  padding: 14px;
  font-size: 0;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--duration) var(--ease-smooth);
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  text-decoration: none;
}
.whatsapp-sticky.is-visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.whatsapp-sticky:hover {
  padding: 14px 20px 14px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  background: var(--whatsapp-dark);
  color: #fff;
}
.whatsapp-sticky svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .whatsapp-sticky {
    bottom: 16px;
    right: 16px;
  }
}

/* ── Category Pill Nav ── */
.pill-nav {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 1rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.pill-nav::-webkit-scrollbar { display: none; }

.pill-nav__item {
  flex-shrink: 0;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: transparent;
  transition: all var(--duration) var(--ease-smooth);
  cursor: pointer;
  white-space: nowrap;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.pill-nav__item:hover,
.pill-nav__item--active {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(201, 168, 76, 0.08);
}

/* ── Review Card ── */
.review-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 1.5rem;
  min-width: 300px;
  max-width: 400px;
  flex-shrink: 0;
}

.review-card__stars {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.review-card__text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-card__text.is-expanded {
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.review-card__author {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.review-card__date {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ── Instagram Grid ── */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.insta-grid__item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.insta-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.insta-grid__item:hover img {
  transform: scale(1.05);
}

.insta-grid__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.3);
  opacity: 0;
  transition: opacity var(--duration) var(--ease-smooth);
}
.insta-grid__item:hover::after { opacity: 1; }

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

/* ── Inline CTA Banner ── */
.cta-banner {
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0;
}
.cta-banner__text {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
}

/* ── Pricing Disclaimer ── */
.pricing-note {
  background: rgba(201, 168, 76, 0.06);
  border-left: 2px solid var(--accent);
  padding: 1rem 1.5rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* ── Hours Table ── */
.hours-table {
  width: 100%;
  max-width: 400px;
  border-collapse: collapse;
}
.hours-table td {
  padding: 0.75rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.hours-table td:first-child {
  color: var(--text-primary);
  font-weight: 500;
}
.hours-table td:last-child {
  color: var(--text-secondary);
  text-align: right;
}

/* ── Pull Quote ── */
.pull-quote {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--accent);
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.4;
  padding: 2rem 0;
  position: relative;
}
.pull-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-headline);
}

/* ── Loading skeleton ── */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-secondary) 25%,
    var(--bg-elevated) 50%,
    var(--bg-secondary) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 2px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
