/* ===== VARIABLES ===== */
:root {
  --navy:       #0A1628;
  --ocean:      #1E3A5F;
  --gold:       #C9A84C;
  --gold-light: #e0c06a;
  --warm-white: #F8F6F2;
  --charcoal:   #1A1A2E;
  --glass:      rgba(255,255,255,0.08);
  --success:    #1D9E75;
  --error:      #E24B4A;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', sans-serif;
  --transition: 0.3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--navy); color: var(--warm-white); font-family: var(--font-sans); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: var(--navy);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav-container {
  max-width: 1400px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 40px; filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; transition: opacity var(--transition), color var(--transition); }
.nav-links a:hover { opacity: 1; color: var(--gold); }
.nav-cta {
  padding: 10px 24px; border: 1px solid var(--gold); color: var(--gold) !important;
  border-radius: 2px; opacity: 1 !important;
  transition: background var(--transition), color var(--transition) !important;
}
.nav-cta:hover { background: var(--gold); color: var(--navy) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--warm-white); transition: var(--transition); }

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-video-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1; opacity: 0.4;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, var(--navy) 0%, rgba(10,22,40,0.5) 50%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 3;
  text-align: center; padding: 0 20px;
  max-width: 900px;
}
.hero-eyebrow {
  font-family: var(--font-sans); font-size: 0.75rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-serif); font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300; line-height: 1; color: var(--warm-white);
  margin-bottom: 20px; letter-spacing: 0.05em;
}
.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.1rem); letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(248,246,242,0.7);
  margin-bottom: 48px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  padding: 14px 40px; background: var(--gold); color: var(--navy);
  font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 600; border-radius: 2px;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline {
  padding: 14px 40px; border: 1px solid rgba(248,246,242,0.4); color: var(--warm-white);
  font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase;
  border-radius: 2px; transition: border-color var(--transition), background var(--transition);
}
.btn-outline:hover { border-color: var(--gold); background: var(--glass); }
.btn-gold { background: var(--gold); color: var(--navy); padding: 12px 32px; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 2px; transition: background var(--transition), transform var(--transition); display: inline-block; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--gold); color: var(--gold); padding: 12px 32px; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 2px; transition: all var(--transition); display: inline-block; }
.btn-ghost:hover { background: var(--gold); color: var(--navy); }

/* ===== SECTION BASE ===== */
.section { padding: 100px 0; }
.section-inner { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-label { font-size: 0.7rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; display: block; }
.section-title { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; color: var(--warm-white); }
.section-subtitle { color: rgba(248,246,242,0.6); margin-top: 12px; font-size: 1rem; }
.section-divider { width: 60px; height: 1px; background: var(--gold); margin: 20px auto 0; }

/* ===== SERVICES SECTION ===== */
.services-section { background: var(--charcoal); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }

/* Image-backed service cards */
.service-card {
  position: relative; cursor: pointer; overflow: hidden;
  min-height: 400px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card-img {
  background-image: var(--sc-bg);
  background-size: cover;
  background-position: center;
}
.sc-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(10,22,40,0.95) 0%,
    rgba(10,22,40,0.6) 55%,
    rgba(10,22,40,0.25) 100%);
  transition: background var(--transition);
}
.service-card:hover .sc-img-overlay {
  background: linear-gradient(to top,
    rgba(10,22,40,0.97) 0%,
    rgba(10,22,40,0.75) 55%,
    rgba(10,22,40,0.45) 100%);
}
.sc-content {
  position: relative; z-index: 1;
  padding: 40px 32px;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 28px 70px rgba(0,0,0,0.5); z-index: 2; }
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--gold); transform: scaleX(0);
  transition: transform 0.4s ease; transform-origin: left; z-index: 2;
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon { font-size: 2rem; color: var(--gold); margin-bottom: 16px; display: block; }
.service-title { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 400; margin-bottom: 10px; }
.service-desc { color: rgba(248,246,242,0.7); font-size: 0.88rem; line-height: 1.65; margin-bottom: 20px; }
.sc-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); opacity: 0; transform: translateY(10px);
  transition: opacity 0.35s, transform 0.35s;
}
.service-card:hover .sc-cta { opacity: 1; transform: translateY(0); }

