/* ==========================================================================
   RC Consultancy — Design System
   ========================================================================== */

:root {
  /* Palette */
  --navy: #17263b;
  --navy-2: #223247;
  --cream: #fbf7f1;
  --cream-2: #f3ece0;
  --gold: #b8874a;
  --gold-light: #e4c89a;
  --sage: #6e8471;
  --sage-light: #d9e3d8;
  --ink: #1b2430;
  --slate: #5c6773;
  --slate-light: #8a93a0;
  --line: #e7dfd3;
  --white: #ffffff;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 2px 10px rgba(23, 38, 59, 0.06);
  --shadow-md: 0 12px 32px rgba(23, 38, 59, 0.10);
  --shadow-lg: 0 24px 60px rgba(23, 38, 59, 0.16);

  /* Layout */
  --container: 1180px;
  --nav-h: 84px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.01em;
}

p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

section { position: relative; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Type scale utilities
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.h1 { font-size: clamp(2.4rem, 4.4vw, 4.1rem); }
.h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); }

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--slate);
  max-width: 60ch;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(184, 135, 74, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(184, 135, 74, 0.42); }

.btn-outline {
  background: transparent;
  border-color: rgba(23, 38, 59, 0.18);
  color: var(--navy);
}
.btn-outline:hover { border-color: var(--navy); background: rgba(23, 38, 59, 0.04); }

.btn-outline.on-dark {
  border-color: rgba(251, 247, 241, 0.3);
  color: var(--cream);
}
.btn-outline.on-dark:hover { border-color: var(--cream); background: rgba(251, 247, 241, 0.08); }

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { transform: translateY(-2px); background: #20bd5a; }

.btn-sm { padding: 11px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}

.nav::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(251, 247, 241, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), opacity 0.4s var(--ease);
  z-index: -1;
}

.nav.scrolled::before { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav.scrolled { height: 72px; }

.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 600;
  color: var(--navy);
}

.brand-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--navy), var(--navy-2));
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  flex-shrink: 0;
}

.brand-full span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transition: right 0.35s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }

.nav-links a.active { color: var(--gold); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: calc(var(--nav-h) + 84px) 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -1;
  opacity: 0.55;
}
.hero-glow.g1 { width: 520px; height: 520px; top: -180px; right: -140px; background: radial-gradient(circle, var(--gold-light), transparent 70%); }
.hero-glow.g2 { width: 460px; height: 460px; bottom: -220px; left: -160px; background: radial-gradient(circle, var(--sage-light), transparent 70%); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero-copy .h1 { margin-bottom: 24px; }
.hero-copy .lede { margin-bottom: 36px; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-trustbar {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-item strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
}
.trust-item span {
  font-size: 0.84rem;
  color: var(--slate);
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
}

.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
}

.hero-card-main {
  inset: 6% 8%;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 60%, #1c2c40 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero-card-float {
  right: -6%;
  bottom: 6%;
  width: 58%;
  z-index: 2;
}

.hero-card-float-top {
  left: -8%;
  top: 8%;
  width: 46%;
  z-index: 2;
}

.route-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}
.route-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sage); flex-shrink: 0; }

.route-progress {
  margin-top: 12px;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--cream-2);
  overflow: hidden;
}
.route-progress span {
  display: block;
  height: 100%;
  width: 70%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--gold), var(--sage));
}

.stat-mini {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy);
}
.stat-mini small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: var(--slate);
  font-weight: 500;
  margin-top: 2px;
}

/* ==========================================================================
   Sections & bands
   ========================================================================== */

.section { padding: 108px 0; }
.section-tight { padding: 72px 0; }
.band-cream { background: var(--cream-2); }
.band-navy { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: var(--cream); }
.band-navy .h2, .band-navy h3 { color: var(--cream); }
.band-navy .lede { color: rgba(251, 247, 241, 0.72); }
.band-navy .eyebrow { color: var(--gold-light); }
.band-navy .eyebrow::before { background: var(--gold-light); }

.divider-motif {
  height: 64px;
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.5;
}

/* ==========================================================================
   Cards / grids
   ========================================================================== */

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

.card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 36px 30px;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }

.card-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--cream-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--gold);
}

