/* ═══════════════════════════════════════════════════════
   BLUEHORSE PROPERTY MEDIA — style.css
   Premium Real Estate Brand | Deep Blue + Gold
═══════════════════════════════════════════════════════ */

:root {
  --blue:      #0B3C5D;
  --blue-mid:  #1565a0;
  --blue-light:#e8f0f8;
  --gold:      #D4AF37;
  --gold-dark: #a8832a;
  --gold-light:#f9f3dc;
  --white:     #ffffff;
  --grey-bg:   #f6f7f9;
  --grey-line: #e2e6ea;
  --text:      #1a1a2e;
  --text-mid:  #4a5568;
  --text-light:#718096;
  --radius:    14px;
  --shadow:    0 4px 32px rgba(11,60,93,0.10);
  --shadow-lg: 0 16px 56px rgba(11,60,93,0.14);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

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

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}

h1,h2,h3,h4,h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
button { cursor: pointer; border: none; background: none; }
select, input, textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
}

/* ─── UTILITY ─────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.hidden { display: none !important; }
.page { display: block; }
.page.hidden { display: none; }

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--blue);
  margin-bottom: 1.5rem;
}

/* ─── BUTTONS ──────────────────────────────── */
.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-block;
  letter-spacing: 0.02em;
}
.btn-primary:hover { background: var(--blue-mid); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid rgba(255,255,255,0.5);
  transition: var(--transition);
  display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--blue);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-block;
  letter-spacing: 0.02em;
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,175,55,0.35); }

.btn-ghost {
  background: transparent;
  color: var(--blue);
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--blue);
  transition: var(--transition);
}
.btn-ghost:hover { background: var(--blue); color: var(--white); }

.btn-whatsapp {
  background: #25D366;
  color: white;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
  text-decoration: none;
}
.btn-whatsapp:hover { background: #128C7E; transform: translateY(-2px); }

.center-cta { text-align: center; margin-top: 2.5rem; }

/* ─── NAVIGATION ───────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11,60,93,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,175,55,0.2);
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(11,60,93,0.99);
  box-shadow: 0 4px 32px rgba(0,0,0,0.15);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
  height: 70px;
}
/* ─── LOGO (nav + footer) ──────────────────── */
.nav-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
  gap: 0;
}
/* House+horse icon — CSS filter converts navy to gold */
.nav-icon-img {
  height: 46px;
  width: 46px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(72%) sepia(60%) saturate(400%) hue-rotate(5deg) brightness(100%) contrast(95%);
}
.nav-logo-divider {
  width: 1.5px;
  height: 42px;
  background: #D4AF37;
  margin: 0 11px;
  flex-shrink: 0;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.nav-logo-rule {
  height: 1px;
  background: #D4AF37;
  width: 100%;
}
.nav-logo-name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 21px;
  color: #ffffff;
  letter-spacing: 2px;
  line-height: 1.15;
  white-space: nowrap;
}
.nav-logo-sub {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 8px;
  color: #D4AF37;
  letter-spacing: 4px;
  white-space: nowrap;
}

/* Footer logo */
.footer-logo { margin-bottom: 0.75rem; }
.footer-logo-inner {
  display: flex;
  align-items: center;
}
.footer-icon-img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(72%) sepia(60%) saturate(400%) hue-rotate(5deg) brightness(100%) contrast(95%);
}
.footer-logo-divider {
  width: 1.5px;
  height: 44px;
  background: #D4AF37;
  margin: 0 11px;
  flex-shrink: 0;
}
.footer-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.footer-logo-rule { height: 1px; background: #D4AF37; width: 100%; }
.footer-logo-name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 19px;
  color: #ffffff;
  letter-spacing: 2px;
  line-height: 1.15;
  white-space: nowrap;
}
.footer-logo-sub {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 7.5px;
  color: #D4AF37;
  letter-spacing: 4px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-link {
  color: rgba(255,255,255,0.8);
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-cta-link {
  background: var(--gold);
  color: var(--blue);
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
  margin-left: 0.5rem;
}
.nav-cta-link:hover { background: var(--gold-dark); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  display: block;
  transition: var(--transition);
}

/* ─── HERO ─────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--blue);
  padding-top: 70px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* ─── HERO VIDEO ───────────────────────────── */
/* Full-screen slow-motion background video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Slow it down to ~0.5x for cinematic feel */
  filter: brightness(0.9);
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,60,93,0.80) 0%, rgba(11,60,93,0.50) 60%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,175,55,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 3rem 1.5rem;
}

