/* Reusable component styles (plain CSS so it works with the Tailwind Play CDN) */

:root {
  --paper: #F5F2EC;
  --ink: #15140F;
  --muted: #5B584F;
  --line: #DDD8CC;
  --field: #CFC8B8;
  --sand: #EAE5DA;
  --stone: #D8D1C2;
  --accent: #E4472A;
  --night: #2A2822;
  --night-line: #4A473E;
  --dim: #A8A395;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Services grid */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 0 36px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) {
  .service-card { padding: 40px 32px 44px; }
  .service-card:nth-child(2n) { border-left: 1px solid var(--line); }
}
@media (min-width: 1024px) {
  .service-card:nth-child(2n) { border-left: 0; }
  .service-card:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); }
  .service-card:nth-child(n+4) { border-bottom: 0; }
}

.tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--sand);
  font-size: 13px;
  font-weight: 600;
}
.tag-dark {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--night-line);
  font-size: 13px;
  font-weight: 600;
}

.placeholder-dark {
  height: 224px;
  border-radius: 24px;
  background: var(--night);
  border: 1px dashed var(--night-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dim);
  font-size: 15px;
  font-weight: 600;
}
@media (min-width: 1024px) { .placeholder-dark { height: 340px; } }

/* Process */
.step-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
}
@media (min-width: 640px) {
  .step-card { flex-direction: column; padding: 32px; }
}
.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 18px;
}

/* Testimonials */
.quote-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--ink);
}
@media (min-width: 1024px) { .quote-card { padding: 36px; } }
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

/* About */
.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
}
.photo {
  width: 100%;
  height: 150px;
  border-radius: 16px;
  background: var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
@media (min-width: 1024px) { .photo { height: 260px; border-radius: 20px; } }

/* FAQ accordion (native <details>) */
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
@media (min-width: 1024px) { .faq summary { font-size: 22px; min-height: 76px; } }
.faq p {
  margin: 0;
  padding: 0 48px 24px 0;
  color: var(--muted);
  line-height: 1.6;
}
@media (min-width: 1024px) { .faq p { font-size: 17px; } }

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--field);
  transition: background-color .2s, border-color .2s;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2.4px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .2s;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq-icon { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.faq[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

/* Contact */
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  font-size: 17px;
  font-weight: 600;
  color: var(--paper);
  border-bottom: 1px solid #2E2C25;
}
a.contact-row:not(.contact-row--address):hover { color: var(--accent); }

.field-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.field {
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--field);
  background: #fff;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
}
.field:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(228, 71, 42, .25); }

.chip {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--field);
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Footer */
.social {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--field);
  display: flex;
  align-items: center;
  justify-content: center;
}
.social:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Platforms */
.platform-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
}
@media (min-width: 1024px) { .platform-card { padding: 36px; } }
.check-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.check-list li { display: flex; align-items: center; gap: 10px; }
.check-list li::before {
  content: "";
  width: 16px; height: 16px; flex-shrink: 0;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8341C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* Campaign photos */
.city-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4 / 5;
  background: var(--stone);
}
.city-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.city-photo--small { border-radius: 14px; aspect-ratio: 3 / 4; background: var(--night); }
.photo-caption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(21, 20, 15, 0.78);
  color: #F5F2EC;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}
@media (min-width: 1024px) { .photo-caption { left: 14px; bottom: 14px; font-size: 13px; } }

/* Spam trap field: kept off-screen, not display:none, so bots still fill it */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Address row: multi-line, so align to the top and use a calmer size */
.contact-row--address {
  align-items: flex-start;
  padding: 14px 0 6px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}
.contact-row--address address { min-width: 0; overflow-wrap: anywhere; }
.contact-row--address:hover .text-accent { text-decoration: underline; }

/* Creator-content photos: tall reel format, shown uncropped */
.reel-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 360 / 778;
  background: var(--stone);
}
.reel-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 1024px) { .reel-photo { border-radius: 22px; } }
