/*
 Theme Name: Dubai Elite Directory
 Theme URI: https://example.com/
 Author: Shally
 Description: Custom escort directory theme for Dubai with hero, filters, profile grid, FAQ, and footer.
 Version: 1.0
 Text Domain: dubai-elite-directory
*/

/* Your existing CSS starts below */
/* =========================================
   ROOT & THEME TOKENS
   ========================================= */

:root {
  --bg: #020617;
  --bg-alt: #050509;
  --surface: #020617;
  --surface-soft: #050814;
  --border-subtle: #1e293b;
  --text: #f9fafb;
  --muted: #9ca3af;

  /* Pink accent + soft gold bar */
  --accent: #e11d48;
  --accent-soft: rgba(225, 29, 72, 0.16);
  --accent-dark: #be123c;
  --gold: #facc15;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.65);
}

/* =========================================
   RESET & BASE
   ========================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

/* Base typography: modern sans-serif, 15px body, 1.6 line-height */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-alt);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

/* Full-width container (sections control padding) */

.container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* =========================================
   GLOBAL TYPOGRAPHY
   ========================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: inherit;
  margin: 0 0 8px;
  color: #f9fafb;
  letter-spacing: 0.01em;
}

/* Main page heading: 28–32px, bold */
h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
}

/* Section titles: ~20–22px, semibold */
h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

/* Subheadings: 17–18px, medium/bold */
h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

h4 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

h5,
h6 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

/* Paragraphs: 15–16px, 1.6 line-height */
p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.6;
}

/* Links */

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =========================================
   BUTTONS
   ========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.08s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #0b0b0f;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent-soft);
}

.btn-outline:hover {
  background: var(--accent-soft);
}

.btn-block {
  width: 100%;
}

/* =========================================
   HEADER
   ========================================= */

.top-bar {
  width: 100%;
  background: var(--gold);
  color: #111827;
  text-align: center;
  font-size: 13px;
  padding: 6px 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: #020617;
  color: #f9fafb;
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
  padding: 0 16px;
}

@media (min-width: 900px) {
  .header-inner {
    padding: 0 28px;
  }
}

/* Logo */

.brand-ivy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #f9fafb;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #ffffff;
  position: relative;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f172a, #020617);
}

.brand-word {
  font-weight: 700;
  font-size: 18px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =========================================
   LOCATION BUTTON (HEADER PILL)
   ========================================= */

.header-location-wrap {
  position: relative;
}

.header-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  background: #ffffff;
  border-radius: 9999px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  color: #111827;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.header-location:hover {
  background: #f9fafb;
  border-color: rgba(15, 23, 42, 0.24);
}

.header-location-icon {
  position: relative;
  width: 14px;
  height: 14px;
  display: inline-block;
}

.header-location-icon::before,
.header-location-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header-location-icon::before {
  width: 9px;
  height: 9px;
  top: 0;
  border-radius: 999px;
  border: 1.7px solid #111827;
}

.header-location-icon::after {
  width: 2px;
  height: 5px;
  bottom: 0;
  border-radius: 999px;
  background: #111827;
}

.header-location {
  color: #111827 !important;
}

/* Header action button styling */

.header-actions .btn {
  background: #ffffff;
  color: #111827;
  border-radius: 9999px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.header-actions .btn:hover {
  background: #f9fafb;
  border-color: rgba(15, 23, 42, 0.24);
}

/* =========================================
   HEADER MENU ICONS (HAMBURGER + USER)
   ========================================= */

.header-main-menu {
  /* uses same .btn visuals when needed */
}

.menu-dual-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* hamburger lines */
.header-main-menu .icon-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.header-main-menu .icon-lines span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

/* user circle icon */
.header-main-menu .icon-user {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #111827;
  position: relative;
}

.header-main-menu .icon-user::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #111827;
}

.header-main-menu .icon-user::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 6px;
  border-radius: 999px;
  border: 2px solid #111827;
  border-top-color: transparent;
}

