/* ==========================================================================
   HOUSE OF PONY — Components
   ========================================================================== */

/* ---------- Hero ---------- */
.hero{
  position:relative;
  height:85svh;
  min-height:520px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  color:var(--white);
  overflow:hidden;
}
.hero .media-ph{ position:absolute; inset:0; }
.hero::after{
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
  pointer-events:none;
}

/* ---------- Hero CTA row (rectangular, bottom-center) ---------- */
.hero-cta-row{
  position:relative;
  z-index:2;
  display:flex;
  margin-bottom:clamp(40px,6vw,72px);
}
.hero-cta-row a{
  padding:22px 46px;
  background:rgba(0,0,0,.58);
  color:#fff;
  font-family:var(--btn-font);
  font-weight:700;
  font-size:15px;
  letter-spacing:.02em;
  text-transform:uppercase;
  border:1px solid rgba(255,255,255,.4);
  white-space:nowrap;
  transition:background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.hero-cta-row a:hover{ background:#fff; color:var(--black); }
@media(max-width:640px){
  .hero-cta-row{ flex-direction:column; width:calc(100% - 40px); }
  .hero-cta-row a{ text-align:center; }
}

/* ---------- Diamond monogram divider ---------- */
.section-badge{
  position:relative;
  z-index:3;
  width:60px; height:60px;
  background:var(--black);
  color:var(--white);
  display:flex; align-items:center; justify-content:center;
  margin:-30px auto 0;
  transform:rotate(45deg);
}
.section-badge span{
  transform:rotate(-45deg);
  font-family:var(--serif);
  font-style:italic;
  font-size:.95rem;
}

/* ---------- Full-bleed editorial blocks ---------- */
.full-block{ background:var(--white); }
.full-block .media-ph{ width:100%; aspect-ratio:16/9; }
.full-block .reserve-bar{
  display:block;
  width:100%;
  padding:24px;
  text-align:center;
  background:var(--black);
  color:var(--white);
  font-family:var(--btn-font);
  font-weight:700;
  font-size:16px;
  letter-spacing:.02em;
  text-transform:uppercase;
  transition:background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.full-block .reserve-bar:hover{ background:var(--white); color:var(--black); }
.full-block .full-cap{ padding:40px var(--gutter) 64px; max-width:calc(var(--container) - var(--gutter)*2); margin:0 auto; }
@media(max-width:640px){
  .full-block .media-ph{ aspect-ratio:4/5; }
}

/* ---------- Marquee strip ---------- */
.marquee{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:22px 0;
  overflow:hidden;
  white-space:nowrap;
}
.marquee-track{
  display:inline-flex;
  gap:64px;
  animation:marquee 32s linear infinite;
}
.marquee-track span{
  font-family:var(--serif);
  font-style:italic;
  font-size:clamp(1.1rem,2vw,1.6rem);
  color:var(--grey-mid);
  display:inline-flex;
  align-items:center;
  gap:64px;
}
.marquee-track span::after{ content:'—'; margin-left:64px; color:var(--line); }
@keyframes marquee{ from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ---------- About split ---------- */
.about-figure{ position:relative; }
.about-figure .media-ph{ aspect-ratio:4/5; }
.about-figure .stat-card{
  position:absolute;
  bottom:-28px; right:-28px;
  background:var(--black);
  color:var(--white);
  padding:28px 32px;
  max-width:230px;
}
.about-figure .stat-card .n{ font-family:var(--serif); font-size:2.6rem; line-height:1; }
.about-figure .stat-card .l{ font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--grey-mid); margin-top:8px; }
.about-body{ display:flex; flex-direction:column; justify-content:center; }
.about-values{ margin-top:44px; display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.about-values .val{ border-top:1px solid var(--line); padding-top:16px; }
.about-values .val h4{ font-family:var(--serif); font-size:1.15rem; font-weight:400; margin-bottom:6px; }
.about-values .val p{ font-size:13.5px; color:var(--grey-mid); line-height:1.6; }
@media(max-width:980px){
  .about-figure{ margin-bottom:56px; }
  .about-figure .stat-card{ right:12px; }
}

/* ---------- Service cards ---------- */
.svc-card{
  position:relative;
  border-top:1px solid var(--line);
  padding:36px 0;
  display:grid;
  grid-template-columns:120px 1.6fr auto auto auto;
  align-items:center;
  gap:28px;
  transition:padding-left var(--dur-fast) var(--ease);
}
.svc-card:last-child{ border-bottom:1px solid var(--line); }
.svc-card:hover{ padding-left:14px; }
.svc-thumb{ width:120px; height:120px; flex-shrink:0; }
.svc-thumb .media-ph{ width:100%; height:100%; }
.svc-thumb .mono{ font-size:1rem; }
.svc-name{ font-family:var(--serif); font-size:clamp(1.3rem,2vw,1.7rem); font-weight:400; }
.svc-desc{ font-size:13.5px; color:var(--grey-mid); margin-top:6px; max-width:46ch; line-height:1.6; }
.svc-duration{ font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--grey-mid); white-space:nowrap; }
.svc-price{ font-family:var(--serif); font-size:1.5rem; white-space:nowrap; }
@media(max-width:900px){
  .svc-card{ grid-template-columns:80px 1fr; grid-template-areas:"thumb name" "thumb meta" "thumb cta"; row-gap:10px; }
  .svc-thumb{ grid-area:thumb; width:80px; height:80px; }
  .svc-name{ grid-area:name; }
  .svc-desc{ display:none; }
  .svc-duration{ grid-area:meta; }
  .svc-price{ grid-area:meta; justify-self:end; }
  .svc-cta{ grid-area:cta; }
}

/* Full prestations cards (prestations.html) */
.svc-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
.svc-tile{ background:var(--white); padding:44px; display:flex; flex-direction:column; scroll-margin-top:calc(var(--nav-h) + 24px); }
.svc-tile .media-ph{ aspect-ratio:5/4; margin-bottom:28px; }
.svc-tile .top{ display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:10px; }
.svc-tile h3{ font-family:var(--serif); font-size:1.6rem; font-weight:400; }
.svc-tile .price{ font-family:var(--serif); font-size:1.6rem; white-space:nowrap; }
.svc-tile .meta{ font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--grey-mid); margin-bottom:16px; }
.svc-tile p{ font-size:14px; color:var(--grey-d); line-height:1.7; margin-bottom:28px; flex-grow:1; }
@media(max-width:820px){ .svc-grid{ grid-template-columns:1fr; } }

/* ---------- Gallery masonry ---------- */
.masonry{
  columns:3 280px;
  column-gap:20px;
}
.masonry-item{
  break-inside:avoid;
  margin-bottom:20px;
  cursor:zoom-in;
  position:relative;
  overflow:hidden;
}
.masonry-item .media-ph{ width:100%; transition:transform 1.2s var(--ease); }
.masonry-item:hover .media-ph{ transform:scale(1.04); }
.masonry-item .cap{
  position:absolute; left:0; right:0; bottom:0;
  padding:18px;
  color:#fff;
  font-size:11px; letter-spacing:.1em; text-transform:uppercase;
  background:linear-gradient(0deg, rgba(0,0,0,.55), transparent);
  opacity:0;
  transition:opacity var(--dur-fast) var(--ease);
}
.masonry-item:hover .cap{ opacity:1; }
.gal-filter{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:40px; }
.gal-filter button{
  padding:10px 20px;
  font-size:11px; letter-spacing:.1em; text-transform:uppercase;
  border:1px solid var(--line);
  transition:background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.gal-filter button.active, .gal-filter button:hover{ background:var(--black); color:var(--white); border-color:var(--black); }

.lightbox{
  position:fixed; inset:0; z-index:1500;
  background:rgba(0,0,0,.96);
  display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none;
  transition:opacity var(--dur-fast) var(--ease);
}
.lightbox.open{ opacity:1; pointer-events:auto; }
.lightbox .media-ph{ width:min(72vw,900px); height:min(80vh,900px); }
.lightbox-close, .lightbox-prev, .lightbox-next{
  position:absolute; color:#fff; z-index:2;
}
.lightbox-close{ top:32px; right:var(--gutter); font-size:13px; letter-spacing:.1em; text-transform:uppercase; display:flex; align-items:center; gap:8px; }
.lightbox-prev{ left:var(--gutter); top:50%; transform:translateY(-50%); }
.lightbox-next{ right:var(--gutter); top:50%; transform:translateY(-50%); }
.lightbox-prev svg, .lightbox-next svg{ width:28px; height:28px; }
.lightbox-count{ position:absolute; bottom:32px; left:50%; transform:translateX(-50%); color:rgba(255,255,255,.6); font-size:12px; letter-spacing:.1em; }
@media(max-width:640px){ .masonry{ columns:1 100%; } }

/* ---------- Testimonials ---------- */
.testi-track{
  display:flex;
  gap:1px;
  background:var(--line);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -ms-overflow-style:none;
  scrollbar-width:none;
}
.testi-track::-webkit-scrollbar{ display:none; }
.testi-card{
  flex:0 0 min(420px,86vw);
  background:var(--white);
  padding:44px 40px;
  scroll-snap-align:start;
}
.testi-stars{ display:flex; gap:4px; margin-bottom:22px; }
.testi-stars svg{ width:14px; height:14px; }
.testi-card p{ font-family:var(--serif); font-style:italic; font-size:1.15rem; line-height:1.6; margin-bottom:26px; }
.testi-who{ display:flex; align-items:center; gap:12px; }
.testi-avatar{ width:40px; height:40px; border-radius:50%; }
.testi-name{ font-size:13px; font-weight:500; }
.testi-svc{ font-size:12px; color:var(--grey-mid); }
.testi-empty{
  border:1px solid var(--line);
  padding:64px 40px;
  text-align:center;
}
.testi-empty .eyebrow{ margin-bottom:16px; }
.testi-empty p{ max-width:48ch; margin:0 auto; color:var(--grey-mid); }
.testi-nav{ display:flex; gap:12px; margin-top:32px; justify-content:flex-end; }
.testi-nav button{ width:48px; height:48px; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; transition:background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.testi-nav button:hover{ background:var(--black); color:var(--white); }
.testi-nav svg{ width:16px; height:16px; }

/* ---------- Booking steps ---------- */
.steps{ display:grid; grid-template-columns:repeat(5,1fr); gap:1px; background:var(--line-inv); border:1px solid var(--line-inv); }
.step{ background:var(--black); color:var(--white); padding:40px 28px; }
.step .num{ font-family:var(--serif); font-style:italic; font-size:2.2rem; color:var(--grey-mid); }
.step h4{ font-family:var(--serif); font-size:1.25rem; font-weight:400; margin-top:22px; margin-bottom:10px; }
.step p{ font-size:13px; color:var(--grey-mid); line-height:1.6; }
@media(max-width:980px){ .steps{ grid-template-columns:1fr 1fr; } }
@media(max-width:560px){ .steps{ grid-template-columns:1fr; } }

/* ---------- FAQ accordion ---------- */
.faq-cats{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:50px; }
.faq-cats button{
  padding:10px 20px;
  font-size:11px; letter-spacing:.1em; text-transform:uppercase;
  border:1px solid var(--line);
  transition:background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.faq-cats button.active, .faq-cats button:hover{ background:var(--black); color:var(--white); border-color:var(--black); }
.faq-item{ border-top:1px solid var(--line); }
.faq-item:last-child{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%;
  display:flex; justify-content:space-between; align-items:center;
  padding:28px 0;
  text-align:left;
  font-family:var(--serif);
  font-size:clamp(1.05rem,1.6vw,1.35rem);
  font-weight:400;
  gap:24px;
}
.faq-q .plus{ position:relative; width:18px; height:18px; flex-shrink:0; }
.faq-q .plus::before, .faq-q .plus::after{ content:''; position:absolute; background:var(--black); transition:transform var(--dur-fast) var(--ease); }
.faq-q .plus::before{ left:0; top:50%; width:100%; height:1px; transform:translateY(-50%); }
.faq-q .plus::after{ top:0; left:50%; width:1px; height:100%; transform:translateX(-50%); }
.faq-item.open .plus::after{ transform:translateX(-50%) rotate(90deg); opacity:0; }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .5s var(--ease); }
.faq-a-inner{ padding-bottom:28px; max-width:70ch; font-size:14.5px; color:var(--grey-mid); line-height:1.75; }
.faq-item.open .faq-a{ max-height:400px; }

/* ---------- Pricing / conditions strip ---------- */
.cond-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
.cond-item{ background:var(--white); padding:32px 26px; display:flex; flex-direction:column; gap:14px; }
.cond-item svg{ width:22px; height:22px; }
.cond-item span{ font-size:13px; line-height:1.5; }
@media(max-width:820px){ .cond-grid{ grid-template-columns:1fr 1fr; } }
@media(max-width:480px){ .cond-grid{ grid-template-columns:1fr; } }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(40px,6vw,90px); }
.form-row{ margin-bottom:26px; }
.form-row label{ display:block; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--grey-mid); margin-bottom:10px; }
.form-row input, .form-row select, .form-row textarea{
  width:100%;
  border:none;
  border-bottom:1px solid var(--line);
  padding:12px 0;
  background:transparent;
  transition:border-color var(--dur-fast) var(--ease);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{ border-color:var(--black); outline:none; }
.form-row textarea{ resize:vertical; min-height:110px; }
.form-2col{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.form-note{ font-size:12px; color:var(--grey-mid); margin-top:18px; line-height:1.6; }
.contact-info-item{ display:flex; gap:20px; padding:26px 0; border-top:1px solid var(--line); }
.contact-info-item:last-child{ border-bottom:1px solid var(--line); }
.contact-info-item svg{ width:20px; height:20px; flex-shrink:0; margin-top:2px; }
.contact-info-item h4{ font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--grey-mid); margin-bottom:6px; }
.contact-info-item p, .contact-info-item a{ font-size:15px; }
.map-frame{ aspect-ratio:16/9; margin-top:8px; }
@media(max-width:900px){ .contact-grid{ grid-template-columns:1fr; } .form-2col{ grid-template-columns:1fr; } }

/* ---------- Social floating proof strip ---------- */
.social-strip{ display:flex; align-items:center; gap:18px; }
.social-strip a{
  display:flex; align-items:center; gap:8px;
  font-size:12px; letter-spacing:.08em; text-transform:uppercase;
  border-bottom:1px solid transparent;
}
.social-strip a:hover{ border-color:currentColor; }
.social-strip svg{ width:16px; height:16px; }

/* ---------- Legal pages ---------- */
.legal-body h2{ font-size:1.4rem; margin-top:48px; margin-bottom:16px; font-weight:400; }
.legal-body h2:first-child{ margin-top:0; }
.legal-body p, .legal-body li{ font-size:14.5px; color:var(--grey-d); line-height:1.8; margin-bottom:14px; }
.legal-body ul{ list-style:disc; padding-left:22px; }
.legal-body strong{ font-weight:600; }
.legal-updated{ color:var(--grey-mid); font-size:13px; margin-bottom:56px; }
