/* ============================================================
   FHINE SERVIÇOS — Stylesheet Principal
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800');

/* ── CSS Custom Properties ────────────────────────────────── */
:root {

  --Atoll: #0D5B82;
  --Atoll_10: rgba(13, 91, 130, 0.10);
  --Atoll_90: rgba(13, 91, 130, 0.90);

  --Geyser_50: rgba(220, 226, 229, 0.50);

  --Half_baked: #97C3D3;
  --Mountain_Meadow: #25D366;

  --Mirage: #1B2A32;
  --Mirage_80: rgba(27, 42, 50, 0.80);

  --Stale_gray: #627884;
  --Athens_Gray: #F6F8F9;
  --Porcelain: #F0F3F4;

  --White: #FFF;
  --White_02: rgba(255, 255, 255, 0.00);
  --White_10: rgba(255, 255, 255, 0.10);
  --White_40: rgba(255, 255, 255, 0.40);
  --White_50: rgba(255, 255, 255, 0.50);
  --White_60: rgba(255, 255, 255, 0.60);
  --White_80: rgba(255, 255, 255, 0.80);
  --White_90: rgba(255, 255, 255, 0.90);
  --White_95: rgba(255, 255, 255, 0.95);

  --LinearGradient: linear-gradient(180deg, var(--color-black-70, rgba(0, 0, 0, 0.70)) 0%, var(--color-black-50, rgba(0, 0, 0, 0.50)) 50%, var(--color-black-80, rgba(0, 0, 0, 0.80)) 100%);




  /* Colours */
  --primary: #1a3c5e;
  --primary-dark: #122a44;
  --primary-light: #2a5c8e;

  --accent: #c8a96e;
  --accent-dark: #b8923f;

  --text-dark: #1a1a2e;
  --text-mid: #4a5568;
  --text-light: #718096;

  /* Typography */
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Inter', sans-serif;

  /* Background */
  --bg-light: #f7f8fc;
  --bg-white: #ffffff;
  --border: #e2e8f0;

  /* Spacing */
  --section-py: 96px;
  --container: 1200px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .10);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, .14);

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Transitions */
  --transition: .25s ease;
}

/* ── Reset / Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ── Container ────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .925rem;
  font-weight: 600;
  letter-spacing: .3px;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--Atoll);
  color: var(--Athens_Gray);
}

.btn-primary:hover {
  background: var(--Atoll, 90%);
  transform: translateY(-2px);
  box-shadow: 0 2px 50px var(--Atoll, 10%);
}

.btn-outline {
  background: transparent;
  color: var(--White);
  border: 1px solid var(--White);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn-white:hover {
  background: var(--accent);
  color: var(--White);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 169, 110, .3);
}

.btn-ghost-white {
  background: transparent;
  color: var(--White);
  border-color: rgba(255, 255, 255, .6);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, .15);
  border-color: var(--White);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--White);
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

/* ── Section Utilities ────────────────────────────────────── */
.section {
  padding: var(--section-py) 0;
}

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--Atoll);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.5vw, 2.65rem);
  font-weight: 700;
  color: var(--Mirage);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title.light {
  color: var(--White);
}

.section-description {
  font-size: 1.05rem;
  color: var(--Stale_gray);
  max-width: 560px;
  line-height: 1.75;
}

.section-description.light {
  color: rgba(255, 255, 255, .82);
}

.text-center {
  text-align: center;
}

.text-center .section-description {
  margin: 0 auto;
}

/* ── ═══════════════════════════════════════════════════════ */
/* ── HEADER / NAV ─────────────────────────────────────────── */
/* ── ═══════════════════════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--White, 98%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: var(--White, 98%);
  box-shadow: var(--shadow-md);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo-img {
  width: 56px;
  height: 56px;
}

/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--Mirage);
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--Atoll);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--Atoll);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active::after {
  width: 100%;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--Atoll);
  display: block;
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── ═══════════════════════════════════════════════════════ */
/* ── HERO ─────────────────────────────────────────────────── */
/* ── ═══════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--color-black-70, rgba(0, 0, 0, 0.70)) 0%, var(--color-black-50, rgba(0, 0, 0, 0.50)) 50%, var(--color-black-80, rgba(0, 0, 0, 0.80)) 100%),
    url('./../../src/img/office.png') center/cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  padding: 140px 0 100px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--Half_baked);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 28px;
}


.hero-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-60, 3.75rem);
  font-style: normal;
  font-weight: var(--font-weight-700, 700);
  line-height: var(--font-size-60, 3.75rem);
  letter-spacing: var(--letter-spacing--1_5, -0.09375rem);

  font-weight: 700;
  color: var(--White);
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.08rem;
  color: var(--White_90);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .5);
  font-size: .72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .5), transparent);
}

.section-divider {
  width: 64px;
  height: 4px;
  background: var(--Atoll);
  margin: 16px auto;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ── ═══════════════════════════════════════════════════════ */
