/* ═══════════════════════════════════════
   IslandBarter — Homepage Sections
   Version: 1.0.0
   ═══════════════════════════════════════ */

/* ══════════════
   ANIMATIONS
   ══════════════ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(20deg); }
  75% { transform: rotate(-10deg); }
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.8; }
  75%, 100% { transform: scale(2.5); opacity: 0; }
}

/* ══════════════
   HERO SECTION
   ══════════════ */
.hero {
  min-height: 100vh;
  padding: 120px 0 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(224,90,71,0.06) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(12,59,94,0.05) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-greeting {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ocean);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  animation: fadeSlideUp 0.8s ease backwards;
}

.hero-greeting .wave {
  display: inline-block;
  animation: wave 2s ease-in-out infinite;
  transform-origin: 70% 70%;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--ocean);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  animation: fadeSlideUp 0.8s ease 0.1s backwards;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--coral);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--mist);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 32px;
  animation: fadeSlideUp 0.8s ease 0.2s backwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s ease 0.3s backwards;
}

/* ══════════════
   HERO VISUAL / DONKEY
   ══════════════ */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donkey-scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  animation: fadeSlideUp 1s ease 0.3s backwards;
}

.donkey-svg {
  width: 100%;
  height: auto;
  animation: float 4s ease-in-out infinite;
}

/* ══════════════
   FLOATING TRADE CARDS
   ══════════════ */
.trade-card-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
  color: var(--slate);
  white-space: nowrap;
  z-index: 2;
}

.trade-card-float svg {
  flex-shrink: 0;
}

.trade-card-float strong {
  font-weight: 700;
  color: var(--ocean);
}

.trade-card-float--1 {
  top: 10%;
  right: -10px;
  animation: floatBadge 3s ease-in-out infinite;
  animation-delay: 0s;
}

.trade-card-float--2 {
  bottom: 20%;
  left: -20px;
  animation: floatBadge 3s ease-in-out infinite;
  animation-delay: 1.5s;
}

.trade-card-float--3 {
  bottom: 5%;
  right: 10%;
  animation: floatBadge 3s ease-in-out infinite;
  animation-delay: 0.8s;
}

/* ══════════════
   HOW IT WORKS
   ══════════════ */
.how-it-works {
  padding: 100px 0;
  position: relative;
  background: var(--white);
}

.how-header {
  text-align: center;
  margin-bottom: 64px;
}

.how-header .section-sub {
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

/* Dashed connector line */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 56px;
  left: calc(16.67% + 28px);
  right: calc(16.67% + 28px);
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--sand-deep) 0,
    var(--sand-deep) 8px,
    transparent 8px,
    transparent 16px
  );
  z-index: 0;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(12,59,94,0.06);
  transition: var(--transition);
}

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

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  margin: 0 auto 24px;
}

.step-card:nth-child(1) .step-num { background: var(--ocean); }
.step-card:nth-child(2) .step-num { background: var(--coral); }
.step-card:nth-child(3) .step-num { background: var(--green); }

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: block;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ocean);
  margin-bottom: 12px;
}

.step-card p {
  color: var(--mist);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ══════════════
   WHY BARTER
   ══════════════ */
.why-barter {
  padding: 100px 0;
  background: var(--ocean);
  position: relative;
  overflow: hidden;
}

.why-barter::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(224,90,71,0.12) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.why-barter::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26,122,181,0.15) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.why-inner {
  position: relative;
  z-index: 1;
}

.why-header {
  text-align: center;
  margin-bottom: 56px;
}

.why-header .section-label { color: var(--coral-light); }
.why-header .section-title { color: var(--white); }
.why-header .section-sub { color: rgba(255,255,255,0.7); margin: 0 auto; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.benefit-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
}

.benefit-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.benefit-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Why Barter proverb block override */
.why-barter .proverb-block {
  background: rgba(255,255,255,0.05);
  border-left: 4px solid var(--yellow);
}