/* ===== CARDS GRID ===== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--ocean); border-radius: 4px; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
.card-image { position: relative; height: 240px; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-image img { transform: scale(1.06); }
.card-badge {
  position: absolute; top: 16px; left: 16px;
  padding: 5px 12px; font-size: 0.65rem; letter-spacing: 0.15em;
  text-transform: uppercase; font-weight: 600; border-radius: 2px;
}
.badge-mega { background: var(--gold); color: var(--navy); }
.badge-yacht { background: var(--ocean); color: var(--warm-white); border: 1px solid rgba(255,255,255,0.3); }
.badge-boat { background: var(--success); color: white; }
.card-body { padding: 24px; }
.card-title { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 400; margin-bottom: 8px; }
.card-meta { display: flex; align-items: center; gap: 16px; color: rgba(248,246,242,0.6); font-size: 0.82rem; margin-bottom: 16px; flex-wrap: wrap; }
.card-meta i { color: var(--gold); margin-right: 4px; }
.card-price { font-size: 1.1rem; color: var(--gold); font-weight: 500; margin-bottom: 16px; }
.card-price small { font-size: 0.75rem; color: rgba(248,246,242,0.5); }
.card-actions { display: flex; gap: 10px; }
.card-actions a { flex: 1; text-align: center; padding: 10px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 2px; transition: all var(--transition); }
.card-actions .btn-view { border: 1px solid rgba(201,168,76,0.4); color: var(--gold); }
.card-actions .btn-view:hover { background: var(--gold); color: var(--navy); }
.card-actions .btn-charter { background: var(--gold); color: var(--navy); font-weight: 600; }
.card-actions .btn-charter:hover { background: var(--gold-light); }

/* ===== SECTION "SEE ALL" BAR ===== */
.see-all-bar { text-align: center; margin-top: 50px; }
.see-all-bar p { color: rgba(248,246,242,0.5); margin-bottom: 16px; font-size: 0.9rem; }

/* ===== VILLA CARD OVERRIDE ===== */
.villa-card .card-image { height: 260px; }
.villa-card .price-badge {
  position: absolute; bottom: 16px; right: 16px;
  background: rgba(10,22,40,0.85); backdrop-filter: blur(8px);
  padding: 8px 14px; border: 1px solid rgba(201,168,76,0.3); border-radius: 2px;
}
.villa-card .price-badge span { color: var(--gold); font-weight: 600; font-size: 1rem; }
.villa-card .price-badge small { color: rgba(248,246,242,0.6); font-size: 0.7rem; }

/* ===== PROJECT CARDS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.project-card {
  position: relative;
  height: 500px;
  overflow: hidden;
  cursor: pointer;
  background: var(--ocean);
  display: block;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.project-card:hover img { transform: scale(1.07); }

/* Dark gradient — bottom heavy so text is always readable */
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,22,40,1)    0%,
    rgba(10,22,40,0.82) 35%,
    rgba(10,22,40,0.2)  70%,
    transparent         100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px 28px;
  transition: background 0.4s;
}

/* Status badge — MUST be width of text only */
.project-status {
  width: fit-content;            /* ← key fix: exactly text width */
  max-width: fit-content;
  display: block;
  padding: 4px 12px;
  border: 1px solid rgba(201,168,76,0.7);
  background: rgba(10,22,40,0.5);
  backdrop-filter: blur(6px);
  color: var(--gold);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
  border-radius: 2px;
}
.project-status.status-available {
  border-color: rgba(29,158,117,0.8);
  color: #1D9E75;
}
.project-status.status-coming {
  border-color: rgba(248,246,242,0.35);
  color: rgba(248,246,242,0.65);
}