/* ── SERVICES ─────────────────────────────────────────────── */
/* ── ═══════════════════════════════════════════════════════ */

.services {
  background: var(--Porcelain);
}

.services-header {
  display: flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.services-header-text {
  max-width: 560px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 52px;
}

.service-card {
  background: var(--White);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 41px 41px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--Atoll), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--Atoll_10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
  transition: all var(--transition);
}


.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-desc {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.services-cta {
  text-align: center;
}

/* ── ═══════════════════════════════════════════════════════ */
/* ── ABOUT ────────────────────────────────────────────────── */
/* ── ═══════════════════════════════════════════════════════ */

.about {
  /* background: var(--bg-white); */
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: left;
  gap: 64px;
  align-items: start;
}

.about-body {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.about-list {
  margin-bottom: 36px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  color: var(--text-mid);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.about-list li:last-child {
  border-bottom: none;
}

.about-boxes {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-box {
  background: var(--White);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  transition: all var(--transition);
}
.about-box.values{
  background: var(--Atoll_10);
}

.about-box:hover {
  box-shadow: var(--shadow-md);
}

.about-box.highlighted {
  background: var(--Atoll);
  border-color: var(--primary);
  color: var(--white);
}

.about-box.highlighted .about-box-title {
  color: var(--White);
}

.about-box.highlighted .about-box-body {
  color: var(--White);
}

.about-box-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.about-box-icon {
  font-size: 1.3rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 169, 110, .15);
  border-radius: var(--radius-sm);
}

.about-box.highlighted .about-box-icon {
  background: rgba(255, 255, 255, .12);
}

.about-box-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}


.about-box-body {
  font-size: .9rem;
  color: var(--Stale_gray);
  line-height: 1.7;
}

/* ── ═══════════════════════════════════════════════════════ */
/* ── CTA BAND ─────────────────────────────────────────────── */
/* ── ═══════════════════════════════════════════════════════ */

.cta-band {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--Atoll) 10%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}


.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band-text {
  max-width: 560px;
}

.cta-band-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.cta-band-title span {
  color: var(--accent);
}

.cta-band-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.7;
}

.cta-band-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── ═══════════════════════════════════════════════════════ */
/* ── CONTACT ──────────────────────────────────────────────── */
/* ── ═══════════════════════════════════════════════════════ */

.contact {
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.left-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.right-col {
  display: flex;
  flex-direction: column;
}

.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--Geyser_50);
  border-radius: var(--radius-md);
  padding: 20px 20px;
  display: block;
  align-items: flex-start;
  transition: all var(--transition);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--Atoll_10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-bottom: 20px;
}

.contact-card-label {
  font-size: .98rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-card-value {
  font-size: .95rem;
  font-weight: 600;
  color: var(--Atoll);
  margin-bottom: 2px;
}

.contact-card-detail {
  font-size: .85rem;
  color: var(--text-light);
}

.whatsapp-box {
  background: var(--White);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
  gap: 24px;
  height: 100%;
}

.whatsapp-box-text {
  max-width: 520px;
}

.whatsapp-box-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--Mirage);
  margin-bottom: 10px;
}

.whatsapp-box-desc {
  font-size: .95rem;
  color: var(--slate_gray);
  line-height: 1.7;
}



/* ── ═══════════════════════════════════════════════════════ */
/* ── FOOTER ───────────────────────────────────────────────── */
/* ── ═══════════════════════════════════════════════════════ */

