@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700&family=Mulish:wght@400;500;600;700&display=swap');
/* ============================================================
   Panel Development Partners — paneldevelopment.com
   Brand system: "Visibility that grows your business"
   Navy #071A33 · Blue #2E7CF6 · Cyan #29C7F2
   Type: Sora (display) + Inter (text)
   ============================================================ */

:root {
  --navy-900: #071A33;
  --navy-800: #0A2145;
  --navy-700: #0C2E5C;
  --blue-500: #2E7CF6;
  --blue-600: #1F63D4;
  --cyan-400: #29C7F2;
  --ink: #1C2B42;
  --slate: #4A5B75;
  --slate-light: #8494AC;
  --line: #DCE4F0;
  --bg-light: #F4F7FC;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(7, 26, 51, 0.10);
  --shadow-lg: 0 18px 50px rgba(7, 26, 51, 0.16);
  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-text: 'Mulish', 'Inter', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-text);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue-500); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; color: var(--navy-900); }

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 600; }

.accent { color: var(--blue-500); }
.accent-cyan { color: var(--cyan-400); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex; align-items: center; justify-content: flex-start; gap: 40px;
  padding: 14px 0;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 54px; width: auto; display: block; }
.site-footer .brand-logo {
  background: var(--white); padding: 12px 16px; border-radius: 10px;
  height: 50px; box-sizing: content-box;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.98rem; line-height: 1.15;
  color: var(--white); text-transform: uppercase; letter-spacing: 0.04em;
  font-style: italic;
}
.brand-name span { color: var(--cyan-400); }

.main-nav { display: flex; align-items: center; gap: 34px; flex: 1; }
.main-nav > .btn-primary { margin-left: auto; }
.main-nav a {
  color: var(--ink); font-family: 'Manrope', 'Segoe UI', sans-serif; font-size: 0.92rem; font-weight: 600; letter-spacing: 0.005em;
}
.main-nav a:hover { color: var(--blue-500); text-decoration: none; }
.main-nav .btn-primary, .main-nav .btn-primary:hover { color: var(--white); }

.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: " ▾"; font-size: 0.7em; }
.dropdown-menu {
  position: absolute; top: 100%; left: -12px; min-width: 250px;
  background: var(--white); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all 0.18s ease;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: var(--ink) !important; font-weight: 500;
}
.dropdown-menu a:hover { background: var(--bg-light); color: var(--blue-500) !important; }

.btn {
  display: inline-block; padding: 13px 28px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; transition: all 0.18s ease; border: 2px solid transparent;
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue-500); color: var(--white); }
.btn-primary:hover { background: var(--blue-600); box-shadow: 0 8px 24px rgba(46,124,246,0.35); }
.btn-outline-light { border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn-outline-light:hover { border-color: var(--cyan-400); color: var(--cyan-400); }
.btn-outline { border-color: var(--blue-500); color: var(--blue-500); }
.btn-outline:hover { background: var(--blue-500); color: var(--white); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 24px; height: 2px;
  background: var(--navy-900); position: absolute; left: 8px; transition: all 0.2s;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(90deg, var(--navy-900) 34%, rgba(7,26,51,0.92) 50%, rgba(7,26,51,0.38) 74%, rgba(7,26,51,0.06) 100%),
    url("../images/miami-skyline.jpg") right center / auto 100% no-repeat,
    radial-gradient(ellipse at 15% 85%, rgba(41,199,242,0.14), transparent 50%),
    var(--navy-900);
  color: var(--white);
  padding: 96px 0 80px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, black, transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 720px; }
.hero h1 .accent { color: var(--cyan-400); }
.hero .lede {
  font-size: 1.2rem; color: rgba(255,255,255,0.82);
  max-width: 640px; margin: 22px 0 34px;
}
.hero .lede strong { color: var(--cyan-400); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.eyebrow {
  display: inline-block; font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--cyan-400); margin-bottom: 16px;
}
.eyebrow--dark { color: var(--blue-500); }

/* ---------- Hero search demo ---------- */
.hero-search { margin: 28px 0 34px; max-width: 480px; }
.hero-search-bar {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.96); border-radius: 999px;
  padding: 13px 20px; box-shadow: 0 10px 30px rgba(7, 26, 51, 0.35);
}
.hero-search-bar svg { flex-shrink: 0; }
.hero-search-text {
  font-size: 0.98rem; color: var(--ink);
  white-space: nowrap; overflow: hidden;
}
.hero-search-caret {
  flex-shrink: 0; width: 2px; height: 18px;
  background: var(--blue-500);
  animation: caret-blink 1s steps(1) infinite;
}
.hero-serp { position: relative; height: 168px; margin-top: 14px; }
.serp-row {
  position: absolute; left: 0; right: 0; height: 48px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(16, 40, 78, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm); padding: 0 14px;
  transition: transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
              opacity 0.3s ease, border-color 0.4s ease, background-color 0.4s ease;
}
.serp-you { z-index: 2; }
.serp-row.slot-0 { transform: translateY(0); }
.serp-row.slot-1 { transform: translateY(56px); }
.serp-row.slot-2 { transform: translateY(112px); }
.hero-serp.off .serp-row { opacity: 0; }
.serp-pos {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 700;
  background: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.7);
}
.serp-name { color: rgba(255, 255, 255, 0.85); font-weight: 600; font-size: 0.88rem; line-height: 1.25; }
.serp-meta { color: rgba(255, 255, 255, 0.5); font-size: 0.75rem; line-height: 1.25; }
.serp-you .serp-name { color: var(--white); }
.serp-you.glow {
  border-color: rgba(41, 199, 242, 0.75);
  background: rgba(20, 58, 96, 0.96);
  box-shadow: 0 6px 24px rgba(41, 199, 242, 0.18);
}
.serp-you.glow .serp-pos { background: var(--cyan-400); color: var(--navy-900); }
.serp-up {
  margin-left: auto; flex-shrink: 0;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  color: var(--cyan-400); opacity: 0; transform: translateY(4px);
  transition: opacity 0.4s 0.45s ease, transform 0.4s 0.45s ease;
}
.serp-you.glow .serp-up { opacity: 1; transform: none; }
@keyframes caret-blink { 50% { opacity: 0; } }

.hero-badges { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 48px; }
.hero-badge { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.hero-badge svg { flex-shrink: 0; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--light { background: var(--bg-light); }
.section--navy { background: var(--navy-900); color: rgba(255,255,255,0.85); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-head { margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--slate); margin-top: 14px; font-size: 1.06rem; }
.section--navy .section-head p { color: rgba(255,255,255,0.75); }

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

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(46, 124, 246, 0.45); }
.card h3 { margin: 18px 0 10px; }
.card p { color: var(--slate); font-size: 0.98rem; }
.card .card-link { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 0.95rem; }
.card .card-link::after { content: ' →'; }

.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(46,124,246,0.12), rgba(41,199,242,0.12));
  display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 26px; height: 26px; }