.card h3 { margin-bottom: 12px; }
.card p { color: var(--slate); line-height: 1.65; font-size: 0.97rem; }

.step-card {
  position: relative;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 34px 28px;
  border: 1px solid var(--line);
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 18px;
}
.step-card h3 { margin-bottom: 10px; }
.step-card p { color: var(--slate); font-size: 0.95rem; line-height: 1.6; }

.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--sage-light);
  color: #435a46;
  font-size: 0.78rem;
  font-weight: 600;
}

.pill-tag.soon { background: var(--gold-light); color: #6b4c1f; }

/* ==========================================================================
   Service list (rental search support page)
   ========================================================================== */

.service-block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 26px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-child { border-bottom: none; }

.service-index {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
}

.service-block h3 { margin-bottom: 10px; }
.service-block p { color: var(--slate); line-height: 1.7; margin-bottom: 14px; max-width: 62ch; }

.check-list { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--ink);
}
.check-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--sage); }

/* ==========================================================================
   Quote / trust
   ========================================================================== */

.quote-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold-light);
  line-height: 0.6;
  margin-bottom: 18px;
}

blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.55;
  color: var(--navy);
}

.cite {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}
.cite-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--gold), var(--sage));
  flex-shrink: 0;
}
.cite strong { display: block; font-size: 0.95rem; color: var(--navy); }
.cite span { font-size: 0.84rem; color: var(--slate); }

.portrait-frame {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(165deg, var(--navy), var(--navy-2));
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--navy);
}
.faq-q .icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.faq-q .icon::before, .faq-q .icon::after {
  content: "";
  position: absolute;
  background: var(--navy);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq-q .icon::before { width: 12px; height: 1.6px; }
.faq-q .icon::after { width: 1.6px; height: 12px; }

.faq-item.open .faq-q .icon { background: var(--gold); border-color: var(--gold); }
.faq-item.open .faq-q .icon::before, .faq-item.open .faq-q .icon::after { background: var(--white); }
.faq-item.open .faq-q .icon::after { transform: rotate(90deg) scaleY(0); opacity: 0; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), padding 0.45s var(--ease);
}
.faq-a p {
  color: var(--slate);
  line-height: 1.7;
  padding-bottom: 26px;
  max-width: 68ch;
}
.faq-item.open .faq-a { max-height: 400px; }

/* ==========================================================================
   Forms
   ========================================================================== */

.form-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

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

.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 135, 74, 0.14);
}
.field textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.form-success.show { display: block; }
.form-success .icon-circle {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--sage-light);
  display: flex; align-items: center; justify-content: center;
  color: #3f5b42;
}

/* Contact channel cards */
.channel-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.channel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.channel-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.channel-icon.wa { background: #e4f9ec; color: #1fa952; }
.channel-icon.mail { background: var(--cream-2); color: var(--gold); }
.channel-card strong { display: block; color: var(--navy); margin-bottom: 2px; }
.channel-card span { font-size: 0.88rem; color: var(--slate); }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  border-radius: var(--r-lg);
  background: linear-gradient(155deg, var(--navy), var(--navy-2));
  padding: 72px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
  color: var(--cream);
}
.cta-band .h2 { color: var(--cream); margin-bottom: 12px; }
.cta-band p { color: rgba(251, 247, 241, 0.72); max-width: 46ch; }
.cta-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

.cta-band::after {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  right: -120px; top: -140px;
  background: radial-gradient(circle, rgba(228, 200, 154, 0.25), transparent 70%);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--navy);
  color: rgba(251, 247, 241, 0.68);
  padding: 76px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(251, 247, 241, 0.12);
}
.footer .brand { color: var(--cream); margin-bottom: 16px; }
.footer-about p { font-size: 0.92rem; line-height: 1.7; max-width: 34ch; }
.footer-col h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.93rem; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-top: 28px;
  font-size: 0.82rem;
}
.footer-bottom .disclaimer { max-width: 62ch; line-height: 1.6; opacity: 0.75; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(251, 247, 241, 0.18);
  display: flex; align-items: center; justify-content: center;
}

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */

.wa-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 15px 22px 15px 16px;
  border-radius: var(--r-pill);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.4);
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); }
.wa-float svg { flex-shrink: 0; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */

.page-hero {
  padding: calc(var(--nav-h) + 64px) 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero .section-head { margin-bottom: 0; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 22px;
}
.breadcrumb a:hover { color: var(--gold); }

/* ==========================================================================
   Reveal animation
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   Mobile menu panel
   ========================================================================== */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 110px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--navy);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 28px; }

/* ==========================================================================
   Reviews widget
   ========================================================================== */

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.reviews-summary strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-right: 6px;
}
.star-row { display: inline-flex; gap: 2px; vertical-align: middle; }

.review-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 28px;
  border: 1px solid var(--line);
}
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream-2);
  flex-shrink: 0;
}
.review-avatar-fallback {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, var(--gold), var(--sage));
  color: var(--white);
  font-weight: 600;
  font-family: var(--font-display);
}
.review-head strong { display: block; color: var(--navy); font-size: 0.95rem; }
.review-date { font-size: 0.8rem; color: var(--slate-light); }
.review-card p { color: var(--ink); font-size: 0.94rem; line-height: 1.65; margin-top: 10px; }

.review-widget {
  max-width: 640px;
  margin: 0 auto;
  background: var(--cream-2);
  border-radius: var(--r-lg);
  padding: 40px;
}

.star-input { display: flex; align-items: center; gap: 4px; }
.star-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--line);
  padding: 2px;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.star-btn:hover { transform: scale(1.12); }
.star-btn.filled { color: var(--gold); }

/* ==========================================================================
   Client property shortlist (public, code-gated)
   ========================================================================== */

.shortlist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.shortlist-card {
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  overflow: hidden;
}

.shortlist-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--cream-2);
  display: block;
}

.shortlist-photo { cursor: zoom-in; }

.shortlist-thumbs {
  display: flex;
  gap: 6px;
  padding: 10px 10px 0;
  overflow-x: auto;
}
.shortlist-thumbs img {
  width: 52px; height: 52px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  cursor: pointer;
  opacity: 0.55;
  border: 2px solid transparent;
  transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
}
.shortlist-thumbs img:hover { opacity: 0.85; }
.shortlist-thumbs img.active { opacity: 1; border-color: var(--gold); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 28, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.14);
  border: none;
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease);
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.26); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (max-width: 600px) {
  .lightbox { padding: 20px; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.4rem; }
}

.shortlist-body { padding: 22px; }
.shortlist-body h3 { margin-bottom: 6px; }
.shortlist-price {
  display: inline-block;
  font-weight: 600;
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.shortlist-body p { color: var(--slate); font-size: 0.92rem; line-height: 1.6; white-space: pre-line; }

/* ==========================================================================
   Admin dashboard
   ========================================================================== */

.admin-shell { min-height: 100vh; background: var(--cream); }
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.admin-tabs { display: flex; gap: 10px; padding: 24px 32px 0; }
.admin-tab {
  padding: 10px 20px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate);
}
.admin-tab.active { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.admin-list { padding: 24px 32px 60px; display: flex; flex-direction: column; gap: 16px; max-width: 900px; }
.admin-row {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 26px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.admin-row-actions { display: flex; gap: 10px; flex-shrink: 0; }
.admin-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  text-align: center;
  padding: 24px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; order: -1; }
  .grid-3, .grid-2, .steps-row, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .quote-block { grid-template-columns: 1fr; gap: 36px; }
  .quote-block .portrait-frame { max-width: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .cta-band { flex-direction: column; text-align: center; align-items: center; }
  .cta-band p { max-width: none; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 76px 0; }
  .grid-3, .grid-2, .steps-row, .grid-4 { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 30px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero { padding-top: calc(var(--nav-h) + 50px); }
  .cta-band { padding: 48px 28px; }
  .wa-float span { display: none; }
  .wa-float { padding: 15px; }
  .review-widget { padding: 26px 20px; }
  .shortlist-grid { grid-template-columns: 1fr; }
  .admin-topbar, .admin-tabs, .admin-list { padding-left: 18px; padding-right: 18px; }
  .admin-row { flex-direction: column; }
}
