/* ============================================================
   ASTON REALTY — style.css
   Structure:
   1.  CSS Variables (colours, fonts, spacing)
   2.  Reset & Base
   3.  Utility Classes
   4.  Floating CTA Buttons
   5.  Navigation / Header
   6.  Hero Section
   7.  Stats Bar
   8.  Services Section
   9.  Featured Properties
   10. Why Aston Realty
   11. Brands Carousel
   12. Reviews / Testimonials
   13. FAQ Section
   14. Contact / Form
   15. Footer
   16. Scroll Reveal Animations
   17. Responsive (Tablet & Mobile)
============================================================ */


/* ============================================================
   1. CSS VARIABLES
   To change the gold colour sitewide: update --gold.
   To change the dark background: update --dark.
   To change fonts: update --font-display and --font-body.
   These variables cascade everywhere — change once, updates all.
============================================================ */
:root {
  /* Colours */
  --gold:        #B8860B;
  --gold-light:  #D4A017;
  --gold-pale:   #F5EDD6;
  --dark:        #111111;
  --dark-2:      #1A1A1A;
  --dark-3:      #222222;
  --dark-card:   #1E1E1E;
  --light:       #FAF8F4;
  --light-2:     #F0EBE1;
  --white:       #FFFFFF;
  --text-dark:   #1A1A1A;
  --text-mid:    #4A4540;
  --text-muted:  #7A7065;
  --text-light:  #FFFFFF;
  --text-light2: rgba(255,255,255,0.70);
  --border:      rgba(184,134,11,0.20);
  --border-dark: rgba(255,255,255,0.08);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-pad:    7rem 0;
  --section-pad-sm: 4rem 0;
  --container:      1200px;
  --gutter:         1.5rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s var(--ease);
}


/* ============================================================
   2. RESET & BASE
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-dark);
  background: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

address {
  font-style: normal;
}

/* Reduced motion: disable all animations for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* ============================================================
   3. UTILITY CLASSES
============================================================ */

/* Container — max width centred with side padding */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Section background variants */
.section-dark  { background: var(--dark);  }
.section-light { background: var(--light); }

/* Eyebrow label (small uppercase text above headings) */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.eyebrow-gold  { color: var(--gold); }
.eyebrow-light { color: rgba(255,255,255,0.55); }

/* Section headings */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.section-heading-light { color: var(--text-light); }

/* Section subtext */
.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 3rem;
}
.section-sub-light { color: var(--text-light2); }

/* Centred section CTA */
.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* BUTTONS
   --gold:        filled gold button (primary CTA)
   --ghost:       transparent, white border (hero secondary)
   --dark:        filled dark button
   --outline-gold: border only, gold text
   To change button styles globally: edit here.
*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border: 1.5px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184,134,11,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.40);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
}

.btn-dark {
  background: var(--dark-2);
  color: var(--white);
  border: 1.5px solid var(--dark-2);
}
.btn-dark:hover {
  background: var(--dark-3);
  transform: translateY(-1px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
}


/* ============================================================
   4. FLOATING CTA BUTTONS
   These are the fixed left/right "Enquire Now" and "Call Now" tabs.
   To hide one: add display:none; to .float-left or .float-right.
   To change the colour: update background on .float-btn.
============================================================ */
.float-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  z-index: 900;
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: background var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.float-btn:hover {
  background: var(--gold-light);
  box-shadow: 0 4px 16px rgba(184,134,11,0.4);
}

.float-left  { left: -18px;  transform-origin: left center;  transform: rotate(90deg)  translateX(-50%); }
.float-right { right: -18px; transform-origin: right center; transform: rotate(-90deg) translateX(50%); }


/* ============================================================
   5. NAVIGATION / HEADER
   The header starts transparent and gains a dark background
   on scroll (controlled by JS adding .scrolled class).
   To change nav height: update padding on .nav-inner.
   To change nav background when scrolled: update .site-header.scrolled.
============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(17,17,17,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border-dark);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.01em;
}

/* SVG inside the logo — controls the visible icon size */
.nav-logo img {
  height: 36px;
  display: block;
}

@media (max-width: 640px) {
  .nav-logo svg { width: 30px; height: 30px; }
  .nav-logo-text { font-size: 16px; }
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-link {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.02em;
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}

.nav-cta {
  margin-left: 0.75rem;
  padding: 10px 22px;
  font-size: 12px;
}

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--transition);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ============================================================
   6. HERO SECTION
   Background image: set --hero-bg to your image URL, or change
   background-image directly below.
   The overlay darkens the image so text is readable.
   To make the overlay lighter: reduce the opacity value.
============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem var(--gutter) 5rem;
  /* EDIT: replace this URL with your actual hero background image */
  background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.65) 60%,
    rgba(0,0,0,0.80) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.hero-heading em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================================
   7. STATS BAR
   Background colour: --light (cream).
   Dividers between stats: .stat-divider.
   Number font size: change font-size on .stat-num.