/* ---------- Stats ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat-number {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700;
  color: var(--cyan-400); line-height: 1;
}
.stat-label { margin-top: 10px; font-size: 0.95rem; color: rgba(255,255,255,0.75); }
.stat-source { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-top: 6px; }

/* ---------- Process / steps ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: none; }
.step-num {
  counter-increment: step; flex-shrink: 0;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-900); color: var(--cyan-400);
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.step-num::before { content: counter(step, decimal-leading-zero); }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--slate); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; }
.checklist li {
  padding: 10px 0 10px 36px; position: relative; color: var(--slate);
}
.checklist li strong { color: var(--ink); }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-500);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat, linear-gradient(#000,#000);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat, linear-gradient(#000,#000);
  -webkit-mask-composite: xor; mask-composite: exclude;
  background: var(--blue-500);
  border-radius: 50%;
}
.section--navy .checklist li { color: rgba(255,255,255,0.8); }
.section--navy .checklist li strong { color: var(--white); }
.section--navy .checklist li::before { background: var(--cyan-400); }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.split:has(.split-content > .eyebrow) > :not(.split-content) { margin-top: 43px; }
.split-content p { color: var(--slate); margin-bottom: 16px; }
.section--navy .split-content p { color: rgba(255,255,255,0.78); }

/* ---------- Portfolio / brand cards ---------- */
.brand-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px; display: flex; flex-direction: column; gap: 14px;
}
.brand-card .tag {
  align-self: flex-start; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  background: rgba(46,124,246,0.1); color: var(--blue-500);
  padding: 5px 12px; border-radius: 999px;
}
.brand-card h3 { font-size: 1.35rem; }
.brand-card p { color: var(--slate); font-size: 0.98rem; flex-grow: 1; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(41,199,242,0.2), transparent 55%),
    linear-gradient(120deg, var(--navy-800), var(--navy-900));
  border-radius: 20px; padding: 64px 56px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); max-width: 520px; }
.cta-band p { color: rgba(255,255,255,0.75); margin-top: 10px; max-width: 520px; }

/* ---------- Founder strip ---------- */
.founder-strip {
  display: flex; gap: 32px; align-items: center;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 40px;
}
.founder-photo {
  width: 130px; height: 130px; border-radius: 50%; object-fit: cover;
  border: 4px solid rgba(46,124,246,0.25); flex-shrink: 0;
}
.founder-strip blockquote {
  font-size: 1.12rem; color: var(--ink); font-style: italic; margin-bottom: 12px;
}
.founder-strip cite { font-style: normal; color: var(--slate); font-size: 0.95rem; }
.founder-strip cite strong { color: var(--navy-900); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--navy-900); }
input, select, textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); font-family: var(--font-text); font-size: 1rem;
  color: var(--ink); background: var(--white); transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-500); }
textarea { resize: vertical; min-height: 130px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Contact info ---------- */
.info-list { list-style: none; }
.info-list li { display: flex; gap: 14px; padding: 12px 0; align-items: flex-start; }
.info-list svg { flex-shrink: 0; margin-top: 3px; }
.info-list a { font-weight: 600; }
.info-list .muted { color: var(--slate); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding: 44px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px 46px; margin-bottom: 24px; }
.footer-grid h4 {
  color: rgba(255,255,255,0.55); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.16em; margin-bottom: 13px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 7px; }
.footer-grid a { color: rgba(255,255,255,0.66); font-size: 0.88rem; }
.footer-grid a:hover { color: var(--cyan-400); text-decoration: none; }
.footer-about p { font-size: 0.88rem; margin-top: 14px; max-width: 260px; line-height: 1.6; color: rgba(255,255,255,0.58); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background:
    radial-gradient(ellipse at 80% 30%, rgba(46,124,246,0.25), transparent 55%),
    var(--navy-900);
  color: var(--white); padding: 72px 0 56px;
}
.page-hero h1 { color: var(--white); }
.page-hero .lede { font-size: 1.15rem; color: rgba(255,255,255,0.8); margin-top: 18px; }
.breadcrumbs { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
.breadcrumbs a { color: rgba(255,255,255,0.7); }

/* ---------- Prose (long-form) ---------- */
.prose { max-width: none; }
.prose h2 { margin: 44px 0 16px; }
.prose .eyebrow + h2 { margin-top: 0; }
.prose h3 { margin: 30px 0 12px; }
.prose p { color: var(--slate); margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: var(--slate); }
.prose li { margin-bottom: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split:has(.split-content > .eyebrow) > :not(.split-content) { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 64px 0 56px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .founder-strip { flex-direction: column; text-align: center; }
  .cta-band { padding: 44px 28px; }

  .hero {
    background:
      linear-gradient(180deg, rgba(7,26,51,0.9) 0%, rgba(7,26,51,0.96) 100%),
      url("../images/miami-skyline.jpg") right center / cover no-repeat,
      var(--navy-900);
  }

  .nav-toggle { display: block; }
  .header-inner { justify-content: space-between; gap: 0; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 16px 24px 24px; gap: 4px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; font-size: 1.05rem; }
  .main-nav .btn { text-align: center; margin-top: 10px; }
  .brand-logo { height: 44px; }
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; box-shadow: none; padding: 0 0 0 16px; min-width: 0;
  }
  .dropdown-menu a { color: var(--slate) !important; padding: 8px 0; }
  .dropdown-menu a:hover { background: none; color: var(--blue-500) !important; }
}

@media (max-width: 480px) {
  .stats-band { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Elegant motion ---------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }

.site-header { transition: box-shadow 0.25s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(7, 26, 51, 0.10); }

.card-icon { transition: transform 0.25s ease; }
.card:hover .card-icon { transform: scale(1.08); }

/* Cursor-tracking glow on cards (position set by JS via --mx/--my) */
.card { position: relative; }
.card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%),
              rgba(41, 199, 242, 0.12), transparent 65%);
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.card:hover::after { opacity: 1; }

/* Shine sweep on primary buttons */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg) translateX(0); pointer-events: none;
  transition: transform 0.55s ease;
}
.btn-primary:hover::before { transform: skewX(-20deg) translateX(420%); }