/* =========================================
   LOCATION OVERLAY (DUBAI ONLY)
   ========================================= */

.location-dropdown {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.9);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 88px 16px 24px;
  z-index: 90;
}

.location-dropdown.open {
  display: flex;
}

.location-modal {
  width: 100%;
  max-width: 640px;
  background: #050814;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.9);
  padding: 18px 20px 20px;
  color: #e5e7eb;
}

.location-modal-body {
  padding-top: 4px;
  padding-bottom: 4px;
  max-height: calc(100vh - 170px);
  overflow-y: auto;
}

.location-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

/* Acts like subheading: 17–18px */
.location-modal-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.location-modal-pin {
  position: relative;
  width: 16px;
  height: 16px;
}

.location-modal-pin::before,
.location-modal-pin::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.location-modal-pin::before {
  inset: 1px 4px 4px 4px;
  border: 1.7px solid #f9fafb;
}

.location-modal-pin::after {
  width: 4px;
  height: 4px;
  top: 5px;
  left: 6px;
  background: #f9fafb;
}

.location-close {
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 0 0;
}

.location-close:hover {
  color: #f9fafb;
}

.location-section-label {
  font-size: 13px;
  font-weight: 500;
  color: #e5e7eb;
  margin: 0 0 10px;
}

.location-divider {
  margin: 18px 0;
  border: 0;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
}

/* Popular cities grid */

.location-popular-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 14px;
  margin-bottom: 6px;
}

.location-popular-item {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  cursor: pointer;
  text-align: center;
}

