/**
 * CoLivs Shared Stylesheet
 * Comprehensive CSS for all 33 HTML pages
 * Last updated: 2026-03-15
 */

/* ================================================
   VARIABLES & RESET
   ================================================ */

:root {
  --cream: #F9F6F1;
  --cream-dark: #F0EBE2;
  --charcoal: #1C1C1C;
  --charcoal-mid: #3A3A3A;
  --charcoal-light: #6B6B6B;
  --gold: #B8924A;
  --gold-light: #D4AD6B;
  --white: #FFFFFF;
  --rule: rgba(28,28,28,0.12);
  --green: #25D366;
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Jost', sans-serif;
}

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

a,
button {
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 300;
}


/* ================================================
   TYPOGRAPHY - SHARED DISPLAY CLASSES
   ================================================ */

.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.serif {
  font-family: var(--serif);
}

.rule {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--rule);
}

.rule-gold {
  display: block;
  height: 1px;
  background: var(--gold);
}


/* ================================================
   NAV - STANDARDIZED TO 76px HEIGHT
   ================================================ */

nav {
  height: 76px;
  padding: 0 60px;
  background: rgba(249, 246, 241, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 2000000;
}


/* ================================================
   LOGO - VERTICAL LAYOUT (DEFAULT)
   ================================================ */

.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  user-select: none;
}

.logo-rule-top,
.logo-rule-bottom {
  display: block;
  width: 100%;
  height: 0.5px;
  background: var(--charcoal);
  opacity: 0.5;
}

.logo-wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 2px;
}

.logo-word {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.35em;
  color: var(--charcoal);
  text-transform: uppercase;
}

.logo-diamond {
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.logo-tagline {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--charcoal-light);
  text-transform: uppercase;
  font-weight: 400;
}


/* ================================================
   LOGO - HORIZONTAL LAYOUT (AREA PAGES)
   ================================================ */

.logo-horizontal {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-horizontal .logo-rule {
  flex: 0 0 32px;
  height: 1px;
  background: var(--charcoal);
  opacity: 0.2;
}

.logo-horizontal .logo-word {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.logo-horizontal .logo-sub {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal-light);
}


/* ================================================
   NAV LINKS & ENQUIRE BUTTON
   ================================================ */

nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

nav ul a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-mid);
  text-decoration: none;
  transition: color 0.2s;
}

nav ul a:hover {
  color: var(--gold);
}

.nav-enquire {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 24px;
  background: var(--charcoal);
  color: var(--white);
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  border: none;
  cursor: pointer;
}

.nav-enquire:hover {
  background: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(184, 146, 74, 0.25);
}

.nav-enquire:active {
  transform: translateY(0);
  box-shadow: none;
}

.nav-login {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  text-decoration: none;
  padding: 8px 12px;
  margin-left: 8px;
  transition: color 0.2s;
}
.nav-login:hover { color: var(--gold); }


/* ================================================
   HAMBURGER & MOBILE MENU
   ================================================ */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  min-width: 48px;
  min-height: 48px;
  justify-content: center;
  align-items: center;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  z-index: 1999999;
  padding: 24px 28px;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

.mobile-menu a {
  min-height: 48px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-mid);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--gold);
}


/* ================================================
   SECTIONS - SHARED
   ================================================ */

section {
  padding: 110px 72px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 72px;
}

.section-number {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-top: 8px;
  white-space: nowrap;
}

.section-title-block {
  flex: 1;
}

.section-tag {
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin-bottom: 16px;
  font-weight: 500;
}

h2.display {
  font-size: clamp(42px, 4.5vw, 62px);
  color: var(--charcoal);
  margin-bottom: 20px;
}

h2.display em {
  color: var(--gold);
  font-style: italic;
}

.section-body {
  font-size: 17px;
  color: var(--charcoal-light);
  line-height: 1.85;
  font-weight: 300;
  max-width: 520px;
}


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

.btn-gold {
  background: var(--gold);
  color: var(--white);
  padding: 14px 36px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  display: inline-block;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(184, 146, 74, 0.3);
}

.btn-gold:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-ghost {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
}

.btn-ghost:hover {
  color: var(--white);
  border-color: var(--white);
  transform: translateX(3px);
}

.btn-ghost:active {
  transform: translateX(0);
}


/* ================================================
   FORMS - SHARED ACROSS PAGES
   ================================================ */