============================================================ */
.stats-bar {
  background: var(--light);
  padding: 3.5rem var(--gutter);
}

.stats-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -1.5px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-top: 8px;
  line-height: 1.5;
  max-width: 130px;
}

.stat-divider {
  width: 0.5px;
  height: 48px;
  background: rgba(184,134,11,0.25);
  flex-shrink: 0;
}


/* ============================================================
   8. SERVICES SECTION
   Grid: 3 columns on desktop, 2 on tablet, 1 on mobile.
   To change card background: update background on .service-card.
   To change icon colour: update color on .service-icon svg.
============================================================ */
.services {
  padding: var(--section-pad);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border-dark);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 0;
}

.service-card {
  background: var(--dark-card);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background var(--transition);
}
.service-card:hover {
  background: var(--dark-3);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(184,134,11,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.service-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
}

.service-desc {
  font-size: 14px;
  color: var(--text-light2);
  line-height: 1.7;
}


/* ============================================================
   9. FEATURED PROPERTIES
   Card layout: 3 columns.
   Property image aspect ratio: controlled by padding-bottom on .property-img-wrap.
   To change badge colour: update background on .property-badge.
============================================================ */
.properties {
  padding: var(--section-pad);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.property-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: box-shadow var(--transition), transform var(--transition);
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.13);
}

.property-img-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 62%;  /* controls image aspect ratio */
  overflow: hidden;
}

.property-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.property-card:hover .property-img {
  transform: scale(1.04);
}

.property-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.property-body {
  padding: 1.5rem;
}

.property-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.property-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.property-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.price-onwards {
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-muted);
}

.property-btn {
  width: 100%;
  padding: 12px;
  font-size: 12px;
}


/* ============================================================
   10. WHY ASTON REALTY
   Two-column layout: text on left, photo on right.
   On mobile these stack vertically.
   To change the Founder photo size: update max-width on .why-photo.
============================================================ */
.why-aston {
  padding: var(--section-pad);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  align-items: center;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.why-point {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.why-point-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(184,134,11,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.why-point strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}
.why-point p {
  font-size: 14px;
  color: var(--text-light2);
  line-height: 1.7;
}

.why-photo-wrap {
  position: relative;
}

.why-photo {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: top;
  aspect-ratio: 4/5;
  filter: grayscale(10%);
}

.why-photo-tag {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(17,17,17,0.85);
  backdrop-filter: blur(10px);
  border: 0.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
}
.why-photo-tag strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}
.why-photo-tag span {
  font-size: 12px;
  color: var(--gold);
}


/* ============================================================
   11. BRANDS CAROUSEL
   Speed: change animation-duration value (lower = faster).
   Card size: change width/height on .brand-card.
   Fade edges: controlled by ::before and ::after gradients.
   Background: update background on .brands.
============================================================ */
.brands {
  background: var(--light);
  padding: 3rem 0;
  overflow: hidden;
  position: relative;
}

/* Fade edges left and right */
.brands::before,
.brands::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.brands::before {
  left: 0;
  background: linear-gradient(to right, var(--light) 0%, transparent 100%);
}
.brands::after {
  right: 0;
  background: linear-gradient(to left, var(--light) 0%, transparent 100%);
}

.brands-track-wrap {
  overflow: hidden;
}

.brands-track {
  display: flex;
  align-items: center;
  width: max-content;
  /* Speed is controlled by JS — see script.js → CAROUSEL CONFIG → PX_PER_SECOND */
  will-change: transform;
}
.brands-track.paused {
  /* JS toggles this class on hover */
  animation-play-state: paused !important;
}

.brand-card {
  flex-shrink: 0;
  width: 220px;    /* CARD WIDTH — change here */
  height: 90px;    /* CARD HEIGHT — change here */
  margin: 0 18px;
  background: var(--white);
  border: 0.5px solid #E8E0D0;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  box-sizing: border-box;
}

.brand-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* keeps any logo shape inside landscape card */
  object-position: center;
  display: block;
}


/* ============================================================
   12. REVIEWS / TESTIMONIALS
============================================================ */
.reviews {
  padding: var(--section-pad);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--dark-card);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  border: 0.5px solid rgba(184,134,11,0.12);
  transition: border-color var(--transition), transform var(--transition);
}
.review-card:hover {
  border-color: rgba(184,134,11,0.35);
  transform: translateY(-3px);
}

.review-stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
}

.review-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.review-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
}

.review-text {
  font-size: 14px;
  color: var(--text-light2);
  line-height: 1.75;
  font-style: normal;
}