.location-popular-thumb {
  display: block;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  margin: 0 auto 6px;
  border: 2px solid rgba(148, 163, 184, 0.9);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dubai thumb placeholders */

.location-thumb-all {
  background-image: linear-gradient(145deg, #020617, #0f172a);
}

.location-thumb-marina {
  background-image: linear-gradient(145deg, #0ea5e9, #0369a1);
}

.location-thumb-downtown {
  background-image: linear-gradient(145deg, #4b5563, #111827);
}

.location-thumb-jbr {
  background-image: linear-gradient(145deg, #22c55e, #15803d);
}

.location-thumb-businessbay {
  background-image: linear-gradient(145deg, #a855f7, #6b21a8);
}

.location-thumb-palm {
  background-image: linear-gradient(145deg, #eab308, #b45309);
}

.location-thumb-jumeirah {
  background-image: linear-gradient(145deg, #f97316, #c2410c);
}

.location-thumb-deira {
  background-image: linear-gradient(145deg, #0ea5e9, #1d4ed8);
}

.location-popular-name {
  display: block;
  font-size: 12px;
  color: #e5e7eb;
}

/* Search inside location modal */

.location-search-block {
  padding-top: 14px;
}

.location-search-field {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #020617;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 9px 16px;
}

.location-search-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid #9ca3af;
  position: relative;
}

.location-search-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: #9ca3af;
  right: -3px;
  bottom: -1px;
  transform: rotate(45deg);
}

.location-search-field input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: #e5e7eb;
  font-size: 14px;
}

.location-search-field input::placeholder {
  color: rgba(148, 163, 184, 0.95);
}

/* Other locations (Dubai only) */

.location-other-wrap {
  margin-top: 6px;
}

.location-group {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.location-group-title {
  width: 100%;
  font-size: 13px;
  font-weight: 600;
  color: #22c55e;
  margin: 0 0 10px;
}

.location-list {
  list-style: none;
  margin: 0 24px 0 0;
  padding: 0;
  font-size: 13px;
  color: #e5e7eb;
}

.location-list li + li {
  margin-top: 4px;
}

@media (max-width: 640px) {
  .location-modal {
    padding: 16px 16px 18px;
  }

  .location-popular-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .location-popular-thumb {
    width: 70px;
    height: 70px;
  }

  .location-group {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .location-dropdown {
    padding: 80px 10px 18px;
  }

  .location-popular-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .location-popular-thumb {
    width: 64px;
    height: 64px;
  }

  .location-list {
    margin-right: 16px;
  }
}

/* =========================================
   HERO
   ========================================= */

.hero {
  color: #f9fafb;
}

.hero-ivy {
  width: 100%;
  background: radial-gradient(circle at top left, #111827 0, #020617 36%, #020617 100%);
  padding: 32px 0 40px;
}

.hero-ivy .hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  margin-bottom: 10px;
}

.hero-text {
  color: rgba(249, 250, 251, 0.82);
  margin-bottom: 18px;
  max-width: 540px;
}

/* Hero image */

.hero-image {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-img-frame {
  position: relative;
  background: #020617;
  box-shadow: var(--shadow-soft);
}

.hero-img-frame-rounded {
  border-radius: 32px;
  overflow: hidden;
}

.hero-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(249, 250, 251, 0.75);
  font-size: 13px;
  padding: 16px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.hero-img-large {
  min-height: 360px;
}

/* Hero search */

.hero-search {
  margin-top: 4px;
}

.hero-search-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #020617;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 10px 18px;
}

.hero-search-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid #e5e7eb;
  box-sizing: border-box;
  position: relative;
}

.hero-search-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transform: rotate(45deg);
  right: -4px;
  bottom: -1px;
}

.hero-search-inner input {
  flex: 1;
  border: none;
  background: transparent;
  color: #f9fafb;
  font-size: 14px;
  outline: none;
}

.hero-search-inner input::placeholder {
  color: rgba(148, 163, 184, 0.96);
}

.hero-search-note {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(148, 163, 184, 0.96);
}

.hero-search-note a {
  color: #22c55e;
}

.hero-search-note a:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .hero-ivy .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 20px;
    gap: 28px;
  }
}

@media (max-width: 720px) {
  .hero-ivy .hero-inner {
    padding: 0 16px;
  }
}

/* =========================================
   SEARCH FILTERS
   ========================================= */

.search {
  width: 100%;
  background: #020617;
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  padding: 18px 0 12px;
  overflow: visible;
}

.search .container {
  max-width: 100%;
  padding: 0 16px;
}

@media (min-width: 900px) {
  .search .container {
    padding: 0 28px;
  }
}

.search-form {
  background: #020617;
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 14px 18px 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.search-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 14px;
  margin-bottom: 12px;
}

.search-row:last-of-type {
  margin-bottom: 4px;
}

.field label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 4px;
}

.field input,
.field select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid #1f2937;
  font-size: 13px;
  outline: none;
  background: #020617;
  color: #e5e7eb;
}

.field input:focus,
.field select:focus {
  border-color: var(--accent);
}

.field-inline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-end;
  gap: 8px;
}

.field-inline .dash {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}

.field-button {
  display: flex;
  align-items: flex-end;
}

.search-note {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .search-form {
    border-radius: 24px;
  }
  .search-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .search-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   SECTION HEADERS
   ========================================= */

.section-head {
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

.section-head p {
  font-size: 13px;
  color: var(--muted);
}

.section-head-inline {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.link-more {
  font-size: 13px;
  color: var(--accent);
}

/* =========================================
   PROFILES GRID & CARDS
   ========================================= */

.profiles {
  width: 100%;
  background: #020617;
  padding: 24px 0 36px;
}

.profiles .container {
  max-width: 100%;
  padding: 0 16px;
}

@media (min-width: 900px) {
  .profiles .container {
    padding: 0 28px;
  }
}

/* Desktop: 5 columns */

.profiles-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

/* Header row inside card */

.card-header-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
}

.card-header-row .card-name {
  flex: 1;
  margin: 0;
  text-align: left;
}

/* Card text sizes */

.card-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.card-age,
.card-location {
  flex: 1;
  font-size: 12px;
  color: #9ca3af;
}

.card-age {
  text-align: center;
}

.card-location {
  text-align: right;
}

.card-nationality {
  font-size: 12px;
  color: #9ca3af;
  margin: 0 0 4px;
}

.card {
  background: #020617;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  overflow: hidden;
  transition: transform 0.1s ease, box-shadow 0.1s ease,
    border-color 0.1s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(249, 115, 22, 0.8);
}

/* IMAGE BOX */

.card-img {
  position: relative;
  display: block;
  overflow: hidden;
  border-bottom: 1px solid rgba(148, 163, 184, 0.45);
}

.card-img::before {
  content: "";
  display: block;
  padding-top: 135%;
}

.card-img img.card-img-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
}

.card-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(249, 250, 251, 0.72);
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

/* Card tags */

.card-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.18);
  color: #e11d48;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(225, 29, 72, 0.4);
}