.project-card-name {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.project-card-loc {
  color: rgba(248,246,242,0.5);
  font-size: 0.8rem;
  margin-bottom: 5px;
}
.project-card-loc i { color: var(--gold); margin-right: 4px; font-size: 0.72rem; }

.project-card-price {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.project-card-developer {
  font-size: 0.68rem;
  color: rgba(248,246,242,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Explore button — elegant, inline width */
.project-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 10px 22px;
  background: transparent;
  border: 1px solid rgba(201,168,76,0.55);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s, padding-right 0.3s;
}
.project-explore-btn::after {
  content: '→';
  display: inline-block;
  transition: transform 0.3s;
}
.project-card:hover .project-explore-btn {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  padding-right: 28px;
}
.project-card:hover .project-explore-btn::after { transform: translateX(4px); }

/* ===== ABOUT SECTION ===== */
.about-section { background: var(--charcoal); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text .section-label { text-align: left; }
.about-title { font-family: var(--font-serif); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; margin-bottom: 24px; }
.about-body { color: rgba(248,246,242,0.7); line-height: 1.8; margin-bottom: 32px; }
.stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 36px; }
.stat-item { text-align: center; padding: 24px 16px; border: 1px solid rgba(201,168,76,0.2); border-radius: 2px; }
.stat-num { font-family: var(--font-serif); font-size: 2.5rem; color: var(--gold); font-weight: 300; }
.stat-label { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(248,246,242,0.5); margin-top: 6px; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.team-card { position: relative; border-radius: 4px; overflow: hidden; }
.team-card img { width: 100%; height: 300px; object-fit: cover; filter: saturate(0.7); transition: filter var(--transition); }
.team-card:hover img { filter: saturate(1); }
.team-card-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(to top, rgba(10,22,40,0.95) 0%, transparent 100%); }
.team-name { font-family: var(--font-serif); font-size: 1.1rem; }
.team-role { font-size: 0.75rem; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; }

/* ===== CONTACT SECTION ===== */
.contact-section { background: var(--navy); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info h2 { font-family: var(--font-serif); font-size: 2.5rem; font-weight: 300; margin-bottom: 24px; }
.contact-info p { color: rgba(248,246,242,0.65); margin-bottom: 32px; line-height: 1.8; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid rgba(201,168,76,0.15); border-radius: 2px; }
.contact-item i { color: var(--gold); font-size: 1.1rem; width: 20px; text-align: center; }
.contact-form { background: var(--glass); border: 1px solid rgba(201,168,76,0.15); padding: 40px; border-radius: 4px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(248,246,242,0.6); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: var(--warm-white); padding: 12px 16px; font-family: var(--font-sans); font-size: 0.9rem;
  border-radius: 2px; outline: none; transition: border-color var(--transition);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--navy); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success { background: rgba(29,158,117,0.15); border: 1px solid var(--success); color: var(--success); padding: 12px 16px; border-radius: 2px; display: none; margin-bottom: 16px; }
.form-error-msg { background: rgba(226,75,74,0.15); border: 1px solid var(--error); color: var(--error); padding: 12px 16px; border-radius: 2px; display: none; margin-bottom: 16px; }

/* ===== FOOTER ===== */
.site-footer { background: var(--charcoal); padding: 80px 0 0; }
.footer-grid { max-width: 1400px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; margin-bottom: 60px; }
.footer-logo { height: 32px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { color: rgba(248,246,242,0.5); font-size: 0.9rem; line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; color: rgba(248,246,242,0.6); transition: all var(--transition); }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-links h4, .footer-contact h4 { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(248,246,242,0.6); font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--warm-white); }
.footer-contact p { color: rgba(248,246,242,0.6); font-size: 0.9rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.footer-contact i { color: var(--gold); width: 16px; }
.footer-contact a { color: rgba(248,246,242,0.6); transition: color var(--transition); }
.footer-contact a:hover { color: var(--warm-white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 24px 40px; max-width: 1400px; margin: 0 auto; text-align: center; }
.footer-bottom p { color: rgba(248,246,242,0.35); font-size: 0.8rem; }

/* WhatsApp float replaced by chatbot widget — see chatbot.css */

/* ===== LISTING PAGE HERO ===== */
.page-hero {
  height: 60vh; min-height: 400px; position: relative;
  display: flex; align-items: flex-end; justify-content: flex-start;
  overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,40,1) 0%, rgba(10,22,40,0.5) 60%, transparent 100%); }
.page-hero-content { position: relative; z-index: 2; padding: 0 40px 60px; max-width: 1400px; width: 100%; margin: 0 auto; }
.page-hero-content h1 { font-family: var(--font-serif); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 300; }
.page-hero-content p { color: rgba(248,246,242,0.6); font-size: 1rem; margin-top: 8px; }

/* ===== FILTER BAR ===== */
.filter-bar {
  background: var(--charcoal); border-bottom: 1px solid rgba(201,168,76,0.15);
  padding: 20px 40px; position: sticky; top: 64px; z-index: 100;
}
.filter-bar-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.filter-group { display: flex; align-items: center; gap: 8px; }
.filter-group label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(248,246,242,0.5); white-space: nowrap; }
.filter-group select {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: var(--warm-white); padding: 8px 32px 8px 12px; border-radius: 2px;
  font-size: 0.82rem; outline: none; cursor: pointer;
  -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C9A84C' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.filter-group select:focus { border-color: var(--gold); }
.filter-results { margin-left: auto; color: rgba(248,246,242,0.5); font-size: 0.82rem; white-space: nowrap; }
.filter-results strong { color: var(--gold); }

/* ===== LISTINGS GRID ===== */
.listings-section { padding: 60px 0 100px; }
.listings-inner { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
.listings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.load-more-bar { text-align: center; margin-top: 50px; }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 20px 40px; max-width: 1400px; margin: 0 auto; }
.breadcrumb a { color: rgba(248,246,242,0.5); font-size: 0.8rem; transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(248,246,242,0.3); margin: 0 8px; font-size: 0.8rem; }
.breadcrumb .current { color: rgba(248,246,242,0.7); font-size: 0.8rem; }

/* ===== DETAIL PAGE HERO ===== */
.detail-hero {
  height: 75vh; min-height: 500px; position: relative;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.detail-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 8s ease; }
.detail-hero:hover .detail-hero-bg { transform: scale(1.03); }
.detail-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,40,1) 0%, rgba(10,22,40,0.4) 60%, rgba(10,22,40,0.2) 100%); }
.detail-hero-content { position: relative; z-index: 2; width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 40px 60px; }
.detail-hero-back { display: inline-flex; align-items: center; gap: 8px; color: rgba(248,246,242,0.6); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; transition: color var(--transition); }
.detail-hero-back:hover { color: var(--gold); }
.detail-hero-badges { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.detail-badge { padding: 5px 14px; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; border-radius: 2px; }
.detail-hero-title { font-family: var(--font-serif); font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 300; line-height: 1; margin-bottom: 12px; }
.detail-hero-sub { color: rgba(248,246,242,0.65); font-size: 1rem; margin-bottom: 24px; }
.detail-hero-price { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.detail-hero-price .price-item { color: rgba(248,246,242,0.6); font-size: 0.85rem; }
.detail-hero-price .price-item strong { color: var(--gold); font-size: 1.2rem; font-family: var(--font-serif); }

/* ===== DETAIL LAYOUT ===== */
.detail-main { padding: 60px 0 100px; }
.detail-container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
.detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.detail-content { min-width: 0; }
.detail-sidebar { position: sticky; top: 100px; }

/* ===== GALLERY ===== */
.gallery-section { margin-bottom: 48px; }
.gallery-main-image { position: relative; border-radius: 4px; overflow: hidden; height: 480px; margin-bottom: 12px; cursor: pointer; }
.gallery-main-image img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.gallery-thumb { position: relative; height: 100px; border-radius: 2px; overflow: hidden; cursor: pointer; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-thumb:hover img { transform: scale(1.08); }
.gallery-more-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(0,0,0,0.55); position: absolute; inset: 0; color: var(--warm-white); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; }
.gallery-more-btn:hover { background: rgba(201,168,76,0.3); }

/* ===== QUICK INFO BAR ===== */
.quick-info-bar {
  display: flex; gap: 2px; margin-bottom: 48px;
  background: var(--ocean); border-radius: 4px; overflow: hidden;
}
.info-tile {
  flex: 1; text-align: center; padding: 20px 16px;
  border-right: 1px solid rgba(255,255,255,0.06);
  background: var(--glass);
}
.info-tile:last-child { border-right: none; }
.info-tile i { color: var(--gold); font-size: 1.1rem; margin-bottom: 8px; display: block; }
.info-tile .info-val { font-family: var(--font-serif); font-size: 1.2rem; display: block; }
.info-tile .info-key { font-size: 0.7rem; color: rgba(248,246,242,0.5); letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-top: 2px; }

/* ===== PRICING SIDEBAR ===== */
.pricing-card {
  background: var(--ocean); border: 1px solid rgba(201,168,76,0.2);
  border-radius: 4px; padding: 32px; margin-bottom: 24px;
}
.pricing-card h3 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 400; margin-bottom: 24px; color: var(--gold); }
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.price-row:last-of-type { border-bottom: none; margin-bottom: 20px; }
.price-row .label { color: rgba(248,246,242,0.6); font-size: 0.85rem; }
.price-row .value { color: var(--gold); font-weight: 600; font-family: var(--font-serif); font-size: 1.1rem; }

/* ===== INQUIRY FORM (sidebar / inline) ===== */
.inquiry-card {
  background: var(--ocean); border: 1px solid rgba(201,168,76,0.2);
  border-radius: 4px; padding: 32px;
}
.inquiry-card h3 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 400; margin-bottom: 24px; }

/* ===== DESCRIPTION ===== */
.detail-description { margin-bottom: 48px; }
.detail-description h2 { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 400; margin-bottom: 20px; }
.detail-description p { color: rgba(248,246,242,0.75); line-height: 1.85; margin-bottom: 16px; }

/* ===== FEATURES ===== */
.features-section { margin-bottom: 48px; }
.features-section h2 { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 400; margin-bottom: 28px; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.features-col h3 { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.feature-list { display: flex; flex-direction: column; gap: 10px; }
.feature-item { display: flex; align-items: center; gap: 10px; color: rgba(248,246,242,0.75); font-size: 0.9rem; }
.feature-item i { color: var(--gold); font-size: 0.7rem; }

/* ===== SPECS TABLE ===== */
.specs-section { margin-bottom: 48px; }
.specs-section h2 { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 400; margin-bottom: 28px; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid rgba(255,255,255,0.06); }
.specs-table td { padding: 12px 0; font-size: 0.9rem; }
.specs-table td:first-child { color: rgba(248,246,242,0.5); width: 50%; }
.specs-table td:last-child { color: var(--warm-white); font-weight: 500; }

/* ===== RELATED CARDS ===== */
.related-section { padding: 60px 0; background: var(--charcoal); }
.related-section .section-inner { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
.related-section h2 { font-family: var(--font-serif); font-size: 2rem; font-weight: 400; margin-bottom: 32px; }

/* ===== SHARE BAR ===== */
.share-bar { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; align-items: center; }
.share-bar span { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(248,246,242,0.5); }
.share-btn { padding: 8px 18px; border: 1px solid rgba(255,255,255,0.15); border-radius: 2px; font-size: 0.78rem; letter-spacing: 0.08em; display: flex; align-items: center; gap: 6px; transition: all var(--transition); }
.share-btn:hover { border-color: var(--gold); color: var(--gold); }
.share-btn.wa { border-color: #25D366; color: #25D366; }
.share-btn.wa:hover { background: #25D366; color: white; }

/* ===== MAP SECTION ===== */
.map-section { margin-bottom: 48px; }
.map-section h2 { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 400; margin-bottom: 20px; }
.map-embed { border-radius: 4px; overflow: hidden; height: 300px; background: var(--ocean); }
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* ===== SKELETON LOADER ===== */
.skeleton { background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 4px; }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.skeleton-card { height: 360px; }
.skeleton-text { height: 16px; margin-bottom: 8px; }
.skeleton-text.short { width: 60%; }

/* ===== 404 PAGE ===== */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.error-page h1 { font-family: var(--font-serif); font-size: 6rem; color: var(--gold); font-weight: 300; }
.error-page h2 { font-family: var(--font-serif); font-size: 2rem; margin-bottom: 16px; }
.error-page p { color: rgba(248,246,242,0.6); margin-bottom: 32px; }
.error-page .error-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== RESPONSIVE ===== */

/* Tablet (≤1200px) */
@media (max-width: 1200px) {
  .cards-grid, .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: 320px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile landscape (≤900px) */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .cards-grid, .listings-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero-title { font-size: clamp(2.2rem, 7vw, 4rem); }
  .hero-subtitle { font-size: 0.82rem; }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  /* ── Navbar ── */
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 0; right: 0; bottom: 0; width: 80vw; max-width: 300px;
    background: var(--navy);
    padding: 80px 32px 40px;
    gap: 0;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    border-left: 1px solid rgba(201,168,76,0.15);
  }
  .nav-links.open { display: flex; transform: translateX(0); }
  .nav-links a {
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    letter-spacing: 0.1em;
  }
  .nav-links .nav-cta {
    margin-top: 20px;
    text-align: center;
    border: 1px solid var(--gold);
    padding: 12px 20px;
    border-radius: 2px;
  }
  .nav-toggle { display: flex; z-index: 1000; }
  .nav-container { padding: 0 20px; }
  .nav-logo img { height: 32px; }

  /* ── Sections ── */
  .section { padding: 60px 0; }
  .section-inner,
  .filter-bar-inner,
  .listings-inner,
  .detail-container,
  .breadcrumb { padding: 0 16px; }
  .section-header { margin-bottom: 40px; }

  /* ── Hero ── */
  .hero-section { min-height: 100svh; }
  .hero-title { font-size: clamp(2.5rem, 9vw, 4rem); }
  .hero-subtitle { font-size: 0.78rem; letter-spacing: 0.18em; }
  .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
  .btn-primary, .btn-outline { width: 100%; max-width: 280px; text-align: center; padding: 14px 20px; }

  /* ── Services ── */
  .services-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
  .service-card { min-height: 260px; }
  .sc-content { padding: 24px 20px; }
  .service-title { font-size: 1.3rem; }
  .service-desc { font-size: 0.82rem; display: none; } /* hide desc on small mobile, card is compact */

  /* ── Cards ── */
  .cards-grid, .listings-grid { grid-template-columns: 1fr; gap: 16px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card { height: 320px; }
  .project-card-name { font-size: 1.4rem; }

  /* ── Detail page ── */
  .features-grid, .form-row { grid-template-columns: 1fr; }
  .quick-info-bar { flex-wrap: wrap; }
  .info-tile { min-width: calc(50% - 1px); }
  .page-hero-content, .detail-hero-content { padding: 0 16px 36px; }
  .detail-hero-title { font-size: clamp(2rem, 7vw, 3.5rem); }
  .gallery-main-image { height: 260px; }
  .gallery-thumbs { grid-template-columns: repeat(2, 1fr); }

  /* ── Filter ── */
  .filter-bar { padding: 12px 16px; top: 56px; overflow-x: auto; }
  .filter-bar-inner { flex-wrap: nowrap; gap: 10px; min-width: max-content; padding-bottom: 2px; }
  .filter-results { display: none; }

  /* ── About/Contact ── */
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-row { grid-template-columns: repeat(3,1fr); gap: 12px; }
  .team-grid { grid-template-columns: 1fr 1fr; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { padding: 20px 16px; }

  /* ── See all bar ── */
  .see-all-bar { text-align: center; }

  /* ── WhatsApp ── */
  .whatsapp-float { bottom: 16px; right: 16px; width: 52px; height: 52px; font-size: 22px; }
}

/* Small mobile (≤480px) */
@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 220px; }
  .service-desc { display: block; font-size: 0.82rem; }
  .stats-row { grid-template-columns: 1fr; gap: 10px; }
  .team-grid { grid-template-columns: 1fr; }
  .filter-bar-inner { flex-direction: column; min-width: unset; }
  .filter-results { display: block; }
  .cards-grid .card-image { height: 200px; }
  .project-card { height: 280px; }
  .nav-logo img { height: 28px; }
  .section-inner { padding: 0 14px; }
  .breadcrumb { padding: 14px; }
  .listings-inner { padding: 0 14px; }
  .footer-grid { padding: 0 14px; }
  .footer-bottom { padding: 18px 14px; }
  /* Keep filter scrollable on small */
  .filter-bar-inner { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; min-width: max-content; }
  .filter-bar { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