/* ─── IMAGE PERFORMANCE ────────────────────── */
/* Dark navy fallback while images load */
.about-real-img img,
.story-photo,
.about-gallery-strip img {
  transition: opacity 0.4s ease;
}

.hero-badge {
  display: inline-block;
  background: rgba(212,175,55,0.15);
  border: 1px solid rgba(212,175,55,0.4);
  color: var(--gold);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.75rem;
}
.hero-headline {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
}
.stat-divider {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.15);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  z-index: 3;
  animation: bob 2.2s ease-in-out infinite;
  cursor: pointer;
}
.scroll-text {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.scroll-arrow {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(212,175,55,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,175,55,0.12);
  backdrop-filter: blur(4px);
}
@keyframes bob {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ─── ANIMATIONS ───────────────────────────── */
.animate-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }
.delay-5 { animation-delay: 0.7s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── BLOG GRID ────────────────────────────── */
.updates-section { background: var(--grey-bg); }
.blog-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border: 1px solid var(--grey-line);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-img {
  height: 200px;
  position: relative;
  overflow: hidden;
  background-color: var(--blue);
}
/* Real <img> inside blog card */
.card-img-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.blog-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11,60,93,0.2) 0%, rgba(11,60,93,0.5) 100%);
}
.featured-card .blog-card-img { height: 260px; }
.blog-emoji {
  font-size: 3rem;
  position: relative;
  z-index: 1;
}
.blog-card-body { padding: 1.25rem; }
.blog-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.blog-card-title {
  font-size: 1.05rem;
  font-family: 'Cormorant Garamond', serif;
  color: var(--blue);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}
.blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ─── PROPERTIES ───────────────────────────── */
.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.prop-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--grey-line);
  transition: var(--transition);
}
.prop-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.prop-img {
  height: 220px;
  position: relative;
  overflow: hidden;
  background-color: var(--blue);
}
/* prop-img overlay for tag/price on top of img */
.prop-img-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.prop-tag {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  z-index: 2;
}
.prop-price {
  position: absolute;
  bottom: 0.75rem; right: 0.75rem;
  z-index: 2;
}
.prop-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(212,175,55,0.9);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.prop-price {
  position: absolute;
  bottom: 1rem; right: 1rem;
  background: rgba(11,60,93,0.85);
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
}
.prop-body { padding: 1.25rem; }
.prop-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--blue);
  margin-bottom: 0.35rem;
}
.prop-loc { font-size: 0.82rem; color: var(--text-light); margin-bottom: 0.75rem; }
.prop-specs {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-mid);
  margin-bottom: 0.75rem;
}
.prop-specs span {
  background: var(--grey-bg);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}
