/* ====================================
   HIGHFIELD COUNTRY ESTATE
   Sanderson Group Aesthetic — Complete
   ==================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Lato:wght@300;400;600;700&display=swap');

/* ====================================
   ROOT VARIABLES
   ==================================== */
:root {
  /* Palette */
  --primary-green: #1B2A4A;
  --dark-green: #132038;
  --accent-green: #2C4070;
  --cream: #F5F3F0;
  --cream-dark: #E8E4DF;
  --off-white: #FAFAF8;
  --text-dark: #2B2B2B;
  --text-mid: #555;
  --text-light: #FFFFFF;
  --border-light: #E8E6E3;
  --gold: #B8965A;
  --gold-light: #D4B87C;

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Lato', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;

  /* Transitions */
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fade: opacity 0.6s ease-out;
}

/* ====================================
   GLOBAL RESET
   ==================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--off-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* ====================================
   TYPOGRAPHY
   ==================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.8rem, 7vw, 4.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }

p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
  font-weight: 300;
  color: var(--text-mid);
}

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: var(--transition);
}

a:hover { opacity: 0.75; }

ul { list-style: none; }

/* ====================================
   LAYOUT
   ==================================== */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-tight {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

/* ====================================
   SECTION LABELS & TITLES
   ==================================== */
.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-title.centered {
  text-align: center;
}

/* ====================================
   SECTION BACKGROUNDS
   ==================================== */
.section-white {
  background-color: var(--off-white);
  padding: 5rem 0;
}

.section-cream {
  background-color: var(--cream);
  padding: 5rem 0;
}

.section-green {
  background-color: var(--primary-green);
  padding: 5rem 0;
  color: var(--text-light);
}

.section-green h1, .section-green h2, .section-green h3, .section-green h4 {
  color: var(--text-light);
}

.section-green p { color: var(--cream); }

/* Legacy section classes */
.section { padding: var(--spacing-xxl) 0; }
.bg-green { background-color: var(--primary-green); color: var(--text-light); }
.bg-green h1, .bg-green h2, .bg-green h3 { color: var(--text-light); }
.bg-green p, .bg-green a { color: var(--cream); }
.bg-cream { background-color: var(--cream); }
.bg-white { background-color: var(--off-white); }

/* ====================================
   HEADER & NAVIGATION
   ==================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 2.5rem;
}

/* Logo */
.site-header .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  max-width: none;
  margin-top: -1rem;
  margin-left: -1rem;
}

.site-header .logo-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* Header logo image: white on transparent header over dark hero */
.site-header .logo img {
  height: 150px;
  width: auto;
  display: block;
  background: transparent;
}

.logo-text h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.logo-text h2 {
  color: var(--text-dark);
}

.logo-text span {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
}

/* Main Nav */
.main-nav {
  padding-top: 0.75rem;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.main-nav a {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  position: relative;
  padding-bottom: 2px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover { opacity: 1; color: var(--gold-light); }
.main-nav a.active { color: var(--gold-light); }

/* Nav CTA Button */
.nav-cta {
  background: var(--primary-green) !important;
  color: var(--text-light) !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 0 !important;
  letter-spacing: 0.1em !important;
  font-size: 0.75rem !important;
  transition: background 0.3s ease !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--dark-green) !important;
  opacity: 1 !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
  display: block;
}

@media (max-width: 968px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav.open { transform: translateX(0); }

  .main-nav ul {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .main-nav a { font-size: 1.2rem; }

  .header-inner { padding: 1rem 1.5rem; }
}

/* ====================================
   HERO SECTION
   ==================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
}

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

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(43, 43, 43, 0.25) 0%,
    rgba(43, 43, 43, 0.50) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--text-light);
  max-width: 900px;
  padding: 2rem;
}

.hero h1 {
  color: var(--text-light);
  font-size: clamp(2.8rem, 8vw, 5rem);
  margin-bottom: 0.75rem;
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.hero .subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  letter-spacing: 0.03em;
  animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.hero-tagline {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.8) !important;
  font-weight: 300;
  max-width: 600px;
  margin: 0.75rem auto 0;
}

/* Page hero (shorter, for subpages) */
.page-hero {
  height: 60vh;
  min-height: 420px;
}

.page-hero .section-label {
  color: var(--gold-light);
}

/* Hero video (homepage) */
.hero-video-container {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero-video-container iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 177.78vh; /* 16:9 aspect ratio */
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  border: none;
}

.hero-video-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(43, 43, 43, 0.15) 0%,
    rgba(43, 43, 43, 0.45) 100%
  );
  pointer-events: none;
}

/* ====================================
   FEATURE SECTIONS (Image + Text pairs)
   ==================================== */
.feature-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.feature-pair:last-child { margin-bottom: 0; }

.feature-pair.reverse .feature-image { order: 2; }
.feature-pair.reverse .feature-text { order: 1; }

.feature-image {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s ease;
}

.feature-pair:hover .feature-image img {
  transform: scale(1.03);
}

.feature-text { padding: 1rem 0; }
.feature-text h2 { margin-bottom: 1.25rem; }
.feature-text p { margin-bottom: 1rem; }