.why-barter .proverb-block::before {
  display: none;
}

.why-barter .proverb-text {
  color: var(--yellow-light);
}

.why-barter .proverb-meaning {
  color: rgba(255,255,255,0.6);
}

/* ══════════════
   WHAT TO TRADE
   ══════════════ */
.what-trade {
  padding: 100px 0;
  position: relative;
}

.trade-header {
  text-align: center;
  margin-bottom: 56px;
}

.trade-header .section-sub {
  margin: 0 auto;
}

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

.trade-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid rgba(12,59,94,0.06);
  transition: var(--transition);
}

.trade-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(12,59,94,0.12);
}

.trade-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}

.trade-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ocean);
  margin-bottom: 8px;
}

.trade-card p {
  color: var(--mist);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ══════════════
   COMMUNITY
   ══════════════ */
.community {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

.community-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.community-text .section-sub {
  margin-bottom: 40px;
}

.community-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-block {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 20px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ocean);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--mist);
  line-height: 1.4;
}

/* Community map */
.community-map {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background:
    linear-gradient(135deg, rgba(12,59,94,0.03) 0%, rgba(26,122,181,0.06) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(12,59,94,0.08);
  overflow: hidden;
}

.map-island-label {
  position: absolute;
  top: 12px;
  left: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ocean);
  opacity: 0.5;
}

.map-dot {
  position: absolute;
}

.map-dot:nth-child(2) { top: 35%; right: 15%; }   /* Red Hook */
.map-dot:nth-child(3) { top: 50%; left: 40%; }     /* Charlotte Amalie */
.map-dot:nth-child(4) { top: 58%; left: 32%; }     /* Frenchtown */
.map-dot:nth-child(5) { top: 42%; left: 52%; }     /* Havensight */
.map-dot:nth-child(6) { top: 30%; left: 55%; }     /* Tutu */
.map-dot:nth-child(7) { top: 55%; left: 24%; }     /* Crown Bay */
.map-dot:nth-child(8) { top: 40%; left: 42%; }     /* Estate Thomas */

.map-dot-pin {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: relative;
}

.map-dot:nth-child(2) .map-dot-pin { background: var(--coral); }
.map-dot:nth-child(3) .map-dot-pin { background: var(--green); }
.map-dot:nth-child(4) .map-dot-pin { background: var(--yellow); }
.map-dot:nth-child(5) .map-dot-pin { background: var(--ocean-light); }
.map-dot:nth-child(6) .map-dot-pin { background: var(--coral); }
.map-dot:nth-child(7) .map-dot-pin { background: var(--green); }
.map-dot:nth-child(8) .map-dot-pin { background: var(--yellow); }

.map-dot-pin::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.map-dot:nth-child(3) .map-dot-pin::after { animation-delay: 0.3s; }
.map-dot:nth-child(4) .map-dot-pin::after { animation-delay: 0.7s; }
.map-dot:nth-child(5) .map-dot-pin::after { animation-delay: 1.1s; }
.map-dot:nth-child(6) .map-dot-pin::after { animation-delay: 0.5s; }
.map-dot:nth-child(7) .map-dot-pin::after { animation-delay: 1.4s; }
.map-dot:nth-child(8) .map-dot-pin::after { animation-delay: 0.9s; }

.map-dot-label {
  position: absolute;
  top: -6px;
  left: 18px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
  opacity: 0.8;
}

/* ══════════════
   JOIN CTA
   ══════════════ */
.join-cta {
  padding: 100px 0;
  position: relative;
}

