/* Core Design System & CSS Variables */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&display=swap');

:root {
  /* Goan-themed Color Palette */
  --deep: #063b39;
  --deep2: #092b2a;
  --coral: #f2694c;
  --gold: #f5c65b;
  --mint: #d9f0df;
  --cream: #fffaf0;
  --paper: #f4f1e7;
  --ink: #102f2d;
  --muted: #6a7972;
  --line: #dfe4d9;
  --white: #fff;
  --shadow: 0 18px 50px rgba(6, 59, 57, 0.09);

  /* Mapping to existing app classes */
  --bg-main: var(--paper);
  --bg-surface: var(--white);
  --bg-surface-solid: var(--white);
  --bg-card: var(--white);
  --border-color: var(--line);
  --border-glow: rgba(6, 59, 57, 0.06);

  --primary: var(--coral);
  --primary-glow: rgba(242, 105, 76, 0.3);
  --primary-hover: #ff8265;
  --secondary: var(--deep);
  --accent: var(--coral);
  --accent-glow: rgba(242, 105, 76, 0.2);
  
  /* Text colors */
  --text-main: var(--ink);
  --text-muted: var(--muted);
  --text-inverse: var(--cream);

  /* Fonts */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', Arial, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Glassmorphism overrides to match organic style */
  --glass-bg: var(--white);
  --glass-blur: none;
  --glass-border: var(--line);
  --glass-shadow: var(--shadow);
}

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(244, 241, 231, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

header.scrolled {
  background: var(--white);
  box-shadow: 0 4px 20px rgba(6, 59, 57, 0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--deep);
  text-decoration: none;
}

.logo i {
  background: var(--coral);
  color: var(--cream);
  padding: 0.35rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 100%;
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

nav a:hover, nav a.active {
  color: var(--primary);
}

/* Mobile Menu Hamburger */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 0.4rem;
  padding: 0.5rem;
  z-index: 1000;
}

.hamburger-line {
  width: 24px;
  height: 2.5px;
  background: var(--deep);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  z-index: 999;
  box-shadow: var(--shadow);
}

.mobile-nav.active {
  display: block;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 0;
  align-items: stretch;
  padding: 0 1rem;
  margin: 0;
}

.mobile-nav li {
  width: 100%;
  list-style: none;
}

.mobile-nav a {
  display: block;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  margin-bottom: 0.5rem;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--mint);
  color: var(--deep);
}

.mobile-nav .btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

/* Desktop Navigation (larger than 768px) */
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  
  .mobile-nav {
    display: flex !important;
    position: static;
    background: none;
    backdrop-filter: none;
    border-bottom: none;
    padding: 0;
    z-index: auto;
    box-shadow: none;
  }
  
  .mobile-nav ul {
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
  }
  
  .mobile-nav li {
    width: auto;
  }
  
  .mobile-nav a {
    display: inline;
    padding: 0;
    border-radius: 0;
    font-size: 0.95rem;
    margin-bottom: 0;
  }
  
  .mobile-nav a:hover,
  .mobile-nav a.active {
    background: none;
    color: var(--primary);
  }
  
  .mobile-nav .btn {
    width: auto;
    margin-top: 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-normal);
  gap: 0.5rem;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(242, 105, 76, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(242, 105, 76, 0.35);
}

.btn-secondary {
  background: var(--mint);
  color: var(--deep);
  border: 1px solid transparent;
}

.btn-secondary:hover {
  background: #c3ebd0;
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(242, 105, 76, 0.2);
}

.btn-accent:hover {
  transform: translateY(-2px);
  background: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(242, 105, 76, 0.35);
}

/* Hero Section */
.hero {
  padding: 10rem 0 6rem;
  text-align: center;
  position: relative;
  background: var(--deep);
  color: var(--white);
  overflow: hidden;
}

.hero-glow {
  display: none;
}

.badge-promo {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3rem, 5.5vw, 4.8rem);
  line-height: 1;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero p {
  font-size: 1.25rem;
  color: #c8d8cf;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--deep);
  box-shadow: var(--glass-shadow);
  transform: translateY(-4px);
}

/* How It Works Section */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 36rem;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.step-card {
  position: relative;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  border-radius: 14px;
}

.step-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--coral);
  opacity: 0.8;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Showcase Section */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.showcase-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.showcase-img {
  width: 100%;
  height: 14rem;
  min-height: 14rem;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  transition: var(--transition-slow);
}

.showcase-card:hover .showcase-img {
  transform: scale(1.05);
}

.showcase-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(6, 59, 57, 0.9);
  padding: 0.35rem 0.75rem;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #d7e3d9;
}