.site-footer {
  background: var(--primary-dark);
  padding: 56px 0 0;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

/* .footer-brand {} */

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-logo span {
  color: var(--accent);
}

.footer-tagline {
  font-size: .9rem;
  color: rgba(255, 255, 255, .6);
  max-width: 320px;
  line-height: 1.7;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: .82rem;
  color: rgba(255, 255, 255, .4);
}

.footer-credits {
  font-size: .82rem;
  color: rgba(255, 255, 255, .35);
}

.footer-credits a {
  color: var(--accent);
}

/* ── ═══════════════════════════════════════════════════════ */
/* ── RESPONSIVE ───────────────────────────────────────────── */
/* ── ═══════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .services-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 64px;
  }

  /* Nav */
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--White, 98%);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    font-size: 1rem;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  /* Hero */
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-band-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-band-actions {
    justify-content: center;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-box {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-tag {
    font-size: .68rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .container {
    padding: 0 18px;
  }
}

/* ══════════════════════════════════════════════════════════════
   CATALOG PAGE
   ══════════════════════════════════════════════════════════════ */

/* ── Page Hero Banner ──────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--Atoll) 10%, var(--primary-light) 100%);
  padding: 120px 20px 56px;
  position: relative;
  overflow: hidden;
}


.page-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.page-hero-title span {
  color: var(--accent);
}

.page-hero-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, .78);
}

/* ── Catalog Body ──────────────────────────────────────────── */
.catalog-body {
  background: var(--bg-light);
  padding: 48px 0 80px;
}

/* ── Filter Bar ────────────────────────────────────────────── */
.filter-bar {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.filter-bar-form {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 160px;
}

.filter-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-mid);
}

.filter-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a5568' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 36px 10px 14px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 60, 94, .1);
}

.filter-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ── Results Info Bar ──────────────────────────────────────── */
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.results-count {
  font-size: .95rem;
  color: var(--text-mid);
}

.results-count strong {
  color: var(--primary);
  font-weight: 700;
}

.results-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--text-mid);
}

.results-sort .filter-select {
  min-width: 180px;
  flex: none;
}

/* ── Property Grid ─────────────────────────────────────────── */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Property Card ─────────────────────────────────────────── */
.property-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.property-card-image {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--bg-light);
  flex-shrink: 0;
}

.property-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.property-card:hover .property-card-image img {
  transform: scale(1.06);
}

.property-card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #e8edf3, #d1dae6);
  color: var(--text-light);
  font-size: .85rem;
}

.property-card-image-placeholder span {
  font-size: 2.5rem;
}

.property-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--Atoll);
  color: var(--White);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 40px;
}

.property-card-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.property-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--Atoll);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 8px;
}

.property-card-meta::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--Atoll);
  flex-shrink: 0;
}

.property-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 10px;
}

.property-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .83rem;
  color: var(--text-light);
  margin-bottom: 14px;
}

.property-card-location::before {
  content: '📍';
  font-size: .8rem;
}

.property-card-attrs {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: auto;
  flex-wrap: wrap;
}

.property-attr {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  color: var(--text-mid);
}

.property-card-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 12px;
}

.property-card-price span {
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-light);
}

/* ── Empty State ───────────────────────────────────────────── */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: .4;
}

.empty-state-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.empty-state-desc {
  font-size: .95rem;
  color: var(--text-mid);
  margin-bottom: 24px;
}


/* ── Responsive Catalog ────────────────────────────────────── */
@media (max-width: 1024px) {
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .filter-bar-form {
    flex-direction: column;
  }

  .filter-group {
    width: 100%;
  }

  .filter-actions {
    width: 100%;
  }

  .filter-actions .btn {
    flex: 1;
    justify-content: center;
  }

  .results-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .property-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════
   PROPERTY DETAIL PAGE
   ══════════════════════════════════════════════════════════════ */

/* ── Detail page body ──────────────────────────────────────── */
.detail-body {
  background: var(--bg-light);
  padding-bottom: 80px;
}

/* ── Property Header Bar ───────────────────────────────────── */
.property-header-bar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--Atoll) 10%, var(--primary-light) 100%);;
  padding: 100px 0 36px;
}

.property-header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.property-header-left {
  flex: 1;
  min-width: 0;
}

.property-header-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 14px;
}

.property-header-breadcrumb a {
  color: rgba(255, 255, 255, .6);
  transition: color var(--transition);
}

.property-header-breadcrumb a:hover {
  color: var(--accent);
}

.property-header-breadcrumb span {
  color: rgba(255, 255, 255, .35);
}

.property-header-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
}

.property-header-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .9rem;
  color: rgba(255, 255, 255, .7);
}

.property-header-right {
  text-align: right;
  flex-shrink: 0;
}

.property-header-badge {
  display: inline-block;
  background: rgba(200, 169, 110, .2);
  border: 1px solid rgba(200, 169, 110, .4);
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 40px;
  margin-bottom: 10px;
}