.form-tabs-wrap {
  display: flex;
  flex-direction: column;
}

.form-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--rule);
  border-bottom: none;
}

.form-tab {
  padding: 16px 20px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  background: var(--cream-dark);
  border: none;
  border-right: 1px solid var(--rule);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.form-tab:last-child {
  border-right: none;
}

.form-tab:hover {
  background: var(--cream);
  color: var(--charcoal);
}

.form-tab.active {
  background: var(--white);
  color: var(--charcoal);
  border-bottom: 2px solid var(--gold);
  margin-bottom: -1px;
}

.tab-form {
  display: none;
}

.tab-form.active {
  display: block;
}

.enquiry-form.tab-form {
  display: none;
}

.enquiry-form.tab-form.active {
  display: block;
}

.form-title-block {
  margin-bottom: 28px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 20px;
}

.form-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.form-sub {
  font-size: 15px;
  color: var(--charcoal-light);
  font-weight: 300;
  font-family: var(--sans);
}

.enquiry-form {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-top: none;
  padding: 36px 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal-mid);
  font-weight: 600;
  margin-bottom: 8px;
  font-family: var(--sans);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--white);
  border: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--charcoal);
  color: var(--white);
  border: none;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s;
  border-radius: 0;
}

.form-submit:hover {
  background: var(--gold);
}

.form-feedback {
  display: none;
  padding: 16px 20px;
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-left: 3px solid;
}

.form-feedback.success {
  display: block;
  background: #f0faf4;
  border-color: #25a244;
  color: #1a7a34;
}

.form-feedback.error {
  display: block;
  background: #fff5f5;
  border-color: #e53e3e;
  color: #c53030;
}

.form-submit.loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}


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

footer {
  background: var(--charcoal);
  padding: 56px 72px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  z-index: 1200;
}

.footer-logo .logo-rule-top,
.footer-logo .logo-rule-bottom {
  background: rgba(255, 255, 255, 0.25);
}

.footer-logo .logo-word {
  color: var(--white);
  font-size: 20px;
}

.footer-logo .logo-tagline {
  color: rgba(255, 255, 255, 0.3);
}

.footer-philosophy {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-links a {
  padding: 6px 8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: 0.04em;
  font-weight: 300;
  line-height: 1.6;
}

.footer-copy strong {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}


/* ================================================
   WHATSAPP FLOATING BUTTON
   ================================================ */

#wa-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: bottom 0.25s ease;
}

.float-btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.float-btn-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-mid);
  background: rgba(255, 255, 255, 0.92);
  padding: 2px 7px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
}

#wa-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

#wa-btn.active {
  background: #25D366;
  color: #ffffff;
}

#wa-btn.active:hover {
  background: #20b959;
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

#wa-btn.inactive {
  background: rgba(28, 28, 28, 0.35);
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
  box-shadow: none;
}

#wa-tooltip {
  display: none;
}


/* ================================================
   GUIDE/BLOG ARTICLE - SHARED CSS
   ================================================ */

.guide-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 72px 72px;
  overflow: hidden;
}

.guide-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.guide-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 28, 28, 0.95), rgba(28, 28, 28, 0.4));
}

.guide-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.guide-hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 14px;
}

.guide-hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.guide-hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

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

.guide-hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  font-weight: 300;
  max-width: 560px;
  margin-bottom: 28px;
}

.guide-hero-ctas {
  display: flex;
  gap: 24px;
  align-items: center;
}

.article-section {
  padding: 80px 72px;
}

.article-inner {
  max-width: 760px;
  margin: 0 auto;
}

.article-inner h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--charcoal);
  margin: 48px 0 20px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.article-inner h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--charcoal);
  margin: 36px 0 14px;
  line-height: 1.3;
}

.article-inner p {
  font-size: 17px;
  color: var(--charcoal-mid);
  line-height: 1.85;
  margin-bottom: 20px;
  font-weight: 300;
}

.article-inner p strong {
  color: var(--charcoal);
  font-weight: 600;
}

.article-inner ul,
.article-inner ol {
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
}

.article-inner li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 16px;
  color: var(--charcoal-mid);
  line-height: 1.75;
  font-weight: 300;
  border-bottom: 1px solid var(--rule);
}

.article-inner li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