.card-tag-hot,
.card-tag[data-level="premium"],
.card-tag[data-type="diamond"] {
  background: #e11d48;
  color: #ffffff;
  border-color: #e11d48;
}

.card-body {
  padding: 10px 12px 12px;
}

.card-meta {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 3px;
}

.card-labels {
  margin-top: 4px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.55);
  margin-right: 4px;
}

/* CONTACT CARD INSIDE PROFILE CARD */

.card-contact {
  margin-top: 10px;
  background: #ffffff;
  border-radius: 12px;
  padding: 6px 10px 8px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.18);
  font-size: 12px;
  color: #111827;
}

.card-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-contact-row-top {
  color: #6b7280;
  font-size: 11px;
}

.card-contact-row-bottom {
  margin-top: 2px;
}

/* Same as row but used in some markup */

.card-contact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #6b7280;
  font-size: 11px;
}

.card-contact-location,
.card-contact-duration {
  white-space: nowrap;
}

.card-contact-phone {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #000000;
}

.card-contact-price {
  font-size: 12px;
  font-weight: 700;
  color: #ff3366;
  white-space: nowrap;
}

/* Pagination */

.pagination {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  font-size: 13px;
}

.page-link {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
  background: transparent;
}

.page-link.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b0b0f;
}

.page-ellipsis {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}

/* Responsive columns */

@media (max-width: 1024px) {
  .profiles-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .profiles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .profiles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .profiles .container {
    padding: 0 16px;
  }
}

/* New & Trending – 6 cards per row */