.main-nav > a:not(.btn) { position: relative; }
.main-nav > a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -5px;
  width: 0; height: 2px; border-radius: 2px;
  background: var(--blue-500); transition: width 0.25s ease;
}
.main-nav > a:not(.btn):hover::after { width: 100%; }

.founder-photo { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.founder-strip:hover .founder-photo { transform: scale(1.03); box-shadow: 0 8px 28px rgba(46, 124, 246, 0.25); }

.read-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .hero-search-caret { animation: none; }
  .serp-row, .serp-up { transition: none !important; }
  .btn-primary::before { display: none; }
}

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-display); font-weight: 600;
  color: var(--navy-900); font-size: 1.02rem; line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.5rem; line-height: 1; color: var(--blue-500);
  flex-shrink: 0; transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--blue-500); }
.faq-body { padding: 0 22px 20px; color: var(--slate); }
.faq-body p { margin-bottom: 12px; }
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- Navigation orientation ---------- */
.main-nav > a.active:not(.btn) { color: var(--blue-500); }
.main-nav > a.active:not(.btn)::after { width: 100%; }
.nav-dropdown > a.active { color: var(--blue-500); font-weight: 600; }
.dropdown-menu a.active { background: var(--bg-light); color: var(--blue-500) !important; }

.header-page-label {
  display: none;
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  color: var(--slate);
  margin-left: 18px; margin-right: auto; padding-left: 18px;
  border-left: 2px solid var(--line);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 280px;
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.site-header.scrolled .header-page-label { opacity: 1; transform: none; }
@media (min-width: 961px) { .header-page-label { display: none; } }

/* ---------- Featured service card (GBP) ---------- */
.card--featured {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(41,199,242,0.16), transparent 55%),
    linear-gradient(120deg, var(--navy-800), var(--navy-900));
  border: none; padding: 42px 40px;
}
.card--featured:hover { transform: none; box-shadow: var(--shadow-lg); }
.card--featured h3 { color: var(--white); font-size: 1.5rem; margin: 14px 0 12px; }
.card--featured p { color: rgba(255,255,255,0.8); }
.card--featured .card-link { color: var(--cyan-400); }
.card--featured .checklist li { color: rgba(255,255,255,0.82); }
.card--featured .checklist li strong { color: var(--white); }
.card--featured .checklist li::before { background: var(--cyan-400); }
.featured-tag {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.09em;
  background: rgba(41,199,242,0.15); color: var(--cyan-400);
  padding: 5px 12px; border-radius: 999px;
}
@media (max-width: 860px) {
  .card--featured { grid-template-columns: 1fr; padding: 32px 26px; }
}

/* ---------- Proof table (Moz visibility) ---------- */
.proof-table-wrap {
  overflow-x: auto; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 40px;
}
.proof-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; min-width: 540px; }
.proof-table caption {
  caption-side: bottom; text-align: left;
  font-size: 0.82rem; color: var(--slate-light); padding: 14px 22px;
  border-top: 1px solid var(--line);
}
.proof-table th {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate);
  text-align: left; padding: 16px 22px; border-bottom: 2px solid var(--line);
}
.proof-table td { padding: 14px 22px; border-bottom: 1px solid var(--line); color: var(--slate); }
.proof-table tbody tr:last-child td { border-bottom: none; }
.proof-table th:nth-child(2), .proof-table td:nth-child(2),
.proof-table th:nth-child(3), .proof-table td:nth-child(3) { text-align: right; }
.proof-table .is-us td {
  background: rgba(46,124,246,0.14); color: var(--navy-900); font-weight: 600;
}
.proof-table .is-us td:first-child { border-left: 4px solid var(--blue-500); }

/* Anchor targets land below the sticky header */
section[id], [id="faq"], [id="services"], [id="allied"] { scroll-margin-top: 96px; }

/* ---------- Agents page ---------- */
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 40px; margin-top: 44px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-stat { min-width: 120px; }
.hero-stat .num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 2.4rem; line-height: 1; color: var(--cyan-400);
}
.hero-stat .lbl { margin-top: 8px; font-size: 0.9rem; color: rgba(255,255,255,0.72); max-width: 180px; }

.founder-feature {
  display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center;
}
.founder-feature img {
  width: 100%; border-radius: var(--radius); object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.section--navy .founder-feature img { box-shadow: 0 18px 50px rgba(0,0,0,0.4); }

.image-band {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  position: relative;
}
.image-band img { width: 100%; display: block; }

.testimonial-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.testimonial-card .quote { color: var(--ink); font-size: 1.04rem; font-style: italic; line-height: 1.6; }
.testimonial-card .stars { color: #F5A623; letter-spacing: 2px; font-size: 1rem; }
.testimonial-person { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testimonial-person .avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
}
.testimonial-person .who strong { display: block; color: var(--navy-900); font-size: 0.98rem; }
.testimonial-person .who span { color: var(--slate); font-size: 0.86rem; }
.placeholder-note {
  background: rgba(245,166,35,0.1); border: 1px dashed rgba(245,166,35,0.5);
  border-radius: var(--radius-sm); padding: 14px 18px; color: #9a6a00;
  font-size: 0.9rem; margin-top: 24px; text-align: center;
}

.lang-switch { display: inline-flex; align-items: center; margin-left: 18px; font-family: var(--font-display); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.02em; }
.lang-switch a { color: var(--slate-light); padding: 0 2px; transition: color 0.18s ease; }
.main-nav .lang-switch a { font-family: var(--font-display); font-size: 0.72rem; font-weight: 500; }
.lang-switch a.on { color: var(--navy-900); }
.lang-switch a:hover { text-decoration: none; color: var(--blue-500); }
.lang-switch a:first-child::after { content: "\00B7"; color: var(--slate-light); margin: 0 9px; font-weight: 400; }

@media (max-width: 860px) {
  .founder-feature { grid-template-columns: 1fr; gap: 28px; }
  .founder-feature img { max-width: 320px; }
  .hero-stats { gap: 26px; }
  .hero-stat .num { font-size: 2rem; }
}

/* Agents hero: brand gradient, no city photo */
.hero--agents {
  background:
    radial-gradient(ellipse at 80% 12%, rgba(41,199,242,0.22), transparent 55%),
    radial-gradient(ellipse at 15% 92%, rgba(46,124,246,0.20), transparent 55%),
    linear-gradient(120deg, var(--navy-800) 0%, var(--navy-900) 70%);
}
.image-band-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 32px; color: #fff;
  background: linear-gradient(0deg, rgba(7,26,51,0.85), transparent);
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
}

/* ---------- Agents hero two-column + rank demo ---------- */
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }

.rankdemo {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px; padding: 18px; box-shadow: 0 30px 60px rgba(0,0,0,0.42);
}
.rankdemo-bar {
  display: flex; align-items: center; gap: 10px; background: #fff;
  border-radius: 999px; padding: 12px 18px; color: var(--ink); font-size: 0.95rem;
}
.rankdemo-bar .rk-caret { width: 2px; height: 17px; background: var(--blue-500); animation: rkcaret 1s steps(1) infinite; }
@keyframes rkcaret { 50% { opacity: 0; } }
.rankdemo-results { position: relative; height: 300px; margin-top: 14px; }
.rankrow {
  position: absolute; left: 0; right: 0; height: 66px;
  display: flex; gap: 12px; align-items: center;
  background: #fff; border-radius: 12px; padding: 12px 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.16);
  transition: transform 0.75s cubic-bezier(0.22,0.61,0.36,1), box-shadow 0.4s ease;
}
.rankrow .rk-fav { width: 30px; height: 30px; border-radius: 7px; background: #E7EDF6; flex-shrink: 0; }
.rankrow .rk-lines { flex: 1; min-width: 0; }
.rankrow .rk-name { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 0.9rem; }
.rankrow .rk-url { height: 7px; width: 46%; background: #B9C6D8; border-radius: 4px; margin-top: 8px; }
.rankrow .rk-rank { font-family: var(--font-display); font-weight: 700; color: var(--slate-light); font-size: 0.95rem; flex-shrink: 0; }
.rankrow.you { border: 2px solid var(--cyan-400); box-shadow: 0 10px 28px rgba(41,199,242,0.4); }
.rankrow.you .rk-fav { background: linear-gradient(135deg, var(--blue-500), var(--cyan-400)); }
.rankrow.you .rk-name { color: var(--navy-900); }
.rankrow.you .rk-rank { color: #12B76A; }
.rankrow .rk-up { color: #12B76A; font-size: 0.8rem; opacity: 0; transition: opacity 0.4s ease; }
.rankrow.you.top .rk-up { opacity: 1; }
.rankdemo-cap { color: rgba(255,255,255,0.6); font-size: 0.82rem; margin-top: 14px; text-align: center; }

/* ---------- Animated visibility bars ---------- */
.vizbar-row { display: grid; grid-template-columns: 190px 1fr 58px; align-items: center; gap: 16px; margin-bottom: 14px; }
.vizbar-label { font-weight: 600; color: var(--slate); font-size: 0.94rem; }
.vizbar-label small { display: block; color: var(--slate-light); font-weight: 500; font-size: 0.78rem; }
.vizbar-track { background: var(--line); border-radius: 999px; height: 28px; overflow: hidden; }
.vizbar-fill { height: 100%; width: 0; border-radius: 999px; background: var(--slate-light); transition: width 1.3s cubic-bezier(0.22,0.61,0.36,1); }
.vizbar-row.you .vizbar-label { color: var(--navy-900); font-weight: 700; }
.vizbar-row.you .vizbar-fill { background: linear-gradient(90deg, var(--blue-500), var(--cyan-400)); }
.vizbar-val { font-family: var(--font-display); font-weight: 700; color: var(--slate); text-align: right; }
.vizbar-row.you .vizbar-val { color: var(--blue-500); }
@media (max-width: 620px) { .vizbar-row { grid-template-columns: 120px 1fr 46px; gap: 10px; } .vizbar-label small { display: none; } }

/* ============ Agents page: elegance pass ============ */
.hero--agents { background:
    radial-gradient(ellipse at 82% 8%, rgba(41,199,242,0.16), transparent 58%),
    radial-gradient(ellipse at 12% 96%, rgba(46,124,246,0.16), transparent 58%),
    linear-gradient(125deg, #0B2650 0%, var(--navy-900) 72%);
}
.hero--agents h1 { letter-spacing: -0.025em; line-height: 1.08; }
.hero--agents .lede { color: rgba(255,255,255,0.78); font-weight: 400; }

.hero-stats { gap: 46px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.10); }
.hero-stat .num { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.02em; }
.hero-stat .lbl { font-size: 0.86rem; color: rgba(255,255,255,0.62); line-height: 1.4; }

/* Rank demo: calmer, more premium */
.rankdemo {
  padding: 20px; border-radius: 20px;
  background: rgba(255,255,255,0.055); border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 40px 90px rgba(0,0,0,0.42); backdrop-filter: blur(3px);
}
.rankdemo-bar { padding: 13px 20px; box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.rankrow {
  height: 64px; border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 3px 14px rgba(7,26,51,0.10);
  transition: transform 1s cubic-bezier(0.16,1,0.3,1), box-shadow 0.6s ease;
}
.rankrow:nth-child(2) { transition-delay: 0.05s; }
.rankrow:nth-child(3) { transition-delay: 0.10s; }
.rankrow:nth-child(4) { transition-delay: 0.15s; }
.rankrow .rk-name { font-weight: 600; font-size: 0.88rem; letter-spacing: -0.01em; }
.rankrow.you { border: 1.5px solid rgba(41,199,242,0.8); box-shadow: 0 10px 30px rgba(41,199,242,0.22); }
.rankrow.you.top { box-shadow: 0 18px 46px rgba(41,199,242,0.4); }
.rankdemo-cap { color: rgba(255,255,255,0.55); font-size: 0.8rem; letter-spacing: 0.01em; }

/* Visibility bars: thinner, refined */
.vizbar-track { height: 22px; background: #E9EEF6; }
.vizbar-fill { transition: width 1.5s cubic-bezier(0.16,1,0.3,1); }
.vizbar-label { font-size: 0.92rem; }
.vizbar-val { font-size: 1.02rem; }

/* Testimonials: refined placeholder */
.testimonial-card { padding: 32px 30px; box-shadow: 0 4px 20px rgba(7,26,51,0.05); position: relative; }
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 14px; right: 24px;
  font-family: Georgia, serif; font-size: 3.4rem; line-height: 1;
  color: var(--blue-500); opacity: 0.14;
}
.testimonial-card .quote { color: var(--slate); font-size: 1.02rem; line-height: 1.62; }
.testimonial-person .avatar { background: linear-gradient(135deg, var(--navy-700), var(--blue-500)); opacity: 0.9; }
.placeholder-note {
  background: none; border: none; color: var(--slate-light);
  font-size: 0.85rem; margin-top: 20px; letter-spacing: 0.01em;
}

/* Softer, more premium card + section rhythm */
.card { box-shadow: 0 4px 20px rgba(7,26,51,0.04); }
.card:hover { box-shadow: 0 16px 40px rgba(7,26,51,0.10); }
.image-band { box-shadow: 0 24px 60px rgba(7,26,51,0.18); }
.section-head p { color: var(--slate); }

/* ---------- Agents hero: success photo + floating proof card ---------- */
.hero-visual { position: relative; }
.hero-photo {
  width: 100%; border-radius: 22px; display: block;
  box-shadow: 0 40px 90px rgba(0,0,0,0.45);
}
.hero-visual .rankdemo {
  position: absolute; left: -66px; bottom: 26px; width: 330px;
  padding: 16px; border-radius: 18px;
  background: rgba(9, 28, 56, 0.86);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}
.hero-visual .rankdemo-bar { padding: 10px 14px; font-size: 0.86rem; }
.hero-visual .rankdemo-results { height: 214px; margin-top: 11px; }
.hero-visual .rankrow { height: 48px; padding: 9px 12px; border-radius: 11px; }
.hero-visual .rankrow .rk-fav { width: 22px; height: 22px; border-radius: 6px; }
.hero-visual .rankrow .rk-name { font-size: 0.78rem; }
.hero-visual .rankrow .rk-url { height: 5px; margin-top: 6px; }
.hero-visual .rankrow .rk-rank { font-size: 0.82rem; }
.hero-visual .rankdemo-cap { font-size: 0.72rem; margin-top: 11px; }

@media (max-width: 1100px) {
  .hero-visual .rankdemo { left: -20px; width: 300px; }
}
@media (max-width: 900px) {
  .hero-visual .rankdemo {
    position: static; width: 100%; margin-top: 18px;
    left: auto; bottom: auto;
  }
}

/* ---------- Agents hero v2: full-bleed success photo, floating proof card ---------- */
.hero--agents {
  background:
    linear-gradient(90deg, var(--navy-900) 24%, rgba(7,26,51,0.94) 40%, rgba(7,26,51,0.50) 56%, rgba(7,26,51,0.10) 76%, rgba(7,26,51,0) 100%),
    url("../images/hero-pdp-agent.jpg") right center / cover no-repeat,
    linear-gradient(125deg, #0B2650 0%, var(--navy-900) 70%);
  padding: 88px 0 72px;
}
.hero--agents::after { display: none; }
.hero-copy { max-width: 560px; position: relative; z-index: 2; }
.hero--agents .rankdemo {
  position: absolute; right: 286px; top: 6px; width: 316px; z-index: 3;
  padding: 16px; border-radius: 18px;
  background: rgba(9, 28, 56, 0.88);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}
.hero--agents .rankdemo-bar { padding: 10px 14px; font-size: 0.84rem; }
.hero--agents .rankdemo-results { height: 210px; margin-top: 11px; }
.hero--agents .rankrow { height: 46px; padding: 8px 12px; border-radius: 11px; }
.hero--agents .rankrow .rk-fav { width: 22px; height: 22px; border-radius: 6px; }
.hero--agents .rankrow .rk-name { font-size: 0.77rem; }
.hero--agents .rankrow .rk-url { height: 5px; margin-top: 5px; width: 42%; }
.hero--agents .rankrow .rk-rank { font-size: 0.8rem; }
.hero--agents .rankdemo-cap { font-size: 0.71rem; margin-top: 10px; }
.hero--agents .hero-stats { position: relative; z-index: 2; margin-top: 40px; }

@media (max-width: 1240px) { .hero--agents .rankdemo { right: 180px; width: 300px; } }
@media (max-width: 1040px) { .hero--agents .rankdemo { right: 24px; width: 290px; } }
@media (max-width: 900px) {
  .hero--agents {
    background:
      linear-gradient(180deg, rgba(7,26,51,0.90) 0%, rgba(7,26,51,0.96) 60%, var(--navy-900) 100%),
      url("../images/hero-pdp-agent.jpg") center top / cover no-repeat,
      var(--navy-900);
  }
  .hero--agents .rankdemo { position: static; width: 100%; margin-top: 26px; }
  .hero-copy { max-width: 100%; }
}

/* Agents hero v3: photo shown full-height on the right, not over-cropped */
.hero--agents {
  background:
    linear-gradient(90deg, var(--navy-900) 32%, rgba(7,26,51,0.95) 47%, rgba(7,26,51,0.55) 60%, rgba(7,26,51,0.12) 78%, rgba(7,26,51,0) 100%),
    url("../images/hero-pdp-agent.jpg") right center / auto 100% no-repeat,
    linear-gradient(125deg, #0B2650 0%, var(--navy-900) 70%);
  min-height: 620px;
  display: flex; align-items: center;
}
.hero--agents .hero-stats { max-width: 570px; gap: 26px 38px; }
.hero--agents .hero-stat { min-width: 108px; flex: 1 1 40%; }
.hero--agents .hero-stat .lbl { max-width: 220px; }

@media (max-width: 900px) {
  .hero--agents {
    min-height: 0; display: block;
    background:
      linear-gradient(180deg, rgba(7,26,51,0.88) 0%, rgba(7,26,51,0.95) 55%, var(--navy-900) 100%),
      url("../images/hero-pdp-agent.jpg") center top / cover no-repeat,
      var(--navy-900);
  }
  .hero--agents .hero-stats { max-width: 100%; }
}

/* Agents hero v4: compact proof card seated in the clear band, never over copy or subject */
.hero-copy { max-width: 520px; }
.hero--agents .rankdemo {
  right: 344px; top: 50%; transform: translateY(-50%);
  width: 252px; padding: 13px; border-radius: 16px;
}
.hero--agents .rankdemo-bar { padding: 8px 12px; font-size: 0.75rem; gap: 8px; }
.hero--agents .rankdemo-results { height: 192px; margin-top: 9px; }
.hero--agents .rankrow { height: 42px; padding: 7px 10px; border-radius: 10px; gap: 9px; }
.hero--agents .rankrow .rk-fav { width: 18px; height: 18px; border-radius: 5px; }
.hero--agents .rankrow .rk-name { font-size: 0.72rem; }
.hero--agents .rankrow .rk-url { height: 4px; margin-top: 5px; width: 40%; }
.hero--agents .rankrow .rk-rank { font-size: 0.75rem; }
.hero--agents .rankdemo-cap { font-size: 0.68rem; margin-top: 9px; line-height: 1.4; }

@media (max-width: 1240px) { .hero--agents .rankdemo { right: 292px; width: 240px; } .hero-copy { max-width: 470px; } }
@media (max-width: 1120px) { .hero--agents .rankdemo { right: 240px; width: 228px; } .hero-copy { max-width: 420px; } }
@media (max-width: 1040px) {
  .hero--agents .rankdemo { position: static; transform: none; width: 100%; max-width: 420px; margin-top: 28px; }
  .hero-copy { max-width: 100%; }
}

/* Fix: keep the container full width inside the flex hero (was collapsing and breaking card placement) */
.hero--agents > .container { width: 100%; }
.hero--agents .hero-stats { max-width: 520px; }

/* Mobile hero: let the success photo actually show at the top, text on the dark band below */
@media (max-width: 900px) {
  .hero--agents {
    padding-top: 250px; padding-bottom: 56px;
    background:
      linear-gradient(180deg, rgba(7,26,51,0.18) 0%, rgba(7,26,51,0.40) 22%, rgba(7,26,51,0.88) 38%, rgba(7,26,51,0.97) 50%, var(--navy-900) 66%),
      url("../images/hero-pdp-agent.jpg") 62% top / cover no-repeat,
      var(--navy-900);
  }
  .hero--agents h1 { font-size: 2.05rem; }
  .hero--agents .hero-cta { gap: 12px; }
  .hero--agents .hero-cta .btn { width: 100%; text-align: center; }
  .hero--agents .hero-stats { gap: 22px 26px; }
  .hero--agents .hero-stat { flex: 1 1 42%; min-width: 0; }
  .hero--agents .rankdemo { max-width: 100%; }
}

/* Tier table: left aligned, and stacked as cards on mobile */
.tier-table th, .tier-table td { text-align: left; }
.tier-table td:first-child { width: 130px; }

@media (max-width: 760px) {
  .tier-table { min-width: 0; }
  .proof-table-wrap:has(.tier-table) { overflow-x: visible; }
  .tier-table thead { display: none; }
  .tier-table, .tier-table tbody, .tier-table tr, .tier-table td { display: block; width: 100%; }
  .tier-table tr {
    padding: 18px 20px; border-bottom: 1px solid var(--line);
  }
  .tier-table tr:last-child { border-bottom: none; }
  .tier-table td { border: none; padding: 7px 0; width: auto; }
  .tier-table td::before {
    content: attr(data-label); display: block;
    font-family: var(--font-display); font-size: 0.68rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.09em;
    color: var(--slate-light); margin-bottom: 4px;
  }
  .tier-table td:first-child strong { font-size: 1.18rem; color: var(--navy-900); }
  .tier-table .is-us td:first-child { border-left: none; }
  .tier-table caption { padding: 16px 20px; }
}

/* Footer logo: keep aspect ratio in narrow columns (was squashing on mobile) */
.site-footer .brand-logo {
  height: auto; width: 100%; max-width: 210px;
  box-sizing: border-box; padding: 12px 14px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .site-footer .brand-logo { max-width: 200px; }
}

/* Tier table mobile fixes: alignment + caption placement */
.proof-table.tier-table th, .proof-table.tier-table td { text-align: left; }
@media (max-width: 760px) {
  .tier-table { display: flex; flex-direction: column; }
  .tier-table tbody { display: block; order: 1; }
  .tier-table caption {
    display: block; order: 2; width: 100%;
    caption-side: bottom; text-align: left;
  }
  .tier-table tr { border-bottom: 1px solid var(--line); }
  .tier-table td { text-align: left; }
}

@media (max-width: 760px) {
  .tier-table td:first-child { width: auto; }
  .tier-table tr.is-us { background: rgba(46,124,246,0.07); }
  .tier-table tr.is-us td { background: none; }
  .tier-table tr.is-us td:first-child { border-left: none; }
}

/* Mobile hero: fixed photo band at top so her face is fully visible, text below */
@media (max-width: 900px) {
  .hero--agents {
    padding-top: 310px; padding-bottom: 56px;
    background:
      linear-gradient(180deg,
        rgba(7,26,51,0.10) 0px,
        rgba(7,26,51,0.20) 150px,
        rgba(7,26,51,0.72) 268px,
        rgba(7,26,51,0.95) 340px,
        var(--navy-900) 430px),
      url("../images/hero-pdp-agent.jpg") 66% top / 140% auto no-repeat,
      var(--navy-900);
  }
}
@media (max-width: 460px) {
  .hero--agents {
    padding-top: 286px;
    background:
      linear-gradient(180deg,
        rgba(7,26,51,0.10) 0px,
        rgba(7,26,51,0.20) 140px,
        rgba(7,26,51,0.74) 246px,
        rgba(7,26,51,0.95) 315px,
        var(--navy-900) 400px),
      url("../images/hero-pdp-agent.jpg") 68% top / 165% auto no-repeat,
      var(--navy-900);
  }
}

/* Founder feature: paragraph spacing + photo aligned to the text block on desktop */
.founder-feature p { margin-bottom: 16px; }
.founder-feature p:last-child { margin-bottom: 0; }
@media (min-width: 861px) {
  .founder-feature { align-items: stretch; }
  .founder-feature img { height: 100%; object-fit: cover; object-position: center 18%; }
  .founder-feature > div { display: flex; flex-direction: column; justify-content: center; }
}

/* Mobile hero: her face centered and prominent, smooth fade into the copy */
@media (max-width: 900px) {
  .hero--agents {
    padding-top: 372px; padding-bottom: 56px;
    background:
      linear-gradient(180deg,
        rgba(7,26,51,0.06) 0px,
        rgba(7,26,51,0.12) 170px,
        rgba(7,26,51,0.48) 268px,
        rgba(7,26,51,0.88) 336px,
        rgba(7,26,51,0.97) 392px,
        var(--navy-900) 470px),
      url("../images/hero-pdp-agent.jpg") 100% top / 185% auto no-repeat,
      var(--navy-900);
  }
}
@media (max-width: 460px) {
  .hero--agents {
    padding-top: 340px;
    background:
      linear-gradient(180deg,
        rgba(7,26,51,0.06) 0px,
        rgba(7,26,51,0.12) 150px,
        rgba(7,26,51,0.48) 240px,
        rgba(7,26,51,0.88) 305px,
        rgba(7,26,51,0.97) 358px,
        var(--navy-900) 430px),
      url("../images/hero-pdp-agent.jpg") 100% top / 190% auto no-repeat,
      var(--navy-900);
  }
}

/* Founder photo: natural proportion, top-aligned with the text (no zoom/crop) */
@media (min-width: 861px) {
  .founder-feature { align-items: start; }
  .founder-feature img { height: auto; object-fit: fill; object-position: center; }
  .founder-feature > div { display: block; }
}

/* Mobile hero: lift the photo so she sits higher in the band */
@media (max-width: 900px) {
  .hero--agents { padding-top: 344px; background-position: 100% -62px, 100% -62px; }
  .hero--agents {
    background:
      linear-gradient(180deg,
        rgba(7,26,51,0.06) 0px,
        rgba(7,26,51,0.12) 150px,
        rgba(7,26,51,0.48) 244px,
        rgba(7,26,51,0.88) 308px,
        rgba(7,26,51,0.97) 362px,
        var(--navy-900) 440px),
      url("../images/hero-pdp-agent.jpg") 100% -62px / 185% auto no-repeat,
      var(--navy-900);
  }
}
@media (max-width: 460px) {
  .hero--agents {
    padding-top: 318px;
    background:
      linear-gradient(180deg,
        rgba(7,26,51,0.06) 0px,
        rgba(7,26,51,0.12) 132px,
        rgba(7,26,51,0.48) 220px,
        rgba(7,26,51,0.88) 282px,
        rgba(7,26,51,0.97) 334px,
        var(--navy-900) 410px),
      url("../images/hero-pdp-agent.jpg") 100% -52px / 190% auto no-repeat,
      var(--navy-900);
  }
}

/* ============ Mobile hero photo: fixed-height band, robust at ANY width ============ */
@media (max-width: 900px) {
  .hero--agents {
    position: relative; overflow: hidden;
    padding-top: 342px; padding-bottom: 56px;
    background: linear-gradient(180deg, #0B2650 0%, var(--navy-900) 62%);
    min-height: 0; display: block;
  }
  .hero--agents::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 388px;
    background:
      linear-gradient(180deg,
        rgba(7,26,51,0.00) 0%,
        rgba(7,26,51,0.10) 42%,
        rgba(7,26,51,0.45) 66%,
        rgba(7,26,51,0.86) 84%,
        var(--navy-900) 100%),
      url("../images/hero-pdp-agent.jpg") center 20% / cover no-repeat;
    z-index: 0; pointer-events: none;
  }
  .hero--agents > .container { position: relative; z-index: 2; }
  .hero--agents .rankdemo { position: static; transform: none; width: 100%; max-width: 100%; margin-top: 26px; }
  .hero-copy { max-width: 100%; }
}
@media (max-width: 460px) {
  .hero--agents { padding-top: 306px; }
  .hero--agents::before { height: 352px; }
}

/* Mobile hero: dedicated crop framed on the agent (no width-dependent math) */
@media (max-width: 900px) {
  .hero--agents::before {
    background:
      linear-gradient(180deg,
        rgba(7,26,51,0.00) 0%,
        rgba(7,26,51,0.06) 44%,
        rgba(7,26,51,0.38) 68%,
        rgba(7,26,51,0.84) 85%,
        var(--navy-900) 100%),
      url("../images/hero-pdp-agent.jpg") center 18% / cover no-repeat;
  }
}

/* Spanish landing header: always-visible compact actions (never the mobile dropdown panel) */
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .lang-switch { margin-left: 0; }
@media (max-width: 560px) {
  .header-actions { gap: 8px; }
  .header-actions .btn { padding: 10px 18px; font-size: 0.86rem; }
  .header-actions .lang-switch a { padding: 4px 6px; font-size: 0.82rem; }
  .site-header .brand-logo { height: 40px; }
}

/* Founder photo: full portrait, never cropped (was a circular avatar that cut the image) */
.founder-photo {
  width: 155px; height: auto;
  border-radius: 14px; object-fit: contain;
  border: none; box-shadow: 0 12px 32px rgba(7,26,51,0.20);
}
.founder-strip:hover .founder-photo { transform: none; box-shadow: 0 12px 32px rgba(7,26,51,0.20); }
@media (max-width: 720px) { .founder-photo { width: 140px; margin: 0 auto; } }

/* Founder photo aligns with the TITLE, not with the eyebrow above it */
@media (min-width: 861px) {
  .founder-feature img { margin-top: 43px; }
}

/* ---------- Founder block: portrait + title header, then long-form bio ---------- */
.founder-head { display: flex; align-items: center; gap: 28px; margin-bottom: 30px; }
.founder-portrait {
  width: 150px; flex-shrink: 0; height: auto; border-radius: 14px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.4);
}
.founder-bio { max-width: 860px; }
.founder-bio p { margin-bottom: 18px; }
.founder-bio p:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .founder-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .founder-portrait { width: 130px; }
}

/* ---------- Founder block v2: portrait as side column, all text on one left edge ---------- */
.founder-block { display: grid; grid-template-columns: 190px 1fr; gap: 44px; align-items: start; }
.founder-portrait { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 14px 36px rgba(0,0,0,0.4); }
.founder-block .eyebrow { margin-bottom: 14px; }
.founder-block h2 { margin-bottom: 26px; }
.founder-bio { max-width: 780px; }
.founder-bio p { margin-bottom: 18px; }
.founder-bio p:last-child { margin-bottom: 0; }
@media (max-width: 720px) {
  .founder-block { grid-template-columns: 1fr; gap: 22px; }
  .founder-portrait { width: 150px; }
}


/* ===== GBP phone mockup (used on industry pages) ===== */
/* iPhone premium mostrando un Google Business Profile optimizado, a la derecha de E-E-A-T */
.wwd-phone{display:flex;align-items:center;justify-content:center;position:relative;padding:10px 0;perspective:2200px}
.wwd-phone::before{content:"";position:absolute;width:120%;height:82%;top:50%;left:50%;transform:translate(-50%,-50%);background:radial-gradient(ellipse at center,rgba(41,199,242,.30),rgba(46,124,246,.15) 45%,transparent 72%);filter:blur(22px);z-index:0;pointer-events:none}
.gbp-phone{position:relative;z-index:1;width:286px;background:linear-gradient(135deg,#4a4a4d,#141416 26%,#2d2d2f 50%,#0e0e10 78%,#3c3c3f);border-radius:52px;padding:12px;box-shadow:0 60px 90px -20px rgba(6,20,40,.55),0 34px 50px -18px rgba(6,20,40,.42),inset 0 1px 2px rgba(255,255,255,.55),inset 0 0 0 1px rgba(255,255,255,.14);transform:rotateY(-17deg) rotateX(4deg) rotateZ(-1.5deg)}
.gbp-phone::before{content:"";position:absolute;left:-2px;top:120px;width:2px;height:30px;background:#111;border-radius:2px 0 0 2px;box-shadow:0 44px 0 #111,0 84px 0 #111}
.gbp-phone::after{content:"";position:absolute;right:-2px;top:150px;width:2px;height:56px;background:#111;border-radius:0 2px 2px 0}
.gbp-screen{position:relative;height:612px;background:#fff;border-radius:38px;overflow:hidden;font-family:'Roboto','Segoe UI',system-ui,sans-serif;color:#202124}
.gbp-screen::after{content:"";position:absolute;left:0;right:0;bottom:0;height:38px;background:linear-gradient(transparent,#fff);pointer-events:none;z-index:4}
.gbp-screen::before{content:"";position:absolute;inset:0;z-index:5;pointer-events:none;background:linear-gradient(118deg,transparent 43%,rgba(255,255,255,.16) 47%,transparent 51%)}
.gbp-island{position:absolute;top:10px;left:50%;transform:translateX(-50%);width:84px;height:25px;background:#000;border-radius:20px;z-index:6}
.gbp-status{position:relative;display:flex;align-items:center;justify-content:space-between;padding:12px 22px 8px;font-size:.74rem;font-weight:600;z-index:5}
.gbp-status .r{display:flex;align-items:center;gap:5px}
.gbp-omni{display:flex;align-items:center;gap:10px;margin:2px 11px 8px;padding:7px 12px;background:#f1f1f3;border-radius:12px;font-size:.7rem;color:#202124}
.gbp-omni .aa{font-weight:700;color:#5f6368;font-size:.62rem;letter-spacing:-.5px}
.gbp-omni .u{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gbp-omni svg{flex-shrink:0;color:#5f6368}
.gbp-cover{position:relative;height:104px;background:url('images/miami-skyline.jpg') center 26%/cover no-repeat}
.gbp-exp{position:absolute;top:9px;right:9px;width:24px;height:24px;border-radius:7px;background:rgba(255,255,255,.9);display:flex;align-items:center;justify-content:center;color:#3c4043;box-shadow:0 1px 4px rgba(0,0,0,.25)}
.gbp-logo{position:absolute;left:15px;bottom:-24px;width:56px;height:56px;border-radius:50%;background:#fff;box-shadow:0 2px 9px rgba(0,0,0,.2);display:flex;align-items:center;justify-content:center;z-index:2}
.gbp-logo b{font-family:var(--font-display);font-weight:700;font-size:1.1rem;color:#0C2E5C;line-height:1}
.gbp-info{padding:30px 16px 2px}
.gbp-name{font-size:1.1rem;font-weight:500;letter-spacing:-.01em;line-height:1.22;display:flex;align-items:center;gap:6px}
.gbp-name .vf{flex-shrink:0}
.gbp-rate{display:flex;align-items:center;gap:5px;margin-top:5px;font-size:.76rem}
.gbp-rate .st{color:#fbbc04;letter-spacing:.5px;font-size:.7rem}
.gbp-rate .rc{color:#5f6368}
.gbp-cat{margin-top:3px;font-size:.76rem;color:#5f6368}
.gbp-open2{margin-top:4px;font-size:.76rem;color:#5f6368}
.gbp-open2 b{color:#188038;font-weight:500}
.gbp-acts{display:flex;gap:6px;padding:13px 12px 2px}
.gbp-a{flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:.58rem;color:#1a73e8;font-weight:500;text-align:center;line-height:1.1}
.gbp-a .ic{width:40px;height:40px;border-radius:50%;border:1px solid #dadce0;display:flex;align-items:center;justify-content:center;color:#1a73e8}
.gbp-a.pri .ic{background:#1a73e8;border-color:#1a73e8;color:#fff}
.gbp-chips{display:flex;flex-wrap:wrap;gap:6px;padding:14px 16px 2px}
.gbp-chip{display:flex;align-items:center;gap:5px;font-size:.63rem;color:#3c4043;background:#f1f3f4;border-radius:20px;padding:5px 10px}
.gbp-chip svg{color:#1a73e8;flex-shrink:0}
.gbp-photos{display:flex;gap:3px;margin-top:13px}
.gbp-pht{flex:1;height:64px;background-image:url('images/miami-skyline.jpg');background-repeat:no-repeat;background-size:300px auto;position:relative}
.gbp-pht.p1{background-position:6% 20%}
.gbp-pht.p2{background-position:42% 62%}
.gbp-pht.p3{background-position:74% 26%}
.gbp-pht.more{background-position:100% 46%}
.gbp-pht.more::after{content:"+218 photos";position:absolute;inset:0;background:rgba(0,0,0,.52);color:#fff;font-size:.58rem;font-weight:500;display:flex;align-items:center;justify-content:center;text-align:center;padding:0 4px}
.gbp-div{height:1px;background:#e8eaed;margin:13px 16px 0}
.gbp-row{display:flex;align-items:center;gap:15px;padding:8px 16px;font-size:.74rem;color:#3c4043}
.gbp-row svg{flex-shrink:0;color:#5f6368}
.gbp-shead{padding:13px 16px 0;font-size:.84rem;font-weight:500}
.gbp-shead .n{font-size:.7rem;color:#5f6368;font-weight:400}
.gbp-rev{padding:8px 16px 0}
.gbp-rev .who{display:flex;align-items:center;gap:9px}
.gbp-rev .av{width:30px;height:30px;border-radius:50%;background:#5b7fdb;color:#fff;font-size:.72rem;font-weight:500;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.gbp-rev .nm{font-size:.73rem;font-weight:500}
.gbp-rev .sub{font-size:.61rem;color:#5f6368}
.gbp-rev .rst{color:#fbbc04;font-size:.6rem;letter-spacing:.5px;margin-top:7px}
.gbp-rev .tx{font-size:.71rem;color:#3c4043;line-height:1.5;margin-top:5px}
.gbp-rev .resp{margin-top:9px;margin-left:8px;padding:9px 11px;background:#f8f9fa;border-radius:10px}
.gbp-rev .resp .h{font-size:.62rem;font-weight:500}
.gbp-rev .resp .t{font-size:.64rem;color:#5f6368;line-height:1.5;margin-top:3px}
@media(max-width:640px){.wwd-phone{perspective:none}.gbp-phone{transform:none}}
@keyframes wwdFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
@media(prefers-reduced-motion:reduce){.gbp-phone{animation:none}}

/* ===== Phone mockup showcase (dark backdrop, funde fondos negros/transparentes) ===== */
.phone-band{background:radial-gradient(120% 90% at 50% 28%,#17171d,#000 72%);color:#fff}
.phone-band .eyebrow,.phone-band .eyebrow--dark{color:#7fb0ff}
.phone-band h2{color:#fff}
.phone-band p{color:rgba(255,255,255,.72)}
.gbp-photo-wrap{display:flex;align-items:center;justify-content:center;padding:6px 0}
.gbp-photo{max-width:412px;width:100%;height:auto;display:block}