.reviews-aggregate {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}


/* ============================================================
   13. FAQ SECTION
   Open/close animation is handled by JS (max-height transition).
   To change the divider colour: update border-bottom on .faq-item.
============================================================ */
.faq {
  padding: var(--section-pad);
}

.faq-inner {
  max-width: 780px;
}

.faq-list {
  margin-top: 2.5rem;
  border-top: 0.5px solid var(--border-dark);
}

.faq-item {
  border-bottom: 0.5px solid var(--border-dark);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--white);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
  line-height: 1.5;
}
.faq-question:hover {
  color: var(--gold-light);
}

.faq-icon {
  font-size: 22px;
  font-weight: 200;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s var(--ease);
}
.faq-answer p {
  font-size: 14px;
  color: var(--text-light2);
  line-height: 1.8;
  padding-bottom: 1.4rem;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}


/* ============================================================
   14. CONTACT / FORM
   Form input styles: .form-input.
   To change input background: update background on .form-input.
   To change placeholder colour: update color in the ::placeholder rule.
============================================================ */
.contact {
  padding: var(--section-pad);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 5rem;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-detail-link,
.contact-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-light2);
  transition: color var(--transition);
  line-height: 1.6;
}
.contact-detail-link:hover { color: var(--gold-light); }
.contact-detail-link svg,
.contact-address svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--dark-card);
  border: 0.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-label span { color: var(--gold); }

.form-input {
  background: rgba(255,255,255,0.05);
  border: 0.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 13px 16px;
  width: 100%;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  resize: vertical;
}
.form-input::placeholder { color: rgba(255,255,255,0.25); }
.form-input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.07);
}
.form-input:invalid:not(:placeholder-shown) {
  border-color: #c0392b;
}

.form-textarea {
  min-height: 110px;
}

.form-submit {
  width: 100%;
  padding: 15px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.form-privacy {
  font-size: 11px;
  color: rgba(255,255,255,0.30);
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: center;
  justify-content: center;
}

.form-feedback {
  font-size: 13px;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius-sm);
  display: none;
}
.form-feedback.success {
  display: block;
  background: rgba(39,174,96,0.12);
  color: #2ecc71;
}
.form-feedback.error {
  display: block;
  background: rgba(192,57,43,0.12);
  color: #e74c3c;
}


/* ============================================================
   15. FOOTER
============================================================ */
.site-footer {
  background: var(--dark-2);
  border-top: 0.5px solid var(--border-dark);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.footer-logo { margin-bottom: 0.75rem; }

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
  margin-top: 4px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 0.5px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.footer-heading {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 1rem;
}

.footer-link {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.6rem;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--gold-light); }

.footer-address-text {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
}

.footer-bottom {
  border-top: 0.5px solid var(--border-dark);
  text-align: center;
  padding: 1.5rem var(--gutter);
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.03em;
}


/* ============================================================
   16. SCROLL REVEAL ANIMATIONS
   Elements with [data-reveal] start invisible and fade+slide in
   when they enter the viewport. Controlled by JS IntersectionObserver.
   To disable: remove all [data-reveal] attributes from index.html.
   To change animation timing: update transition values on [data-reveal].
============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}


/* ============================================================
   17. RESPONSIVE — TABLET (≤1024px) AND MOBILE (≤640px)
============================================================ */

/* Tablet */
@media (max-width: 1024px) {

  .nav-links,
  .nav-cta { display: none; }

  .hamburger { display: flex; }

  /* Mobile nav overlay */
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(17,17,17,0.98);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
    border-top: 0.5px solid var(--border-dark);
  }
  .nav-links.mobile-open .nav-link {
    font-size: 18px;
    padding: 10px 0;
    width: 100%;
  }

  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid   { grid-template-columns: 1fr 1fr; }
  .why-inner      { grid-template-columns: 1fr; gap: 3rem; }
  .why-photo-wrap { max-width: 400px; margin: 0 auto; }
  .contact-inner  { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner   { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* Mobile */
@media (max-width: 640px) {

  :root { --section-pad: 4.5rem 0; }

  .float-left, .float-right { display: none; }

  .hero { background-attachment: scroll; }

  .stats-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .stat-divider {
    width: 48px;
    height: 0.5px;
    margin: 0 auto;
  }

  .services-grid   { grid-template-columns: 1fr; }
  .properties-grid { grid-template-columns: 1fr; }
  .reviews-grid    { grid-template-columns: 1fr; }

  /* Carousel cards smaller on mobile */
  .brand-card {
    width: 150px;
    height: 62px;
    margin: 0 10px;
    padding: 8px 12px;
  }
  /* carousel speed handled by JS */
  .brands::before, .brands::after { width: 40px; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form { padding: 1.75rem 1.25rem; }
}