.profiles-grid.profiles-grid--six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 1200px) {
  .profiles-grid.profiles-grid--six {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .profiles-grid.profiles-grid--six {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .profiles-grid.profiles-grid--six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .profiles-grid.profiles-grid--six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================================
   TESTIMONIALS
   ========================================= */

.testimonials {
  width: 100%;
  background: #020617;
  padding: 32px 0 36px;
}

.testimonials .container {
  max-width: 100%;
  padding: 0 16px;
}

@media (min-width: 900px) {
  .testimonials .container {
    padding: 0 28px;
  }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.testimonial {
  background: #020617;
  border-radius: 18px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.testimonial-text {
  font-size: 14px;
  line-height: 1.6;
  color: #e5e7eb;
}

.testimonial-name {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}



/* =========================================
   OFFCANVAS DRAWER (TOP RIGHT MENU)
   ========================================= */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

/* floating card under the header, right side */
.drawer-panel {
  position: fixed;
  top: 88px;
  right: 16px;
  width: 360px;
  max-width: calc(100% - 32px);
  max-height: calc(100% - 104px);
  padding: 18px 18px 16px;
  background: #050509;
  border-radius: 18px;
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateX(24px);
  opacity: 0;
  transition: transform 0.24s ease-out, opacity 0.18s ease-out;
  color: #f9fafb;
  overflow-y: auto;
}

.drawer.is-open {
  pointer-events: auto;
}

.drawer.is-open .drawer-backdrop {
  opacity: 1;
}

.drawer.is-open .drawer-panel {
  transform: translateX(0);
  opacity: 1;
}

/* nav + sections */

.drawer-nav,
.drawer-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* links */

.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 6px;
  border-radius: 10px;
  color: rgba(249, 250, 251, 0.94);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
}

.drawer-link:hover {
  background: #070713;
}

/* icon container */

.drawer-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(229, 231, 235, 0.92);
}

/* base for line icons */
.drawer-icon span {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

/* "All escorts" – group of people */
.drawer-icon--all span::before,
.drawer-icon--all span::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1.6px solid currentColor;
}
.drawer-icon--all span::before {
  width: 8px;
  height: 8px;
  top: 1px;
  left: 3px;
}
.drawer-icon--all span::after {
  width: 10px;
  height: 6px;
  bottom: 1px;
  left: 2px;
  border-top-color: transparent;
}

/* "Locations" – pin */
.drawer-icon--location span::before,
.drawer-icon--location span::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1.6px solid currentColor;
}
.drawer-icon--location span::before {
  width: 9px;
  height: 11px;
  top: 1px;
  left: 4px;
  border-bottom-left-radius: 999px;
  border-bottom-right-radius: 999px;
}
.drawer-icon--location span::after {
  width: 3px;
  height: 3px;
  top: 4px;
  left: 7.5px;
}

/* "BDSM" – chat bubble */
.drawer-icon--bdsm span::before,
.drawer-icon--bdsm span::after {
  content: "";
  position: absolute;
  border-radius: 4px;
  border: 1.6px solid currentColor;
}
.drawer-icon--bdsm span::before {
  inset: 2px 2px 5px 2px;
}
.drawer-icon--bdsm span::after {
  width: 6px;
  height: 6px;
  border-top-color: transparent;
  border-left-color: transparent;
  bottom: 2px;
  left: 4px;
  transform: rotate(35deg);
}

/* "Escort reviews" – card with star */
.drawer-icon--reviews span::before,
.drawer-icon--reviews span::after {
  content: "";
  position: absolute;
}
.drawer-icon--reviews span::before {
  inset: 3px 2px 3px 2px;
  border-radius: 4px;
  border: 1.6px solid currentColor;
}
.drawer-icon--reviews span::after {
  left: 6px;
  top: 4px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 6px solid currentColor;
}

/* "Escort announcements" – megaphone */
.drawer-icon--announcements span::before,
.drawer-icon--announcements span::after {
  content: "";
  position: absolute;
  border-radius: 2px;
  border: 1.6px solid currentColor;
}
.drawer-icon--announcements span::before {
  left: 3px;
  top: 4px;
  width: 9px;
  height: 7px;
}
.drawer-icon--announcements span::after {
  left: 10px;
  top: 6px;
  width: 4px;
  height: 4px;
  border-left-color: transparent;
}

/* "Blog & Escort Journals" – document */
.drawer-icon--blog span::before,
.drawer-icon--blog span::after {
  content: "";
  position: absolute;
}
.drawer-icon--blog span::before {
  inset: 2px 3px 2px 3px;
  border-radius: 3px;
  border: 1.6px solid currentColor;
}
.drawer-icon--blog span::after {
  left: 6px;
  top: 4px;
  width: 6px;
  height: 3px;
  border-radius: 1px;
  border-bottom: 1.6px solid currentColor;
}

/* "Advertiser sign up" – little board */
.drawer-icon--advertiser span::before,
.drawer-icon--advertiser span::after {
  content: "";
  position: absolute;
}
.drawer-icon--advertiser span::before {
  inset: 3px 3px 7px 3px;
  border-radius: 3px;
  border: 1.6px solid currentColor;
}
.drawer-icon--advertiser span::after {
  left: 7px;
  bottom: 2px;
  width: 4px;
  height: 5px;
  border-radius: 1px;
  border: 1.6px solid currentColor;
}

/* "Client sign up" – text only */
.drawer-icon--client {
  font-size: 11px;
  font-weight: 600;
}

.drawer-divider {
  border: 0;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  margin: 12px 0;
}

.drawer-section-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(156, 163, 175, 0.96);
  margin: 0 0 4px;
}

/* search field */

.drawer-search {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(55, 65, 81, 1);
  background: #050509;
  padding: 10px 12px;
  font-size: 13px;
  color: #f9fafb;
}

.drawer-search::placeholder {
  color: rgba(156, 163, 175, 0.9);
}

@media (max-width: 480px) {
  .drawer-panel {
    right: 8px;
    left: 8px;
    width: auto;
    max-width: none;
  }
}

/* =========================================
   ABOUT SECTION (FULL WIDTH)
   ========================================= */

.about {
  width: 100%;
  background: #020617;
  padding: 32px 0 40px;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
}

.about .container {
  max-width: 100%;
  padding: 0 16px;
}

@media (min-width: 900px) {
  .about .container {
    padding: 0 28px;
  }
}

.about-card {
  width: 100%;
  background: #020617;
  border-radius: 18px;
  border: 1px solid rgba(31, 41, 55, 0.95);
  padding: 24px 24px 26px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.7);
}

