/* ==========================================================================
   JUST BANÚS — PROPERTY MANAGEMENT & PROPERTY SERVICES IN MARBELLA
   Visual Identity: Technical & Property-Oriented · Warm Beige / Gold
   Part of SERINAMAR GROUP (Three specialised companies. One vision.)
   ========================================================================== */

:root {
  /* Warm Beige / Gold & Deep Architectural Palette */
  --bg-main: #fdfbf7;
  --bg-soft: #f4efe6;
  --bg-warm-alt: #ede5d8;
  --bg-card: #ffffff;
  --border-light: #e4dccf;
  --border-gold: #d4c1a3;

  /* Brand Accents — Warm Gold / Architectural Bronze & Deep Navy */
  --primary-gold: #8c6a3e;
  --primary-gold-hover: #70532e;
  --brand-gold-light: #c5a880;
  --brand-gold-soft: #f7f2e9;
  --brand-terracotta: #6b1d0b;
  --brand-navy: #132238;
  --brand-navy-dark: #0d1828;

  /* Legacy variable aliases mapped to Warm Beige / Gold palette */
  --primary-blue: #8c6a3e;
  --primary-blue-hover: #70532e;
  --brand-sky: #c5a880;
  --brand-cyan: #8c6a3e;
  --ocean-blue: #132238;
  --light-blue-bg: #f6f1e7;
  --border-blue: #d4c1a3;

  /* Typography & Neutral Tones */
  --text-dark: #132238;
  --text-slate: #3e4852;
  --text-muted: #686f77;
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;

  /* Layout & Effects */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 999px;
  --shadow-sm: 0 4px 16px rgb(19 34 56 / 4%);
  --shadow-md: 0 12px 36px rgb(19 34 56 / 7%);
  --shadow-lg: 0 20px 52px rgb(19 34 56 / 11%);
  --transition: 240ms ease;
  --topbar-height: 34px;
  --nav-height: 86px;
  --header-total: calc(var(--topbar-height) + var(--nav-height));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-total) + 24px);
  font-family: var(--font-primary);
  color: var(--text-dark);
  background: var(--bg-main);
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.65;
  background: var(--bg-main);
  color: var(--text-dark);
}

img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
p { color: var(--text-slate); font-size: 1rem; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  overflow-wrap: break-word;
}

::selection { background: #e8dac3; color: #132238; }
:focus-visible { outline: 2px solid var(--primary-gold); outline-offset: 4px; }

.container { width: min(1260px, calc(100% - 72px)); margin-inline: auto; }
.section-padding { padding-block: 96px; }
.section-soft, .soft-section { background: var(--bg-soft); }
.text-blue, .text-gold { color: var(--primary-gold); }

.section-header { max-width: 800px; margin: 0 auto 52px; text-align: center; }

.badge-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-gold);
  margin-bottom: 16px;
  line-height: 1.5;
}

.section-title { font-size: clamp(2rem, 3.2vw, 2.75rem); margin-bottom: 18px; }
.section-subtitle { font-size: 1.04rem; line-height: 1.8; color: var(--text-slate); }

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
}
.section-heading-row > div { flex: 1.25; }
.section-heading-row > p { flex: 0.85; max-width: 440px; padding-bottom: 16px; }

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-gold);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-block: 10px;
  text-underline-offset: 5px;
  transition: color var(--transition), gap var(--transition);
}
.section-link:hover {
  color: var(--brand-navy);
  text-decoration: underline;
  gap: 14px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2200;
  padding: 10px 18px;
  background: white;
  color: var(--text-dark);
  border-radius: 5px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* ==========================================================================
   DISCREET SERINAMAR GROUP TOPBAR & MAIN NAVIGATION
   ========================================================================== */
.site-header-wrap {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgb(253 251 247 / 98%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}
.site-header-wrap.scrolled, .navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.group-topbar {
  background: var(--brand-navy);
  color: #e9e2d6;
  height: var(--topbar-height);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgb(197 168 128 / 20%);
}

.group-topbar-inner {
  width: min(1400px, calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.group-topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand-gold-light);
  letter-spacing: 0.14em;
}

.group-topbar-badge span {
  color: #cbd2d9;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: none;
}

.group-topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.68rem;
}

.group-topbar-links a {
  color: #dcd6cb;
  transition: color var(--transition);
  white-space: nowrap;
}
.group-topbar-links a:hover {
  color: var(--brand-gold-light);
}
.group-topbar-links .topbar-divider {
  color: rgb(255 255 255 / 22%);
}
.group-topbar-links .topbar-holiday-link {
  color: #ebd5b3;
  font-weight: 600;
}

.navbar {
  height: var(--nav-height);
  background: rgb(253 251 247 / 98%);
}

/* Fallback if a page doesn't wrap .navbar in .site-header-wrap */
header > .navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
}
header > .site-header-wrap .navbar {
  position: static;
  border-bottom: none;
}