@media (max-width: 968px) {
  .feature-pair {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .feature-pair.reverse .feature-image,
  .feature-pair.reverse .feature-text { order: initial; }
}

/* ====================================
   GRID SYSTEM
   ==================================== */
.grid {
  display: grid;
  gap: 2rem;
}

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

.grid-card {
  background: white;
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.grid-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.grid-card:hover img { transform: scale(1.04); }

.grid-card-content {
  padding: 1.5rem;
}

.grid-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.grid-card p { font-size: 0.95rem; color: var(--text-mid); margin-bottom: 0; }

@media (max-width: 968px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ====================================
   BUTTONS
   ==================================== */
.btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 2px solid var(--primary-green);
  background: var(--primary-green);
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border-radius: 0;
  text-align: center;
}

.btn:hover {
  background: var(--dark-green);
  border-color: var(--dark-green);
  opacity: 1;
}

.btn-primary {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: var(--text-light);
}

.btn-primary:hover {
  background: var(--dark-green);
  border-color: var(--dark-green);
}

.btn-outline {
  background: transparent;
  color: var(--primary-green);
}

.btn-outline:hover {
  background: var(--primary-green);
  color: var(--text-light);
}

.btn-light {
  background: var(--text-light);
  color: var(--primary-green);
  border-color: var(--text-light);
}

.btn-light:hover {
  background: var(--cream);
  border-color: var(--cream);
  opacity: 1;
}

/* ====================================
   CTA BLOCKS
   ==================================== */
.cta-block {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--primary-green);
  border-radius: 2px;
}

.cta-block h2 { color: var(--text-light); margin-bottom: 1.25rem; }
.cta-block p { color: var(--cream); margin-bottom: 2rem; font-size: 1.15rem; }

/* Full-width CTA Banner with background image */
.cta-banner {
  position: relative;
  padding: 6rem 2rem;
  overflow: hidden;
  text-align: center;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.cta-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(43, 43, 43, 0.65);
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner-content h2 { color: var(--text-light); margin-bottom: 1rem; }
.cta-banner-content p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; }

/* ====================================
   TESTIMONIALS
   ==================================== */
.testimonial {
  background: var(--cream);
  padding: 4rem 3rem;
  border-radius: 2px;
  text-align: center;
  margin-bottom: 3rem;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.testimonial-card {
  background: var(--cream);
  padding: 3rem;
  border-radius: 2px;
  border-left: 3px solid var(--gold);
}

.testimonial-card blockquote {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--primary-green);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ====================================
   TEAM GRID
   ==================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
}

.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  background: var(--border-light);
}

.team-member h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.team-member p {
  font-size: 0.82rem;
  color: var(--primary-green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.team-member:hover .team-photo {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.team-bio {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  text-align: left;
  padding: 0 0.5rem;
}

.team-member.expanded .team-bio {
  max-height: 300px;
  padding: 1rem 0.5rem;
}

.team-bio p {
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.team-bio .team-funfact {
  color: var(--primary-green);
  font-style: italic;
  font-size: 0.82rem;
}

/* ====================================
   CONTACT
   ==================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 50%;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Contact Form */
.contact-form {
  background: var(--cream);
  padding: 2.5rem;
  border-radius: 2px;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 1rem;
  background: white;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(93, 107, 79, 0.1);
}

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

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ====================================
   FAQ ACCORDION
   ==================================== */
.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

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

.faq-item:first-child {
  border-top: 1px solid var(--border-light);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-question:hover { color: var(--primary-green); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding-bottom: 1.5rem;
}

.faq-answer-inner p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-mid);
}

/* ====================================
   VIDEO EMBED
   ==================================== */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 2px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ====================================
   FOOTER
   ==================================== */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-logo span {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: white;
  font-weight: 500;
}

.footer-col p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  padding: 0.3rem 0;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: white;
  opacity: 1;
}

.footer-badges {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.5);
  border-radius: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Legacy footer (for backwards compatibility) */
footer:not(.site-footer) {
  background: var(--text-dark);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-section a {
  display: block;
  transition: color 0.3s ease;
}

.footer-section a:hover { color: white; opacity: 1; }

/* ====================================
   STICKY SIDEBAR
   ==================================== */
.sticky-sidebar {
  position: fixed;
  right: 2rem;
  bottom: 2.5rem;
  z-index: 100;
  background: var(--primary-green);
  padding: 1.75rem;
  border-radius: 2px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  max-width: 260px;
  animation: slideInRight 0.6s ease-out;
}

.sidebar-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
}

.sidebar-close:hover {
  color: #fff;
}

.sticky-sidebar h4 {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.sticky-sidebar p {
  color: var(--cream);
  font-size: 0.82rem;
  margin-bottom: 1rem;
}

.sticky-sidebar .btn {
  width: 100%;
  display: block;
  text-align: center;
  padding: 0.7rem 1rem;
  font-size: 0.72rem;
}

@media (max-width: 768px) {
  .sticky-sidebar {
    right: 1rem;
    bottom: 1rem;
    max-width: 220px;
    padding: 1.25rem;
  }
}

/* ====================================
   FLOOR PLAN CARDS
   ==================================== */
.floor-plan-card {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.floor-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

/* ====================================
   ANIMATIONS
   ==================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ====================================
   UTILITIES
   ==================================== */
.mt { margin-top: var(--spacing-lg); }
.mb { margin-bottom: var(--spacing-lg); }
.py-xl { padding: var(--spacing-xxl) 0; }
.overflow-hidden { overflow: hidden; }

/* ====================================
   RESPONSIVE GLOBAL
   ==================================== */
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .section-white, .section-cream, .section-green { padding: 3.5rem 0; }
  .container, .container-tight { padding: 0 1.25rem; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

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