/* About title as section title */
.about-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 20px;
}

/* Natural height, not scroll-locked */
.about-scroll {
  max-height: none;
  overflow: visible;
}

/* Subheadings inside about: 17–18px bold */
.about-heading {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  margin: 22px 0 10px;
}

.about-scroll p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.9);
  margin: 0 0 12px;
}

.about-scroll .about-heading:first-of-type {
  margin-top: 0;
}

/* =========================================
   FAQ SECTION (FULL SCREEN STYLE)
   ========================================= */

.faq-section {
  width: 100%;
  background: #020617;
  padding: 32px 0 40px;
}

.faq-section .container {
  max-width: 100%;
  padding: 0 16px;
}

@media (min-width: 900px) {
  .faq-section .container {
    padding: 0 28px;
  }
}

/* FAQ title as section title */
.faq-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 18px;
}

.faq-list {
  border-radius: 18px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: #020617;
  overflow: hidden;
}

/* each row */
.faq-item {
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.faq-item:last-child {
  border-bottom: none;
}

/* question row – behaves like subheading row */
.faq-question {
  width: 100%;
  padding: 14px 18px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #e5e7eb;
  cursor: pointer;
}

.faq-question span:first-child {
  text-align: left;
}

/* chevron icon */
.faq-icon {
  width: 18px;
  height: 18px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: rgba(156, 163, 175, 0.95);
  top: 8px;
  transition: transform 0.18s ease;
}

.faq-icon::before {
  left: 3px;
  transform: rotate(45deg);
}

.faq-icon::after {
  right: 3px;
  transform: rotate(-45deg);
}

/* when open – make chevron point up */
.faq-item.is-open .faq-icon::before {
  transform: rotate(-45deg);
}

.faq-item.is-open .faq-icon::after {
  transform: rotate(45deg);
}

/* answer panel */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(209, 213, 219, 0.95);
  transition: max-height 0.22s ease-out, padding-top 0.18s ease-out,
    padding-bottom 0.18s ease-out;
}

/* padding only when open */
.faq-item.is-open .faq-answer {
  padding-top: 8px;
  padding-bottom: 14px;
}

/* =========================================
   FOOTER 
   ========================================= */

.site-footer {
  width: 100%;
  background: #020617;
  color: #e5e7eb;
  border-top: 1px solid rgba(15, 23, 42, 0.95);
  font-size: 13px;
}

.site-footer .container {
  max-width: 100%;
  padding: 0 16px;
}

@media (min-width: 900px) {
  .site-footer .container {
    padding: 0 28px;
  }
}

/* Top block with 4 columns + social */