.nav-container {
  width: min(1420px, calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  background: transparent;
}
.logo-wrapper img {
  height: 58px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-block: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dark);
  white-space: nowrap;
  transition: color var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-gold);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-gold);
}

/* Special highlight for Holiday Rentals in header */
.nav-link-holiday {
  color: var(--primary-gold);
  background: var(--brand-gold-soft);
  border: 1px solid var(--border-gold);
  padding: 6px 11px;
  border-radius: var(--radius-sm);
}
.nav-link-holiday:hover {
  background: #ece1cf;
  color: var(--brand-navy);
}

.nav-item-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  list-style: none;
  min-width: 260px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dropdown-item a {
  display: block;
  border-radius: 4px;
  padding: 9px 12px;
  font-size: 0.8rem;
  color: var(--text-slate);
}
.dropdown-item a:hover {
  color: var(--primary-gold);
  background: var(--brand-gold-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-toggle { display: flex; gap: 3px; align-items: center; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  opacity: 0.6;
  transition: opacity var(--transition), background var(--transition);
}
.lang-btn.active {
  opacity: 1;
  background: var(--brand-gold-soft);
  border-color: var(--border-gold);
}
.lang-btn:hover { opacity: 1; }
.flag-icon { width: 20px; height: 13px; display: block; object-fit: cover; border-radius: 2px; }

/* Buttons */
.btn-primary, .btn-jb-primary, .btn-jb-secondary, .btn-outline, .btn-white, .btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  text-align: center;
}

.btn-primary, .btn-jb-primary {
  color: #fff;
  background: var(--primary-gold);
}
.btn-primary:hover, .btn-jb-primary:hover {
  background: var(--primary-gold-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-navy {
  color: #fff;
  background: var(--brand-navy);
}
.btn-navy:hover {
  background: var(--brand-navy-dark);
  transform: translateY(-1px);
}

.btn-outline-navy {
  border: 1.5px solid var(--brand-navy);
  color: var(--brand-navy);
  background: transparent;
}
.btn-outline-navy:hover {
  background: var(--brand-navy);
  color: #fff;
  transform: translateY(-1px);
}

.nav-actions > .btn-primary {
  padding: 11px 16px;
  font-size: 0.72rem;
  white-space: nowrap;
}

.btn-outline {
  border-color: var(--primary-gold);
  color: var(--primary-gold);
  background: transparent;
}
.btn-outline:hover {
  background: var(--brand-gold-soft);
}

.btn-white {
  color: var(--brand-navy);
  background: #fff;
}
.btn-white:hover {
  background: var(--bg-soft);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  background: white;
  color: var(--text-dark);
  height: 42px;
  width: 42px;
  align-items: center;
  justify-content: center;
}
.mobile-toggle svg { width: 22px; height: 22px; }
.mobile-drawer { display: none !important; }

/* ==========================================================================
   HERO SECTION (HOME) - KEN BURNS INFINITE LOOP & ANIMATED TYPOGRAPHY
   ========================================================================== */
.jb-hero-section {
  margin-top: var(--header-total);
  position: relative;
  min-height: 640px;
  height: min(80svh, 840px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0b1524;
}

/* CINEMATIC KEN BURNS INFINITE SEAMLESS LOOP */
.jb-hero-bg {
  position: absolute;
  top: -8%;
  left: -8%;
  width: 116%;
  height: 116%;
  background: url('assets/puerto-banus-marina-hero.webp') center center / cover no-repeat;
  will-change: transform;
  transform-origin: 52% 48%;
  animation: kenBurnsInfinite 32s ease-in-out infinite;
}

@keyframes kenBurnsInfinite {
  0% {
    transform: scale(1) translate(0%, 0%);
  }
  25% {
    transform: scale(1.08) translate(-1.6%, -1.2%);
  }
  50% {
    transform: scale(1.15) translate(1.4%, -2%);
  }
  75% {
    transform: scale(1.09) translate(2%, 0.8%);
  }
  100% {
    transform: scale(1) translate(0%, 0%);
  }
}

/* LUXURY ATMOSPHERIC OVERLAY */
.jb-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 25%, rgba(184, 150, 90, 0.22) 0%, transparent 58%),
    linear-gradient(98deg, rgba(10, 20, 36, 0.93) 0%, rgba(15, 28, 48, 0.74) 52%, rgba(15, 28, 48, 0.38) 100%),
    linear-gradient(0deg, rgba(10, 20, 36, 0.88) 0%, transparent 36%);
  pointer-events: none;
}

.jb-hero-container {
  position: relative;
  z-index: 2;
  width: min(1260px, calc(100% - 96px));
  margin-inline: auto;
  padding: 56px 0 84px;
}

.jb-hero-text-wrap {
  max-width: 840px;
}

/* ANIMATED EYEBROW WITH LIVE PULSING GOLD DOT */
.jb-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #e5cda7;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(197, 168, 128, 0.4);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  animation: heroFadeDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s backwards;
}

.jb-hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ecd7b7;
  box-shadow: 0 0 0 0 rgba(236, 215, 183, 0.75);
  animation: heroDotPulse 2.4s infinite;
  margin-right: 2px;
}