.article-inner blockquote {
  border-left: 2px solid var(--gold);
  padding: 24px 28px;
  margin: 32px 0;
  background: var(--cream);
}

.article-inner blockquote p {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.5;
  margin-bottom: 0;
  font-weight: 400;
}


/* ================================================
   AREA PAGES - SHARED CSS
   ================================================ */

.area-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding: 140px 60px 60px;
  overflow: hidden;
}

.area-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.area-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 28, 28, 0.92), rgba(28, 28, 28, 0.3));
}

.area-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.area-breadcrumb {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.area-breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.area-breadcrumb a:hover {
  color: var(--gold);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.property-card {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.property-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(28, 28, 28, 0.08);
}

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

.nearby-card {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--rule);
}

.area-cta {
  background: var(--charcoal);
  padding: 80px 60px;
  text-align: center;
}

.area-cta h2 {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 16px;
}

.area-cta p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 32px;
  font-weight: 300;
}


/* ================================================
   FAQ - SHARED CSS
   ================================================ */

.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-question {
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--charcoal);
  text-align: left;
  line-height: 1.3;
}

.faq-icon {
  font-size: 24px;
  color: var(--gold);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 20px;
}

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

.faq-answer {
  display: none;
  padding: 0 0 24px;
  font-size: 16px;
  color: var(--charcoal-mid);
  line-height: 1.75;
  font-weight: 300;
}

.faq-item.faq-open .faq-answer {
  display: block;
}


/* ================================================
   CARD HOVER ELEVATIONS (PHASE 3)
   ================================================ */

.nearby-card {
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.nearby-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(28, 28, 28, 0.08);
}


/* ================================================
   SECTION ACCENT DIVIDERS (PHASE 3)
   ================================================ */

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0;
  margin: 0;
  background: var(--cream);
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: var(--gold);
  opacity: 0.35;
}

.section-divider .divider-diamond {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.5;
}


/* ================================================
   FORM SUBMIT BUTTON HOVER (PHASE 3)
   ================================================ */

.form-submit {
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.form-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(184, 146, 74, 0.25);
}

.form-submit:active {
  transform: translateY(0);
  box-shadow: none;
}


/* ================================================
   SCROLL ANIMATIONS (PHASE 2)
   ================================================ */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}


/* ================================================
   RESPONSIVE - TABLET (max-width: 960px)
   ================================================ */

@media (max-width: 960px) {
  nav {
    padding: 0 28px;
  }

  nav ul {
    display: none;
  }

  nav .nav-enquire,
  nav .nav-login {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  section {
    padding: 64px 28px;
  }

  .section-header {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 48px;
  }

  .section-body {
    max-width: 100%;
    font-size: 16px;
  }

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

  .enquiry-form {
    padding: 28px 20px;
  }

  .form-tab {
    font-size: 11px;
    padding: 14px 12px;
    letter-spacing: 0.05em;
  }

  footer {
    padding: 44px 28px 72px;
    gap: 24px;
  }

  .footer-links {
    gap: 6px 16px;
  }

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


/* ================================================
   RESPONSIVE - MOBILE (max-width: 600px)
   ================================================ */

@media (max-width: 600px) {
  nav {
    padding: 0 20px;
    height: 68px;
  }

  .mobile-menu {
    top: 68px;
    padding: 20px;
  }

  section {
    padding: 52px 20px;
  }

  h2.display {
    font-size: 34px !important;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-body {
    font-size: 15px;
  }

  .enquiry-form {
    padding: 24px 16px;
  }

  footer {
    padding: 36px 20px 64px;
    gap: 20px;
  }

  .footer-philosophy {
    font-size: 13px;
  }

  .footer-links a {
    font-size: 11px;
    letter-spacing: 0.08em;
    padding: 6px 6px;
  }

  .footer-copy {
    font-size: 11px;
  }

  #wa-btn {
    width: 50px;
    height: 50px;
  }

  #wa-wrap {
    bottom: 20px;
    right: 16px;
  }

  .guide-hero {
    padding: 100px 20px 48px;
  }

  .guide-hero-content {
    max-width: 100%;
  }

  .article-section {
    padding: 52px 20px;
  }

  .area-hero {
    padding: 100px 20px 48px;
  }

  .area-cta {
    padding: 52px 20px;
  }

  .area-cta h2 {
    font-size: 32px;
  }

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

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