.showcase-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.showcase-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.showcase-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Why Us / Benefits */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.why-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--mint);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--deep);
  border: 1px solid rgba(6, 59, 57, 0.1);
  border-radius: 12px;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 7px 22px rgba(16, 47, 45, 0.03);
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-header {
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.price-period {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.price-features li i {
  color: var(--coral);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
  cursor: pointer;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 600;
}

.faq-question i {
  transition: var(--transition-normal);
  color: var(--deep);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  color: var(--text-muted);
  margin-top: 0;
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  margin-top: 1rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
  background: var(--deep2);
  color: #cfddd3;
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 1.5rem;
}

.footer-logo span {
  color: var(--cream);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  list-style: none;
}

.footer-links a {
  color: #9bb0a4;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.copyright {
  color: #7f9589;
  font-size: 0.85rem;
}

/* Form Styles */
.form-card {
  max-width: 650px;
  margin: 8rem auto 4rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

input, select, textarea {
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-main);
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"] {
  border-radius: 999px;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--deep);
  box-shadow: 0 0 10px rgba(6, 59, 57, 0.1);
  background: var(--white);
}

.form-section-title {
  font-size: 1.25rem;
  color: var(--deep);
  margin: 2rem 0 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.form-section-title:first-of-type {
  margin-top: 0;
}

.form-help {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Admin Dashboard Styles */
.admin-layout {
  display: flex;
  margin-top: 5rem;
  min-height: calc(100vh - 5rem);
}

.admin-sidebar {
  width: 16rem;
  border-right: 1px solid var(--border-color);
  padding: 2rem 1rem;
  background: #060911;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.admin-main {
  flex-grow: 1;
  padding: 3rem;
  overflow-y: auto;
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-menu li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  color: var(--text-muted);
}

.sidebar-menu li a:hover, .sidebar-menu li.active a {
  background: rgba(99, 102, 241, 0.1);
  color: var(--text-main);
  border-left: 3px solid var(--primary);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

/* Admin Table */
.table-card {
  padding: 0;
  overflow: hidden;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th, .admin-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.admin-table th {
  background: rgba(255,255,255,0.02);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.admin-table tbody tr:hover {
  background: rgba(255,255,255,0.01);
}

.status-badge {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-new { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.status-inprogress { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.status-generated { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.status-needsreview { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.status-approved { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.status-sent { background: rgba(14, 165, 233, 0.15); color: #38bdf8; }
.status-customer { background: rgba(236, 72, 153, 0.15); color: #f472b6; }

/* Grid layout for Dashboard panels */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

/* Detail View Modal/Drawer */
.details-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-section-title {
  font-size: 1rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.25rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.detail-label {
  color: var(--text-muted);
}

.detail-value {
  font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn var(--transition-normal) forwards;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .header-container {
    gap: 1rem;
  }

  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

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

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

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  header {
    position: sticky;
  }

  .header-container {
    height: auto;
    min-height: 5rem;
    padding: 0.75rem 1rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
  }

  .logo {
    font-size: 1.2rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  nav {
    display: none;
  }

  nav.mobile-nav {
    display: none;
    position: absolute;
  }

  nav.mobile-nav.active {
    display: block;
  }

  nav ul {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap !important;
    padding: 0 1rem;
    margin: 0;
  }

  nav li {
    width: 100%;
    list-style: none;
  }

  nav a {
    font-size: 0.95rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    display: inline-flex;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    transition: background var(--transition-fast), color var(--transition-fast);
  }

  nav a:hover,
  nav a.active {
    background: rgba(99, 102, 241, 0.2);
    color: var(--text-main);
  }

  .hero {
    padding-top: 8rem;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

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

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 320px);
    margin: 0 auto;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-layout {
    flex-direction: column;
  }
  
  .admin-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }

  .showcase-content,
  .showcase-img {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .section-header h2 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.1;
  }

  .badge-promo {
    font-size: 0.7rem;
    padding: 0.4rem 0.85rem;
  }

  .glass-card {
    padding: 1.25rem;
  }

  .showcase-content {
    padding: 1.25rem;
  }

  .showcase-img {
    height: 11rem;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }

  .btn {
    width: 100%;
  }

  .btn-primary,
  .btn-secondary,
  .btn-accent {
    justify-content: center;
  }
}

/* Custom Goan-themed Directory Card Styles */
.listing {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 7px 22px rgba(16, 47, 45, 0.03);
  transition: transform .2s, box-shadow .2s;
  text-align: left;
}
.listing:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.listing-head {
  min-height: 112px;
  background: var(--deep2);
  color: #fff;
  padding: 18px 19px;
  position: relative;
  overflow: hidden;
}
.listing-head:after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  right: -66px;
  top: -76px;
}
.tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 8px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 10px;
  color: #d7e3d9;
}
.listing h3 {
  font: 600 22px/1.1 var(--font-display);
  margin: 12px 0 0;
  max-width: 260px;
  position: relative;
  z-index: 1;
  color: #fff;
}
.heart {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s;
}
.heart.saved {
  color: var(--coral);
}
.listing-body {
  padding: 18px 19px 17px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.place {
  color: var(--muted);
  font-size: 12px;
}
.rating-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 16px 0 13px;
}
.rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff4d5;
  color: #7c5a11;
  border-radius: 6px;
  padding: 6px 8px;
  font-weight: 700;
  font-size: 13px;
}
.star {
  color: #d79d1d;
  font-size: 14px;
}
.reviews {
  color: var(--muted);
  font-size: 12px;
}
.detail {
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  color: var(--muted);
  font-size: 12px;
  min-height: 62px;
}
.detail div {
  margin: 4px 0;
}
.detail b {
  color: var(--ink);
}
.why {
  margin: 15px 0 17px;
  color: #416157;
  font-size: 12px;
  min-height: 38px;
  text-align: left;
}
.why:before {
  content: 'Good to know  ';
  color: var(--coral);
  font-weight: 700;
  margin-right: 6px;
}
.card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.card-actions a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  padding: 10px 8px;
  font-weight: 700;
  font-size: 11px;
  transition: transform 0.2s, background 0.2s;
}
.map-link {
  background: var(--deep);
  color: #fff;
}
.map-link:hover {
  background: var(--deep2);
}
.call-link {
  background: var(--mint);
  color: var(--deep);
}
.call-link:hover {
  background: #c3ebd0;
}
.empty {
  grid-column: 1/-1;
  padding: 50px;
  text-align: center;
  color: var(--muted);
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--border-color);
}