@keyframes heroDotPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(236, 215, 183, 0.75);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(236, 215, 183, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(236, 215, 183, 0);
  }
}

/* ANIMATED TITLE & SHIMMERING METALLIC BRANDING */
.jb-hero-title {
  font-size: clamp(2.3rem, 4.3vw, 4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s backwards;
}

.jb-hero-title-brand {
  display: inline-block;
  background: linear-gradient(110deg, #ffffff 0%, #ffffff 35%, #f4e3c9 50%, #ffffff 65%, #ffffff 100%);
  background-size: 240% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroTextShimmer 7s ease-in-out infinite 1.6s;
  text-shadow: 0 0 35px rgba(236, 215, 183, 0.25);
  letter-spacing: 0.02em;
}

@keyframes heroTextShimmer {
  0%, 25% { background-position: 120% center; }
  65%, 100% { background-position: -120% center; }
}

.jb-hero-title-span,
.jb-hero-title span {
  color: #ecd7b7;
  display: block;
  font-weight: 350;
  font-size: 0.72em;
  letter-spacing: -0.01em;
  margin-top: 8px;
  animation: heroFadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s backwards;
}

/* ANIMATED SUBTITLE WITH LUXURY ACCENT */
.jb-hero-subtitle {
  color: #f7f4ed;
  max-width: 620px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--primary-gold);
  animation: heroFadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s backwards;
}

/* ANIMATED LEAD TEXT */
.jb-hero-lead {
  color: #d7d2c8;
  max-width: 620px;
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 36px;
  animation: heroFadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.75s backwards;
}

/* ANIMATED ACTION BUTTONS WITH LIVING SHEEN */
.jb-hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  animation: heroFadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s backwards;
}

.btn-jb-primary {
  padding: 16px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(184, 150, 90, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-jb-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(184, 150, 90, 0.45);
}

.btn-jb-primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -150%;
  width: 80%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  animation: btnSheen 6s ease-in-out infinite 2s;
  pointer-events: none;
}

@keyframes btnSheen {
  0%, 75% { left: -150%; }
  85%, 100% { left: 200%; }
}