.prop-roi {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
}
.prop-roi strong { color: #2d6a4f; }
.prop-btn {
  background: var(--blue);
  color: var(--white);
  width: 100%;
  padding: 0.7rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}
.prop-btn:hover { background: var(--gold); color: var(--blue); }

/* ─── ABOUT SNIPPET ────────────────────────── */
.about-snippet { background: var(--blue); }
.about-snap-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}
.about-snap-img { display: flex; justify-content: center; }
.about-real-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 420px;
  width: 100%;
}
.about-real-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius);
}
.about-img-badge {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(11,60,93,0.92) 0%, transparent 100%);
  padding: 2rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.snap-quote-inline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--white);
  font-style: italic;
  line-height: 1.4;
}
.snap-author { font-size: 0.78rem; color: var(--gold); letter-spacing: 0.1em; }
.about-snap-text .section-label { color: var(--gold); }
.about-snap-text .section-title { color: var(--white); }
.about-snap-text p { color: rgba(255,255,255,0.72); }
.snap-pillars { margin: 1.5rem 0 2rem; }
.snap-pillars li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255,255,255,0.82);
  padding: 0.4rem 0;
  font-size: 0.95rem;
}
.pillar-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── TESTIMONIALS ─────────────────────────── */
.testimonials-section { background: var(--grey-bg); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--grey-line);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.testi-card:hover { transform: translateY(-4px); }
.featured-testi {
  background: var(--blue);
  border-color: var(--blue);
}
.featured-testi .testi-text { color: rgba(255,255,255,0.85); }
.featured-testi .testi-author strong { color: var(--white); }
.featured-testi .testi-author small { color: rgba(255,255,255,0.55); }
.testi-stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; }
.testi-text {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 0.75rem; }
.testi-avatar {
  width: 42px; height: 42px;
  background: var(--gold);
  color: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ─── CTA BANNER ───────────────────────────── */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, #0B3C5D 0%, #1565a0 100%);
  padding: 5rem 0;
  text-align: center;
  overflow: hidden;
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(212,175,55,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-banner-inner { position: relative; }
.cta-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-sub { color: rgba(255,255,255,0.7); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── NEWSLETTER ───────────────────────────── */
.newsletter-section { background: var(--gold-light); }
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.newsletter-text h3 {
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 0.4rem;
}
.newsletter-text p { color: var(--text-mid); }
.newsletter-form { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.newsletter-input {
  padding: 0.85rem 1.25rem;
  border: 1.5px solid var(--grey-line);
  border-radius: 8px;
  width: 280px;
  background: var(--white);
  transition: var(--transition);
}
.newsletter-input:focus { outline: none; border-color: var(--blue); }

/* ─── PAGE HERO (inner pages) ──────────────── */
.page-hero {
  position: relative;
  background: var(--blue);
  padding: 8rem 1.5rem 4rem;
  text-align: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(212,175,55,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.07) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-hero .container { position: relative; }
.page-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.page-hero-sub { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ─── ABOUT PAGE ───────────────────────────── */
.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}
.story-text p { color: var(--text-mid); font-size: 1rem; line-height: 1.75; }
.story-img-wrap { position: relative; }
.story-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  margin-bottom: 1.25rem;
}
.story-stat-box {
  background: var(--blue);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.story-stat { text-align: center; }
.s-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.s-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* ─── ABOUT GALLERY STRIP ──────────────────── */
.about-gallery-strip {
  display: flex;
  gap: 0;
  height: 280px;
  overflow: hidden;
}
.about-gallery-strip img {
  flex: 1;
  object-fit: cover;
  object-position: center;
  transition: flex 0.5s ease;
  filter: brightness(0.85);
}
.about-gallery-strip img:hover {
  flex: 2.5;
  filter: brightness(1);
}
.values-section { background: var(--grey-bg); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--grey-line);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.value-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.value-card h3 {
  font-size: 1.15rem;
  color: var(--blue);
  margin-bottom: 0.6rem;
}
.value-card p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; }
.why-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.why-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--grey-bg);
  border-radius: var(--radius);
  border: 1px solid var(--grey-line);
  transition: var(--transition);
}
.why-item:hover { border-color: var(--gold); }
.why-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}
.why-item h4 { font-size: 1.05rem; color: var(--blue); margin-bottom: 0.4rem; }
.why-item p { font-size: 0.88rem; color: var(--text-mid); }

/* ─── SERVICES ─────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--grey-line);
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: var(--blue); }
.featured-service {
  background: var(--blue);
  border-color: var(--blue);
}
.featured-service .service-name { color: var(--white); }
.featured-service .service-desc { color: rgba(255,255,255,0.75); }
.featured-service .service-benefits li { color: rgba(255,255,255,0.8); }
.service-card-img {
  height: 180px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--blue);
}
/* Real <img> inside service card */
.svc-img-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(11,60,93,0.35) 100%);
}
.featured-service .service-card-img::after {
  background: linear-gradient(to bottom, transparent 40%, rgba(11,60,93,0.6) 100%);
}
.service-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--gold);
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
}
.service-icon-wrap { font-size: 2rem; padding: 1.25rem 1.5rem 0; }
.service-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--blue);
  padding: 0 1.5rem 0.5rem;
}
.service-desc { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; flex: 1; padding: 0 1.5rem 0.5rem; }
.service-benefits { padding: 0 1.5rem 1rem; }
.service-benefits li {
  font-size: 0.83rem;
  color: var(--text-mid);
  padding: 0.25rem 0;
}
.service-card .btn-primary,
.service-card .btn-gold {
  margin: 0 1.5rem 1.5rem;
  text-align: center;
  display: block;
}

