/* ============================================================
   ORLOVE — Extended Features
   ============================================================ */

/* Announcement Banner */
.announcement {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  color: var(--text-on-gold);
  padding: 0.65rem 3rem 0.65rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease);
}

.announcement.hidden { transform: translateY(-100%); pointer-events: none; }

.announcement__link {
  color: inherit;
  text-decoration: underline;
  margin-left: 0.5rem;
  font-weight: 600;
}

.announcement__close {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: inherit;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0.8;
  line-height: 1;
}

body.has-announcement { padding-top: 42px; }
body.has-announcement .header { top: 42px; }

/* Floating WhatsApp — always bottom LEFT */
.floating-wa {
  position: fixed;
  left: 1rem;
  right: auto;
  bottom: 1.5rem;
  z-index: 925;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.floating-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

@media (max-width: 768px) {
  .floating-wa {
    left: 1rem;
    right: auto;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
    z-index: 925;
  }
}

/* Service Search */
.services__search {
  position: relative;
  flex: 1;
  max-width: 320px;
}

.services__search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  background: var(--bg-card);
  border: 1px solid rgba(201, 169, 98, 0.15);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  transition: border-color var(--transition);
}

.services__search input:focus {
  outline: none;
  border-color: var(--gold-400);
}

.services__search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.services__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.service-card__actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.service-card__share {
  background: none;
  border: 1px solid rgba(201, 169, 98, 0.25);
  color: var(--gold-300);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  transition: background var(--transition);
}

.service-card__share:hover {
  background: rgba(201, 169, 98, 0.1);
}

/* Specialties */
.specialties__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.specialty-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(201, 169, 98, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.specialty-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.specialty-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.specialty-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-raised), var(--bg-card));
  color: var(--gold-400);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.specialty-card__body { padding: 1.25rem; }

.specialty-card__cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-400);
}

.specialty-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.35rem 0 0.5rem;
}

.specialty-card__body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.specialty-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.specialty-card__price {
  font-weight: 600;
  color: var(--gold-300);
}

/* Testimonials */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(201, 169, 98, 0.1);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
}

.testimonial-card__stars {
  color: var(--gold-400);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.testimonial-card__text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.testimonial-card__author strong {
  display: block;
  color: var(--gold-300);
}

.testimonial-card__author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(201, 169, 98, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item__question {
  padding: 1.15rem 1.5rem;
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item__question::-webkit-details-marker { display: none; }

.faq-item__question::after {
  content: '+';
  color: var(--gold-400);
  font-size: 1.25rem;
  transition: transform 0.2s;
}

.faq-item[open] .faq-item__question::after {
  content: '−';
}

.faq-item__answer {
  padding: 0 1.5rem 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Policies */
.policies__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.policy-card {
  background: var(--bg-card);
  border: 1px solid rgba(201, 169, 98, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.policy-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(201, 169, 98, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  margin-bottom: 1rem;
}

.policy-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.policy-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Calendly */
.calendly__embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(201, 169, 98, 0.12);
  background: var(--bg-card);
  min-height: 680px;
}

.calendly__embed iframe {
  width: 100%;
  height: 680px;
  border: none;
}

.calendly__fallback {
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
}

/* Map */
.contact__map {
  margin-top: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(201, 169, 98, 0.12);
  height: 280px;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Open Now */
.open-now {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.open-now--open {
  background: rgba(92, 184, 138, 0.15);
  color: var(--success);
  border: 1px solid rgba(92, 184, 138, 0.3);
}

.open-now--closed {
  background: rgba(224, 112, 112, 0.12);
  color: var(--danger);
  border: 1px solid rgba(224, 112, 112, 0.25);
}

.open-now__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.open-now__dot.pulse {
  animation: pulse-dot 1.5s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Portfolio Before/After */
.portfolio__item--ba .portfolio__ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  height: 100%;
}

.portfolio__ba-side {
  position: relative;
  overflow: hidden;
}

.portfolio__ba-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio__ba-label {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

/* Admin Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.stats-card {
  background: var(--bg-raised);
  border: 1px solid rgba(201, 169, 98, 0.12);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.stats-card__num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-400);
  font-family: var(--font-display);
}

.stats-card__label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.admin-form--split .form__row { margin-bottom: 0; }