.btn-jb-secondary {
  color: #ffffff;
  border-color: rgba(229, 205, 167, 0.6);
  background: rgba(19, 34, 56, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 16px 28px;
  transition: all 0.3s ease;
}

.btn-jb-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.hero-bottom {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  left: 48px;
  right: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #e5cda7;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 16px;
  animation: heroFade 1.2s ease 1s backwards;
}

.hero-bottom a {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  transition: color 0.25s ease;
}

.hero-bottom a:hover {
  color: #ecd7b7;
}

/* KEYFRAMES FOR HERO ENTRANCE */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeDown {
  0% {
    opacity: 0;
    transform: translateY(-16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
}

/* ==========================================================================
   BLOCK 1: INTRO BLOCK ("Everything your property needs.")
   ========================================================================== */
.intro-statement-section {
  padding-block: 88px 40px;
  background: var(--bg-main);
}

.intro-statement-card {
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
  padding: 52px 48px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--primary-gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.intro-statement-card h2 {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  margin-bottom: 20px;
  color: var(--brand-navy);
}

.intro-statement-card p {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.85;
  color: var(--text-slate);
  max-width: 780px;
  margin-inline: auto;
}

/* ==========================================================================
   BLOCK 2: THE 4 SERVICE PILLARS
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.photo-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 28px;
}

.photo-service, .pillar-card {
  min-width: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.photo-service:hover, .pillar-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.photo-service-media, .pillar-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
}

.photo-service-media img, .pillar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 650ms ease;
}

.photo-service:hover .photo-service-media img,
.pillar-card:hover .pillar-media img {
  transform: scale(1.04);
}

.pillar-number-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgb(19 34 56 / 88%);
  color: #e5cda7;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.photo-service-body, .pillar-body {
  padding: 30px 30px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.service-number {
  color: var(--primary-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pillar-body h3, .photo-service h2, .photo-service h3 {
  font-size: 1.32rem;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
}

.pillar-body p, .photo-service p {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 18px;
  color: var(--text-slate);
}

.pillar-bullets {
  list-style: none;
  width: 100%;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

.pillar-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 0.84rem;
  color: var(--text-slate);
  font-weight: 500;
}
.pillar-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-gold);
  font-weight: 700;
}

.pillar-body .section-link, .photo-service .section-link {
  margin-top: auto;
}

/* ==========================================================================
   BLOCK 3: INDEPENDENT OWNERS CALLOUT ("You don't have to rent through us.")
   ========================================================================== */
.independent-owners-section {
  padding-block: 88px;
  background: var(--bg-soft);
  border-block: 1px solid var(--border-light);
}

.independent-owners-box {
  background: #ffffff;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  box-shadow: var(--shadow-md);
}

.independent-owners-copy {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.independent-owners-copy h2 {
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  color: var(--brand-navy);
  margin-bottom: 20px;
}

.independent-owners-copy .lead-p {
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 16px;
}

.independent-owners-copy p {
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--text-slate);
  margin-bottom: 28px;
}

.independent-owners-media {
  position: relative;
  min-height: 380px;
}

.independent-owners-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   BLOCK 4A: GROUP SYNERGY ("One property. One coordinated team.")
   ========================================================================== */
.coordinated-team-section {
  padding-block: 96px;
  background: var(--bg-main);
}

.team-synergy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  position: relative;
  margin-top: 48px;
  align-items: stretch;
}

.synergy-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 28px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 18px rgba(10, 24, 46, 0.04);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.35s ease,
              background 0.35s ease;
  overflow: hidden;
}

/* Accent top border strip */
.synergy-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.35s ease, height 0.35s ease;
}

.synergy-card--iberiansun::before { background: var(--primary-gold); }
.synergy-card--serinamar::before { background: var(--brand-navy); }
.synergy-card--justbanus::before { background: var(--primary-gold); }

/* ZOOM & ELEVATION ON HOVER */
.synergy-card:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 22px 45px rgba(17, 28, 48, 0.12), 0 0 0 1px rgba(184, 150, 90, 0.35);
  border-color: var(--primary-gold);
  z-index: 3;
}