.footer-main {
  padding: 26px 0 18px;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.footer-section {
  min-width: 0;
}

.footer-heading {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 10px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 4px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(248, 250, 252, 0.86);
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Social under columns (left-aligned) */

.footer-social {
  margin-top: 26px;
}

.footer-social-icons {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.footer-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #f9fafb;
  text-decoration: none;
}

.footer-social-icon:hover {
  border-color: #f9fafb;
}

/* Thin divider line above bottom row */

.site-footer-divider {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
}

/* Bottom legal row */

.footer-bottom {
  padding: 10px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: rgba(156, 163, 175, 0.96);
}

.footer-bottom a {
  color: rgba(209, 213, 219, 0.96);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom-left,
.footer-bottom-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-bullet {
  padding: 0 3px;
}

.footer-flag {
  font-size: 12px;
}


/* =========================================
   LUXURY FOOTER SPACING + TYPOGRAPHY
   ========================================= */

/* Big top breathing room before footer */
.site-footer {
  margin-top: 40px;        /* luxury gap from content */
  padding-top: 30px;       /* soft interior top space */
}

/* Main footer block spacing */
.footer-main {
  padding-top: 20px;
  padding-bottom: 40px;
}

/* Footer headings — bigger, clearer, premium */
.footer-heading {
  font-size: 18px;         /* was 15px */
  font-weight: 600;
  margin: 0 0 14px;
  letter-spacing: 0.3px;   /* subtle refinement */
  color: #ffffff;
}

/* Divider luxury spacing */
.site-footer-divider {
  margin-top: 40px;
  margin-bottom: 32px;
  border-top: 1px solid rgba(255,255,255,0.08); /* softer + premium */
}

/* Bottom row spacing */
.footer-bottom {
  padding-top: 26px;
  padding-bottom: 36px;
  font-size: 12px;         /* subtly bigger for readability */
}

/* Bottom row spacing improvements */
.footer-bottom-left,
.footer-bottom-right {
  gap: 10px;
}

.footer-bullet {
  padding: 0 5px;
}


@media (min-width: 720px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 960px) {
  .footer-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .footer-main-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================
   PROFILES GRID — FINAL PERFECT LAYOUT (NO HTML CHANGES)
   ========================================= */
.profiles-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

/* Card base */
.card {
    background: #020617;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    overflow: hidden;
    transition: all 0.2s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(249, 115, 22, 0.8);
}

/* Image */
.card-img {
    position: relative;
    display: block;
    overflow: hidden;
}
.card-img::before {
    content: "";
    display: block;
    padding-top: 135%;
}
.card-img-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

/* Tags */
.card-tag {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    background: rgba(225, 29, 72, 0.2);
    color: #e11d48;
    border: 1px solid rgba(225, 29, 72, 0.4);
    backdrop-filter: blur(4px);
}
.card-tag-hot {
    background: #e11d48 !important;
    color: #ffffff !important;
}

/* Card Body — THE MAGIC FIX */
.card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ROW 1: Name (left) + Age (right) */
.card-name {
    margin: 0;
    font-size: 1.35em;
    font-weight: 700;
    color: #ffffff;
    display: block;
    flex: 1;
}

/* ROW 2: Location (left) + Price (right) */
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95em;
    color: #9ca3af;
    margin: 0;
}

.card-meta span:nth-child(1) { /* Age */
    order: 2;
    color: #e91e63;
    font-weight: 600;
    font-size: 1.1em;
}

.card-meta span:nth-child(2) { /* Location */
    order: 1;
    flex: 1;
}

.card-meta span:nth-child(3) { /* Price */
    order: 3;
    color: #e91e63;
    font-weight: 700;
    font-size: 1.2em;
    white-space: nowrap;
}

/* Responsive — Stack on mobile */
@media (max-width: 768px) {
    .profiles-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .card-meta span:nth-child(1),
    .card-meta span:nth-child(3) {
        align-self: flex-end;
    }
}

@media (max-width: 600px) {
    .profiles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .card-name {
        font-size: 1.25em;
    }
}
.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-name {
  font-size: 1.05em;
  font-weight: 600;
  margin: 0;
}

.age,
.location {
  color: var(--muted);
  font-size: 0.9em;
}

.price {
  color: #e91e63;
  font-weight: 600;
  font-size: 1em;
  white-space: nowrap;
}