.join-card {
  background: linear-gradient(135deg, var(--ocean) 0%, #0a2e4a 100%);
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.join-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(224,90,71,0.15) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.join-card::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(26,122,181,0.2) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.join-card .section-label {
  color: var(--coral-light);
  position: relative;
  z-index: 1;
}

.join-card h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.join-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.pricing-pills {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.pricing-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 10px 24px;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
}

.pricing-pill strong {
  color: var(--white);
  font-weight: 700;
}

.join-card .btn {
  position: relative;
  z-index: 1;
}

/* ══════════════
   RESPONSIVE — 1024px
   ══════════════ */
@media (max-width: 1024px) {
  .hero-inner {
    gap: 40px;
  }

  .steps-grid {
    gap: 24px;
  }

  .benefits-grid {
    gap: 20px;
  }

  .trade-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .community-inner {
    gap: 40px;
  }
}

/* ══════════════
   RESPONSIVE — 768px
   ══════════════ */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .donkey-scene {
    max-width: 280px;
  }

  .trade-card-float--1 { top: 5%; right: -5px; }
  .trade-card-float--2 { bottom: 18%; left: -10px; }
  .trade-card-float--3 { bottom: 2%; right: 5%; }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 400px;
    margin: 0 auto;
  }

  .steps-grid::before {
    display: none;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trade-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

  .community-visual {
    order: -1;
  }

  .join-card {
    padding: 48px 28px;
  }

  .pricing-pills {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

/* ══════════════
   RESPONSIVE — 480px
   ══════════════ */
@media (max-width: 480px) {
  .hero {
    padding: 90px 0 40px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .donkey-scene {
    max-width: 220px;
  }

  .trade-card-float {
    padding: 8px 12px;
    font-size: 0.75rem;
  }

  .step-card {
    padding: 28px 20px;
  }

  .benefit-card {
    padding: 24px 20px;
  }

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

  .trade-card {
    padding: 20px 16px;
  }

  .community-stats {
    grid-template-columns: 1fr;
  }

  .stat-num {
    font-size: 1.5rem;
  }

  .join-card {
    padding: 36px 20px;
  }

  .join-card h2 {
    font-size: 1.6rem;
  }
}

/* ═══════════════════════════════════════
   Homepage — Directory Integration
   Added: 2026-03-27
   ═══════════════════════════════════════ */

/* ══════════════
   DIRECTORY SEARCH BAR
   ══════════════ */
.home-search {
  padding: 0 0 80px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.home-search-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid rgba(12,59,94,0.06);
}

.home-search-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ocean);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.home-search-sub {
  color: var(--mist);
  font-size: 1rem;
  margin-bottom: 28px;
}

.home-search-form {
  display: flex;
  gap: 12px;
  align-items: stretch;
  flex-wrap: wrap;
}

.home-search-input-wrap {
  flex: 1 1 320px;
  position: relative;
}

.home-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--mist);
  pointer-events: none;
}

.home-search-input {
  width: 100%;
  padding: 16px 20px 16px 48px;
  border: 2px solid rgba(12,59,94,0.1);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--sand);
  outline: none;
  transition: var(--transition);
}

.home-search-input:focus {
  border-color: var(--ocean);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(12,59,94,0.06);
}

.home-search-input::placeholder {
  color: var(--mist);
}

.home-search-select {
  flex: 0 1 220px;
  padding: 16px 40px 16px 18px;
  border: 2px solid rgba(12,59,94,0.1);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--sand);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230c3b5e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.home-search-select:focus {
  border-color: var(--ocean);
  background-color: var(--white);
}

.home-search-btn {
  flex-shrink: 0;
  padding: 16px 32px;
  font-size: 1rem;
}

/* ══════════════
   BROWSE CATEGORIES
   ══════════════ */
.home-categories {
  padding: 80px 0 100px;
  background: var(--white);
}

.home-cat-header {
  text-align: center;
  margin-bottom: 48px;
}

.home-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.home-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--sand);
  border: 1px solid rgba(12,59,94,0.06);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.home-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ocean);
}

.home-cat-card:hover .home-cat-icon {
  background: var(--ocean);
  color: var(--white);
}

.home-cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--white);
  color: var(--ocean);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: var(--transition);
}