.synergy-card--serinamar:hover {
  border-color: var(--brand-navy);
  box-shadow: 0 22px 45px rgba(26, 42, 74, 0.14), 0 0 0 1px rgba(26, 42, 74, 0.35);
}

.synergy-card.active-brand {
  border: 1.5px solid rgba(184, 150, 90, 0.6);
  background: linear-gradient(180deg, #fffdf9 0%, #faf5ec 100%);
}

.synergy-card.active-brand:hover {
  border-color: var(--primary-gold);
  box-shadow: 0 24px 48px rgba(184, 150, 90, 0.22), 0 0 0 1px var(--primary-gold);
}

.synergy-step-tag {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-gold);
  background: var(--brand-gold-soft);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  transition: background 0.3s ease, color 0.3s ease;
}

.synergy-card:hover .synergy-step-tag {
  background: var(--primary-gold);
  color: #ffffff;
}

.synergy-card--serinamar:hover .synergy-step-tag {
  background: var(--brand-navy);
  color: #ffffff;
}

.synergy-logo-wrap {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.synergy-logo-wrap img {
  max-height: 64px;
  max-width: 190px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.synergy-card:hover .synergy-logo-wrap img {
  transform: scale(1.08);
}

.synergy-card h3 {
  font-size: 1.25rem;
  color: var(--brand-navy);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.synergy-role {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-gold);
  margin-bottom: 14px;
}

.synergy-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-slate);
  margin-bottom: 24px;
  flex-grow: 1;
}

/* SYNERGY ACTION CTA BUTTON */
.synergy-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding: 13px 20px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  background: #f8f6f2;
  color: var(--brand-navy);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Card hover triggers prominent button state */
.synergy-card--iberiansun:hover .synergy-cta-btn,
.synergy-card--iberiansun .synergy-cta-btn:hover {
  background: var(--brand-navy);
  color: #ffffff;
  border-color: var(--brand-navy);
  box-shadow: 0 6px 18px rgba(26, 42, 74, 0.25);
  transform: translateY(-2px);
}

.synergy-card--serinamar:hover .synergy-cta-btn,
.synergy-card--serinamar .synergy-cta-btn:hover {
  background: var(--brand-navy);
  color: #ffffff;
  border-color: var(--brand-navy);
  box-shadow: 0 6px 18px rgba(26, 42, 74, 0.25);
  transform: translateY(-2px);
}

.synergy-card--justbanus:hover .synergy-cta-btn,
.synergy-card--justbanus .synergy-cta-btn:hover {
  background: var(--primary-gold);
  color: #ffffff;
  border-color: var(--primary-gold);
  box-shadow: 0 6px 18px rgba(184, 150, 90, 0.35);
  transform: translateY(-2px);
}

.group-crosslink-bar {
  margin-top: 40px;
  padding: 28px 36px;
  background: var(--brand-navy);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.group-crosslink-bar h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.group-crosslink-bar p {
  color: #d9d2c5;
  font-size: 0.95rem;
}

/* ==========================================================================
   BLOCK 4B: HOLIDAY RENTAL CONSULTATION ("Is holiday rental right for your property?")
   ========================================================================== */
.holiday-consultation-section {
  padding-block: 96px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #eae1d3 100%);
  border-top: 1px solid var(--border-light);
}

.consultation-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.consultation-copy h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  color: var(--brand-navy);
  margin-bottom: 18px;
}

.consultation-copy > p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-slate);
  margin-bottom: 28px;
}

.what-we-take-care-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.care-mini-card {
  background: rgb(255 255 255 / 80%);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--primary-gold);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.care-mini-card h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-navy);
  margin-bottom: 6px;
}

.care-mini-card p {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-slate);
}

.consultation-form-box {
  background: #ffffff;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 40px 38px;
  box-shadow: var(--shadow-md);
}