/* ─── BLOG / UPDATES ───────────────────────── */
.blog-filter {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--grey-bg);
  color: var(--text-mid);
  border: 1.5px solid var(--grey-line);
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ─── BLOG POST ────────────────────────────── */
.post-container { max-width: 800px; }
.back-btn {
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 2rem;
  display: inline-block;
  font-size: 0.9rem;
  transition: var(--transition);
}
.back-btn:hover { color: var(--gold); }
.post-hero-img {
  height: 360px;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  background-color: var(--blue);
}
.post-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius);
}
.post-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(to bottom, transparent 50%, rgba(11,60,93,0.3) 100%);
}
.post-meta-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-light);
  flex-wrap: wrap;
  align-items: center;
}
.post-cat-tag {
  background: var(--gold-light);
  color: var(--gold-dark);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.post-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--blue);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.post-body p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}
.post-body h3 {
  color: var(--blue);
  margin: 2rem 0 0.75rem;
  font-size: 1.4rem;
}

/* ─── BOOK CONSULTATION ────────────────────── */
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.book-info h3 {
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 1.5rem;
}
.expect-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--grey-line);
  font-size: 0.92rem;
  color: var(--text-mid);
}
.book-contact-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--grey-bg);
  border-radius: var(--radius);
}
.book-contact-note p { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 0.25rem; }
.book-contact-note a { color: var(--blue); font-weight: 600; }
.book-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--grey-line);
}
.form-title { font-size: 1.4rem; color: var(--blue); margin-bottom: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--grey-line);
  border-radius: 8px;
  background: var(--white);
  transition: var(--transition);
  color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,60,93,0.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.78rem; color: var(--text-light); text-align: center; margin-top: 0.75rem; }
.book-success { text-align: center; padding: 3rem 1rem; }
.success-icon { font-size: 3rem; margin-bottom: 1rem; }
.book-success h3 { font-size: 1.8rem; color: var(--blue); margin-bottom: 0.75rem; }
.book-success p { color: var(--text-mid); margin-bottom: 2rem; }

/* ─── CONTACT ──────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.contact-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact-item h4 { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0.3rem; font-weight: 500; }
.contact-item a { color: var(--blue); font-weight: 600; }
.contact-item p { color: var(--text-mid); }
.contact-socials h4 { font-size: 0.9rem; color: var(--text); margin-bottom: 0.75rem; }
.social-links { display: flex; flex-direction: column; gap: 0.5rem; }
.social-link {
  color: var(--blue);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-link:hover { color: var(--gold); }
.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* ─── FOOTER ───────────────────────────────── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-tagline { font-size: 0.85rem; color: var(--gold); margin-bottom: 1.25rem; font-style: italic; }
.footer-socials { display: flex; gap: 0.75rem; }
.fsocial {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  color: var(--white);
  text-decoration: none;
}
.fsocial:hover { background: var(--gold); transform: translateY(-2px); }
.footer-col h5 {
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-col p { font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─── WHATSAPP BUTTON ──────────────────────── */
.whatsapp-btn {
  position: fixed;
  bottom: 100px;
  right: 1.5rem;
  width: 54px; height: 54px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 900;
  transition: var(--transition);
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }

/* ─── CHAT WIDGET ──────────────────────────── */
.chat-widget {
  position: fixed;
  bottom: 1.75rem;
  right: 1.5rem;
  z-index: 1000;
}
.chat-toggle {
  width: 56px; height: 56px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(11,60,93,0.4);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-toggle:hover { transform: scale(1.08); }
.chat-box {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 340px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  border: 1px solid var(--grey-line);
  overflow: hidden;
  flex-direction: column;
}
.chat-box.open { display: flex; }
.chat-header {
  background: var(--blue);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.chat-avatar {
  width: 36px; height: 36px;
  background: var(--gold);
  color: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.chat-header strong { color: var(--white); font-size: 0.9rem; }
.chat-header p { color: rgba(255,255,255,0.65); font-size: 0.75rem; }
.chat-close {
  margin-left: auto;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: var(--transition);
}
.chat-close:hover { color: var(--white); }
.chat-messages {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 280px;
  overflow-y: auto;
  background: #f9fafb;
}
.chat-msg { display: flex; }
.chat-msg.user { justify-content: flex-end; }
.msg-bubble {
  background: var(--white);
  border: 1px solid var(--grey-line);
  padding: 0.65rem 0.9rem;
  border-radius: 12px 12px 12px 0;
  font-size: 0.83rem;
  color: var(--text);
  max-width: 85%;
  line-height: 1.5;
}
.chat-msg.user .msg-bubble {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  border-radius: 12px 12px 0 12px;
}
.typing-indicator .msg-bubble { color: var(--text-light); font-style: italic; }

/* Animated typing dots */
.typing-dots { display: flex; align-items: center; gap: 4px; padding: 0.55rem 0.9rem !important; }
.typing-dots span {
  width: 7px; height: 7px;
  background: var(--text-light);
  border-radius: 50%;
  animation: typingBounce 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.18s; }
.typing-dots span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Quick reply chips */
.quick-replies {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.25rem 0;
}
.quick-chip {
  background: var(--white);
  border: 1.5px solid var(--blue);
  color: var(--blue);
  padding: 0.5rem 0.85rem;
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  font-family: 'DM Sans', sans-serif;
}
.quick-chip:hover { background: var(--blue); color: var(--white); }

/* Links & bold inside chat bubbles */
.msg-bubble a { color: var(--gold); font-weight: 600; }
.chat-msg.user .msg-bubble a { color: rgba(255,255,255,0.85); }
.msg-bubble strong { font-weight: 600; }
.chat-input-row {
  display: flex;
  padding: 0.75rem;
  gap: 0.5rem;
  border-top: 1px solid var(--grey-line);
  background: var(--white);
}
#chat-input {
  flex: 1;
  padding: 0.6rem 0.9rem;
  border: 1.5px solid var(--grey-line);
  border-radius: 8px;
  font-size: 0.83rem;
  transition: var(--transition);
}
#chat-input:focus { outline: none; border-color: var(--blue); }
.chat-send {
  background: var(--blue);
  color: var(--white);
  width: 36px; height: 36px;
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-send:hover { background: var(--gold); color: var(--blue); }
.chat-fallback {
  text-align: center;
  padding: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-light);
  background: var(--white);
  border-top: 1px solid var(--grey-line);
}
.chat-fallback button {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.78rem;
  text-decoration: underline;
}

/* ─── POPUP ────────────────────────────────── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}
.popup-box {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: popIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes popIn { from{transform:scale(0.85);opacity:0} to{transform:scale(1);opacity:1} }
.popup-close {
  position: absolute;
  top: 1rem; right: 1rem;
  color: var(--text-light);
  font-size: 1rem;
  transition: var(--transition);
}
.popup-close:hover { color: var(--text); }
.popup-badge {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.popup-title {
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 0.6rem;
}
.popup-sub { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 1.5rem; }
.popup-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--grey-line);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
.popup-btn {
  width: 100%;
  background: var(--blue);
  color: var(--white);
  padding: 0.9rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}
.popup-btn:hover { background: var(--gold); color: var(--blue); }
.popup-skip { font-size: 0.78rem; color: var(--text-light); cursor: pointer; }
.popup-skip:hover { text-decoration: underline; }

/* ─── RESPONSIVE ───────────────────────────── */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .featured-card { grid-column: 1 / -1; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-snap-grid { grid-template-columns: 1fr; }
  .about-snap-img { order: -1; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--blue);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-link { display: block; padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-cta-link { display: block; margin: 0.75rem 0 0; text-align: center; padding: 0.75rem; }

  .blog-grid { grid-template-columns: 1fr; }
  .props-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .book-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; }
  .newsletter-form { width: 100%; }
  .newsletter-input { width: 100%; }
  .hero-btns { flex-direction: column; align-items: center; }
  .chat-box { width: 300px; }
  .about-snap-grid { grid-template-columns: 1fr; }
  .about-snap-img { order: -1; }
  .about-real-img img { height: 280px; }
  .about-gallery-strip { height: 160px; }
  .about-gallery-strip img { min-width: 100px; }
  .nav-logo-img { height: 36px; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .story-stat-box { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 1.5rem; }
  .stat-divider { display: none; }
}