.home-cat-icon svg {
  width: 28px;
  height: 28px;
}

.home-cat-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ocean);
  margin-bottom: 6px;
}

.home-cat-count {
  font-size: 0.82rem;
  color: var(--mist);
  font-weight: 500;
}

.home-cat-cta {
  text-align: center;
  margin-top: 40px;
}

/* ══════════════
   FEATURED BUSINESSES
   ══════════════ */
.home-featured {
  padding: 100px 0;
  background: var(--sand);
}

.home-featured-header {
  text-align: center;
  margin-bottom: 48px;
}

.home-featured-header .section-sub {
  margin: 0 auto;
}

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

.home-biz-card {
  display: block;
  background: var(--white);
  border: 1px solid rgba(12,59,94,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.home-biz-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.home-biz-img {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
  overflow: hidden;
}

.home-biz-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-biz-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #cbd5e1;
}

.home-biz-placeholder svg {
  width: 48px;
  height: 48px;
}

.home-biz-verified {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: var(--green);
  color: var(--white);
}

.home-biz-body {
  padding: 18px 22px 22px;
}

.home-biz-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ocean);
  margin-bottom: 8px;
  line-height: 1.3;
}

.home-biz-cat {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 4px;
}

.home-biz-island {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-left: 4px;
  margin-bottom: 4px;
}

.home-biz-meta {
  color: var(--mist);
  font-size: 0.85rem;
  margin: 6px 0 0;
  line-height: 1.4;
}

.home-featured-cta {
  text-align: center;
  margin-top: 40px;
}

/* ══════════════
   WHY BARTER — SVG ICONS
   ══════════════ */
.benefit-icon--save,
.benefit-icon--grow,
.benefit-icon--island {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.benefit-icon--save svg,
.benefit-icon--grow svg,
.benefit-icon--island svg {
  width: 32px;
  height: 32px;
}

.benefit-icon--save { background: rgba(232,168,23,0.3); }
.benefit-icon--grow { background: rgba(224,90,71,0.3); }
.benefit-icon--island { background: rgba(29,138,78,0.3); }

/* ══════════════
   RESPONSIVE — HOMEPAGE NEW SECTIONS
   ══════════════ */
@media (max-width: 1024px) {
  .home-cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 768px) {
  .home-search-card {
    padding: 32px 24px;
  }

  .home-search-form {
    flex-direction: column;
  }

  .home-search-select {
    flex: 1 1 auto;
  }

  .home-cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .home-cat-card {
    padding: 24px 16px;
  }

  .home-cat-icon {
    width: 48px;
    height: 48px;
  }

  .home-cat-icon svg {
    width: 24px;
    height: 24px;
  }

  .home-featured-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .home-search {
    margin-top: -20px;
    padding-bottom: 60px;
  }

  .home-search-card {
    padding: 24px 16px;
  }

  .home-search-title {
    font-size: 1.3rem;
  }

  .home-cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .home-cat-card h3 {
    font-size: 0.88rem;
  }
}

/* ===== TAC Featured Services / Anchor Deals ===== */
.tac-services {
  padding: 80px 0;
  background: var(--sand, #faf8f5);
}

.tac-services-header {
  text-align: center;
  margin-bottom: 48px;
}

.tac-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.tac-service-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tac-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.tac-service-icon {
  margin-bottom: 16px;
}

.tac-service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy, #0c3b5e);
  margin: 0 0 8px;
}

.tac-service-card p {
  font-size: 0.9rem;
  color: var(--mist, #64748b);
  line-height: 1.6;
  margin: 0 0 16px;
}

.tac-service-price {
  display: inline-block;
  background: linear-gradient(135deg, var(--ocean, #1a365d) 0%, #2563eb 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 6px 16px;
  border-radius: 20px;
}

.tac-services-footer {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .tac-services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .tac-services {
    padding: 48px 0;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .tac-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