.consultation-form-box h3 {
  font-size: 1.45rem;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.consultation-form-box > p {
  font-size: 0.9rem;
  color: var(--text-slate);
  margin-bottom: 24px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* ==========================================================================
   EXISTING INTERIOR & SHARED COMPONENTS
   ========================================================================== */
.service-details {
  width: 100%;
  border-top: 1px solid var(--border-light);
  margin-block: 4px 12px;
  padding-top: 12px;
  font-size: 0.85rem;
}
.service-details summary {
  color: var(--primary-gold);
  cursor: pointer;
  font-weight: 600;
  padding-block: 4px;
}
.service-details ul {
  padding-left: 18px;
  color: var(--text-slate);
  margin-top: 14px;
}
.service-details li { padding-bottom: 8px; }

.photo-banner {
  position: relative;
  min-height: 460px;
  padding-block: 88px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--brand-navy);
}
.photo-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(19 34 56 / 88%), rgb(19 34 56 / 52%) 65%, rgb(19 34 56 / 20%));
}
.photo-banner-content { position: relative; z-index: 1; }
.photo-banner .badge-tag { color: #e5cda7; }
.photo-banner h2 {
  color: white;
  max-width: 680px;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  margin-bottom: 20px;
}
.photo-banner p {
  color: #edf5f9;
  max-width: 520px;
  margin-bottom: 28px;
}

.editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}
.editorial-photo { position: relative; min-width: 0; }
.editorial-photo > img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}
.photo-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 14px;
  background: rgb(253 251 247 / 95%);
  border-radius: 4px;
  color: var(--text-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}
.editorial-copy p { line-height: 1.85; margin-bottom: 20px; }
.check-list { list-style: none; margin-block: 24px; }
.check-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-slate);
  font-size: 0.92rem;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-gold);
  font-weight: 700;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.process-step {
  border-top: 2px solid var(--border-gold);
  padding-top: 26px;
}
.process-number {
  display: block;
  color: var(--primary-gold);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.process-step h3 { font-size: 1.2rem; margin-bottom: 12px; }
.process-step p { font-size: 0.92rem; line-height: 1.8; }

.page-banner {
  margin-top: var(--header-total);
  padding: 68px 0;
  background: linear-gradient(120deg, #f5efe4, #fdfbf7 70%);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}
.page-banner .badge-tag { margin-bottom: 16px; }
.page-banner h1 {
  font-size: clamp(2.15rem, 3.8vw, 3.35rem);
  max-width: 920px;
  margin: 0 auto 18px;
}
.page-banner p {
  max-width: 670px;
  font-size: 1rem;
  line-height: 1.8;
  margin-inline: auto;
}

.grid-2, .grid-3, .grid-4 { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2 > div, .grid-3 > div, .grid-4 > div { min-width: 0; }
.grid-2 img { display: block; width: 100%; object-fit: cover; }

.card, .service-block {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
}
.card p, .service-block p { font-size: 0.94rem; line-height: 1.8; }
.card-icon, .service-block-icon, .info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--brand-gold-soft);
  color: var(--primary-gold);
  margin-bottom: 18px;
}
.card-icon svg, .service-block-icon svg { width: 22px; height: 22px; }

.service-features-list { list-style: none; margin-top: 20px; }
.service-features-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--text-slate);
}
.service-features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-gold);
  font-weight: 700;
}

/* Contact & Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.contact-heading { font-size: 1.85rem; margin-bottom: 18px; }
.contact-copy, .contact-form-intro {
  color: var(--text-slate);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 26px;
}
.info-box-item { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
.info-icon { margin: 0; }
.contact-method-label { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.info-box-item .contact-copy { margin-bottom: 0; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 0.88rem; }
.contact-links a:hover { color: var(--primary-gold); text-decoration: underline; text-underline-offset: 4px; }
.contact-links a:last-child { color: var(--primary-gold); font-weight: 600; }
.contact-map { border: 1px solid var(--border-light); border-radius: 10px; overflow: hidden; margin-top: 30px; }
.contact-map iframe { display: block; }
.contact-form-card {
  padding: 38px;
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 0.78rem; font-weight: 600; margin-bottom: 6px; color: var(--text-dark); }
.form-control, .form-select {
  width: 100%;
  border: 1px solid #d5cab8;
  border-radius: 4px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #fdfbf7;
}
.form-control:focus, .form-select:focus {
  outline: 2px solid var(--primary-gold);
  outline-offset: 1px;
  background: #ffffff;
}
textarea.form-control { resize: vertical; min-height: 100px; }
.contact-submit { width: 100%; margin-top: 8px; }
.contact-form-note { font-size: 0.75rem; line-height: 1.6; color: var(--text-muted); margin-top: 12px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 16px; max-width: 840px; margin-inline: auto; }
.faq-item { border: 1px solid var(--border-light); border-radius: 8px; overflow: hidden; background: #fff; }
.faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border: 0;
  background: white;
  color: var(--text-dark);
  text-align: left;
  font-weight: 600;
  font-size: 0.98rem;
}
.faq-body { display: none; padding: 0 24px 24px; color: var(--text-slate); font-size: 0.94rem; }
.faq-item.active .faq-body { display: block; }

/* ==========================================================================
   SERINAMAR GROUP COMMON FOOTER
   ========================================================================== */