.property-header-price {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.property-header-price-label {
  font-size: .78rem;
  color: rgba(255, 255, 255, .5);
  margin-top: 2px;
}

/* ── Detail Grid Layout ────────────────────────────────────── */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  padding-top: 40px;
  align-items: start;
}

/* ── GALLERY ───────────────────────────────────────────────── */
.gallery-section {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 28px;
}

.gallery-main {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: #d1dae6;
  cursor: pointer;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}

.gallery-main img.fade-in {
  animation: galleryFade .3s ease;
}

@keyframes galleryFade {
  from {
    opacity: 0;
    transform: scale(1.02);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gallery-main-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #e8edf3, #d1dae6);
  color: var(--text-light);
}

.gallery-main-placeholder span {
  font-size: 4rem;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 60, 94, .7);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 5;
  backdrop-filter: blur(4px);
}

.gallery-arrow:hover {
  background: var(--accent);
}

.gallery-arrow.prev {
  left: 14px;
}

.gallery-arrow.next {
  right: 14px;
}

.gallery-counter {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(0, 0, 0, .5);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px 12px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.gallery-thumb {
  width: 80px;
  height: 58px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition), opacity var(--transition);
  opacity: .65;
}

.gallery-thumb.active {
  border-color: var(--accent);
  opacity: 1;
}

.gallery-thumb:hover {
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8edf3, #d1dae6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* ── Description Section ───────────────────────────────────── */
.detail-section {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  margin-bottom: 24px;
}

.detail-section-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--bg-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-section-title::before {
  content: '';
  width: 4px;
  height: 22px;
  background: var(--Atoll);
  border-radius: 2px;
  display: block;
}

/* Property attribute chips */
.property-attrs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.property-attr-chip {
  border: 1px solid var(--Atoll_10);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color var(--transition);
}

.property-attr-chip-icon {
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  background: var(--Atoll_10);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.property-attr-chip-label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .8px;
  /* text-transform: uppercase; */
  color: var(--Mirage);
  margin-bottom: 2px;
}

.property-attr-chip-value {
  font-size: .92rem;
  font-weight: 700;
  color: var(--Stale_gray );
}

/* Description text */
.property-description-text {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.85;
  white-space: pre-line;
}

/* ── RIGHT COLUMN / SIDEBAR ────────────────────────────────── */
.detail-sidebar {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Contact form card */
.contact-form-card {
  background: var(--bg-white);
  /* border: 1px solid var(--border); */
  border-radius: var(--radius-md);
  padding: 28px 28px;
}

.contact-form-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.contact-form-card-sub {
  font-size: .85rem;
  color: var(--text-light);
  margin-bottom: 22px;
}

/* Form fields */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 60, 94, .1);
  background: var(--bg-white);
}

.form-control.error {
  border-color: #e53e3e;
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-feedback {
  font-size: .78rem;
  margin-top: 4px;
}

.form-feedback.success {
  color: #38a169;
}

.form-feedback.error {
  color: #e53e3e;
}

.form-submit-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

/* Contact info card */
.contact-info-card {
  background: var(--White);
  border-radius: var(--radius-md);
  padding: 24px 28px;
}

.contact-info-card-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--Mirage);
  margin-bottom: 16px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-label {
  font-size: .72rem;
  color: var(--Stale_gray);
  margin-bottom: 1px;
}

.contact-info-value {
  font-size: .88rem;
  font-weight: 600;
  color: var(--Atoll);
}

.contact-info-value a {
  color: var(--Atoll);
  transition: color var(--transition);
}

.contact-info-value a:hover {
  color: var(--primary);
}

/* Alert messages */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success {
  background: #f0fff4;
  border: 1px solid #9ae6b4;
  color: #276749;
}

.alert-error {
  background: #fff5f5;
  border: 1px solid #feb2b2;
  color: #9b2c2c;
}

/* Not found / error states */
.detail-not-found {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.detail-not-found-icon {
  font-size: 5rem;
  margin-bottom: 24px;
  opacity: .35;
}

/* ── Responsive Detail ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
  }

  .property-attrs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .gallery-main {
    height: 260px;
  }

  .property-header-inner {
    flex-direction: column;
  }

  .property-header-right {
    text-align: left;
  }

  .property-attrs-grid {
    grid-template-columns: 1fr;
  }

  .gallery-arrow {
    width: 36px;
    height: 36px;
    font-size: .9rem;
  }
}