.footer {
  padding: 72px 0 28px;
  background: #f3ede2;
  border-top: 1px solid var(--border-gold);
  font-size: 0.82rem;
}

.footer-group-banner {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 36px;
  margin-bottom: 48px;
}

.footer-group-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 18px;
  margin-bottom: 24px;
}

.footer-group-header h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-navy);
}

.footer-group-header p {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--primary-gold);
  font-weight: 600;
}

.footer-group-companies {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-company-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  border-left: 2px solid var(--border-gold);
  transition: border-color var(--transition), background var(--transition);
}
.footer-company-item:hover {
  border-left-color: var(--primary-gold);
  background: var(--bg-main);
}
.footer-company-item strong {
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-navy);
}
.footer-company-item span {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-slate);
}
.footer-grid h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-navy);
  margin-bottom: 16px;
}
.footer-grid ul li a {
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}
.footer-bottom {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}
.footer-grid > div { min-width: 0; }
.footer-logo-img {
  height: 58px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  object-fit: contain;
}
.footer-grid p { font-size: 0.84rem; line-height: 1.85; max-width: 340px; }
.footer h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-navy);
  margin-bottom: 16px;
}
.footer a { color: var(--text-slate); transition: color var(--transition); }
.footer a:hover { color: var(--primary-gold); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.75rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgb(19 34 56 / 65%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
  position: relative;
  width: min(520px, calc(100% - 32px));
  max-height: 90svh;
  overflow: auto;
  border-radius: 12px;
  background: white;
  padding: 36px;
  border: 1px solid var(--border-gold);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
}

.reveal-pending { opacity: 0; transform: translateY(20px); transition: opacity 550ms ease, transform 550ms ease; }
.reveal-pending.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1320px) {
  .nav-menu { gap: 11px; }
  .nav-link { font-size: 0.68rem; }
}

@media (max-width: 1180px) {
  :root {
    --topbar-height: 30px;
    --nav-height: 76px;
  }
  .group-topbar-links { display: none; }
  .nav-menu { display: none; }
  .mobile-toggle { display: inline-flex; }
  .logo-wrapper img { height: 50px; }
  .mobile-drawer {
    position: fixed;
    top: var(--header-total);
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--header-total));
    overflow-y: auto;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-gold);
    box-shadow: var(--shadow-md);
    padding: 20px 32px 28px;
    z-index: 999;
    flex-direction: column;
  }
  .mobile-drawer.active:not([hidden]) { display: flex !important; }
  .mobile-drawer .nav-link {
    font-size: 0.9rem;
    padding: 13px 0;
    border-bottom: 1px solid var(--border-light);
    white-space: normal;
  }
  .mobile-drawer .nav-link.active::after { display: none; }
  .photo-services, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-synergy-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .independent-owners-box { grid-template-columns: 1fr; }
  .independent-owners-media { min-height: 280px; order: -1; }
  .consultation-split { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 820px) {
  .container { width: calc(100% - 44px); }
  .section-padding { padding-block: 72px; }
  .section-heading-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-heading-row > p { max-width: none; padding-bottom: 0; }
  .pillars-grid, .editorial-split, .contact-grid, .grid-2 { grid-template-columns: 1fr; gap: 32px !important; }
  .footer-group-companies { grid-template-columns: 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  :root {
    --topbar-height: 28px;
    --nav-height: 70px;
  }
  .container { width: calc(100% - 32px); }
  .nav-container { width: calc(100% - 28px); gap: 10px; }
  .group-topbar-badge span { display: none; }
  .logo-wrapper img { height: 44px; }
  .nav-actions > .btn-primary { display: none; }
  .jb-hero-section { height: auto; min-height: 560px; }
  .jb-hero-container { width: calc(100% - 32px); padding: 48px 0 88px; }
  .jb-hero-actions { flex-direction: column; align-items: stretch; }
  .intro-statement-card { padding: 36px 24px; }
  .pillar-bullets, .what-we-take-care-grid, .form-row-2, .photo-services, .process-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .independent-owners-copy { padding: 36px 24px; }
  .consultation-form-box { padding: 28px 22px; }
  .footer-group-banner { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-pending { opacity: 1; transform: none; }
}

/* ==========================================================================
   ANIMATED FLOATING WHATSAPP WIDGET (EXPANDS ON HOVER)
   ========================================================================== */
.whatsapp-floating-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1500;
  display: flex;
  align-items: center;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  background: #25d366;
  color: #ffffff !important;
  height: 56px;
  padding: 0 6px 0 6px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 26px rgb(37 211 102 / 38%), 0 4px 12px rgb(19 34 56 / 15%);
  transition: all 360ms cubic-bezier(0.34, 1.45, 0.64, 1);
  position: relative;
  text-decoration: none;
  border: 2px solid #ffffff;
  overflow: hidden;
  max-width: 56px; /* Initially circular: only icon visible */
  cursor: pointer;
}

.whatsapp-btn:hover,
.whatsapp-btn:focus-visible {
  background: #20bd5a;
  max-width: 260px; /* Expands smoothly on hover */
  padding: 0 18px 0 6px;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgb(37 211 102 / 48%), 0 8px 18px rgb(19 34 56 / 20%);
}

.whatsapp-pulse {
  position: absolute;
  inset: -6px;
  border-radius: var(--radius-full);
  background: rgb(37 211 102 / 40%);
  z-index: -1;
  animation: wa-pulse-ring 2.4s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes wa-pulse-ring {
  0% {
    transform: scale(0.92);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.22);
    opacity: 0;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.whatsapp-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgb(0 0 0 / 12%);
  animation: wa-subtle-bounce 3.8s ease-in-out infinite;
}

.whatsapp-svg {
  width: 25px;
  height: 25px;
}

@keyframes wa-subtle-bounce {
  0%, 100% { transform: translateY(0); }
  15% { transform: translateY(-3px) rotate(-6deg); }
  25% { transform: translateY(2px) rotate(4deg); }
  35% { transform: translateY(0); }
}

.whatsapp-label {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  margin-left: 10px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 280ms ease 40ms, transform 280ms ease 40ms;
  pointer-events: none;
}

.whatsapp-btn:hover .whatsapp-label,
.whatsapp-btn:focus-visible .whatsapp-label {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.whatsapp-label-top {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 90%);
}

.whatsapp-label-phone {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.whatsapp-online-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: #ffffff;
  box-shadow: 0 0 0 2px #25d366;
  margin-left: 8px;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 240ms ease;
  animation: wa-blink 1.8s ease-in-out infinite;
}

.whatsapp-btn:hover .whatsapp-online-dot,
.whatsapp-btn:focus-visible .whatsapp-online-dot {
  opacity: 1;
}

@keyframes wa-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

@media (max-width: 600px) {
  .whatsapp-floating-widget {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-btn {
    height: 50px;
    max-width: 50px;
    padding: 0 4px 0 4px;
  }
  .whatsapp-btn:hover,
  .whatsapp-btn:focus-visible {
    max-width: 230px;
    padding: 0 14px 0 4px;
  }
  .whatsapp-icon-wrap {
    width: 40px;
    height: 40px;
  }
  .whatsapp-svg {
    width: 22px;
    height: 22px;
  }
  .whatsapp-label-phone {
    font-size: 0.78rem;
  }
}
