:root {
  /* Official Real Brand Guidelines v1.1 color palette */
  --onyx: #1D1D1D;
  --slate: #615B56;
  --chalk: #FFFFFF;
  --white: #FFFFFF;
  --cobalt: #050E3D;
  --legacy-blue: #05C3F9;
  --coral: #FF557E;
  --aqua: #00FBF0;
  --seaglass: #BFDDDB;
  --light-gray: #E8E6E3;
  --mid-gray: #8A8580;

  /* Fonts: Telegraf (headings) → Poppins fallback; Inter (body) */
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius: 12px;
  --shadow: 0 10px 40px -10px rgba(5, 14, 61, 0.15);
  --shadow-lg: 0 25px 50px -12px rgba(5, 14, 61, 0.25);
  --transition: 0.25s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--onyx);
  background: var(--chalk);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ========== HEADER / NAV ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 14, 61, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition);
}

.header.scrolled {
  background: rgba(5, 14, 61, 0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--cobalt);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.logo-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

.real-logo {
  height: 26px;
  width: auto;
  display: block;
  object-fit: contain;
}

.real-logo--header {
  height: 22px;
  opacity: 0.95;
}

.real-logo--footer {
  height: 28px;
  margin-bottom: 0.35rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.925rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-cta {
  background: var(--cobalt);
  color: white !important;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: #0A1A5C;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: white;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    linear-gradient(135deg, rgba(5, 14, 61, 0.92) 0%, rgba(5, 14, 61, 0.85) 40%, rgba(5, 195, 249, 0.35) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23050E3D" width="1200" height="800"/><circle fill="%2305C3F9" cx="200" cy="150" r="300" opacity="0.2"/><circle fill="%2300FBF0" cx="1000" cy="600" r="400" opacity="0.15"/></svg>');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 7rem 1.5rem 4rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background: var(--seaglass);
  border-radius: 50%;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--seaglass);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 32rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--coral);
  color: white;
  box-shadow: 0 4px 14px rgba(255, 85, 126, 0.35);
}

.btn-primary:hover {
  background: #E8486A;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 85, 126, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.25rem;
}

.hero-badge-logo {
  height: 22px;
  width: auto;
  display: block;
  object-fit: contain;
}
.stat {
  text-align: left;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.15rem;
}

.hero-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.hero-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-card-title svg {
  width: 20px;
  height: 20px;
  color: var(--seaglass);
}

.quick-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.quick-form input,
.quick-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: white;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}

.quick-form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.quick-form input:focus,
.quick-form select:focus {
  border-color: var(--seaglass);
  background: rgba(255,255,255,0.12);
}

.quick-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.6)' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.quick-form select option {
  background: var(--onyx);
  color: white;
}

.quick-form .btn {
  width: 100%;
  margin-top: 0.25rem;
}

/* ========== SECTIONS COMMON ========== */
section {
  padding: 5rem 1.5rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cobalt);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--onyx);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

/* ========== ABOUT ========== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--cobalt) 0%, #0A2A6B 50%, var(--legacy-blue) 100%);
  box-shadow: var(--shadow);
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 2rem;
}

.about-image-placeholder svg {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.about-image-placeholder p {
  font-size: 0.9rem;
  font-weight: 500;
}

.about-content h2 {
  margin-bottom: 1.25rem;
}

.about-content p {
  color: var(--slate);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--chalk);
  border-radius: 10px;
  border: 1px solid var(--light-gray);
}

.highlight-icon {
  width: 36px;
  height: 36px;
  background: rgba(5, 195, 249, 0.12);
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--cobalt);
}

.highlight-icon svg {
  width: 18px;
  height: 18px;
}

.highlight strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--onyx);
  margin-bottom: 0.15rem;
}

.highlight span {
  font-size: 0.8rem;
  color: var(--slate);
}

/* ========== SERVICES ========== */
.services {
  background: #F4F8F8; /* subtle Seaglass-tinted neutral */
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  border: 1px solid var(--light-gray);
  box-shadow: 0 4px 12px rgba(5, 14, 61, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(5, 195, 249, 0.15), rgba(0, 251, 240, 0.12));
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  color: var(--cobalt);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--onyx);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.55;
}

/* ========== CONTACT ========== */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--slate);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--chalk);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--cobalt);
  flex-shrink: 0;
  border: 1px solid var(--light-gray);
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--onyx);
  margin-bottom: 0.15rem;
}

.contact-item span,
.contact-item a {
  font-size: 0.95rem;
  color: var(--slate);
}

.contact-item a:hover {
  color: var(--cobalt);
}

.contact-form-card {
  background: var(--chalk);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--light-gray);
}

.contact-form-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--onyx);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--onyx);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--light-gray);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--onyx);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(5, 195, 249, 0.2);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--mid-gray);
  margin-top: 1rem;
  text-align: center;
}

/* ========== MARKET ACTIVITY ========== */
.market {
  background: var(--white);
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.market-card {
  background: var(--chalk);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.market-card-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
  margin-bottom: 0.5rem;
}

.market-card-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cobalt);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.market-card-meta {
  font-size: 0.75rem;
  color: var(--mid-gray);
}

.market-note {
  font-size: 0.9rem;
  color: var(--slate);
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

/* ========== MORTGAGE CALCULATOR ========== */
.calculator-section {
  background: #F4F8F8;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.calc-form-card,
.calc-result-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 16px;
  padding: 2rem;
}

.calc-result-card {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: white;
}

.calc-result-label {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.8;
  margin-bottom: 0.35rem;
}

.calc-result-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--aqua);
}

.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 1.25rem;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.calc-row span {
  opacity: 0.75;
}

.calc-disclaimer {
  font-size: 0.75rem;
  opacity: 0.6;
  line-height: 1.45;
}

/* ========== NEWSLETTER / EMAIL FUNNEL ========== */
.newsletter {
  background: var(--cobalt);
  padding: 4rem 1.5rem;
}

.newsletter-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-text p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.9rem 1.15rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: white;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.newsletter-form input:focus {
  border-color: var(--aqua);
  background: rgba(255,255,255,0.12);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--onyx);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 1.5rem 2rem;
}

.footer-agent-info,
.footer-broker-info,
.broker-block {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
}

.footer-agent-info p,
.broker-block p {
  margin-bottom: 0.2rem;
}

.footer-agent-info a,
.broker-block a {
  color: rgba(255,255,255,0.85);
}

.footer-agent-info a:hover,
.broker-block a:hover {
  color: white;
}

.footer-agent-info {
  margin: 1rem 0 0.5rem;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 1.25rem;
}

.footer-real {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.15rem;
  margin-top: 0.75rem;
}

.footer-real span {
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.6rem;
}

.footer ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer ul a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom a {
  color: rgba(255,255,255,0.55);
}

.footer-bottom a:hover {
  color: white;
}

/* ========== MOBILE ========== */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-card {
    max-width: 420px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image {
    max-width: 360px;
    margin: 0 auto;
    aspect-ratio: 1;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .market-grid {
    grid-template-columns: 1fr 1fr;
  }

  .calc-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .logo span:not(.logo-mark):not(.logo-divider) {
    font-size: 0.95rem;
  }
  .real-logo--header {
    height: 18px;
  }
  .logo-divider {
    height: 22px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--onyx);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-links .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border-bottom: none;
  }

  .menu-toggle {
    display: block;
  }

  /* On mobile, hide the Real logo in header to keep it clean — it still appears in footer */
  .logo-divider,
  .real-logo--header {
    display: none;
  }

  .logo span:not(.logo-mark) {
    font-size: 1rem;
  }

  .hero {
    padding-top: 6rem;
    min-height: auto;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .market-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  section {
    padding: 3.5rem 1.25rem;
  }
}

/* Form success message */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}

.form-success.show {
  display: block;
}

.form-success svg {
  width: 48px;
  height: 48px;
  color: var(--aqua);
  margin: 0 auto 1rem;
}

.form-success h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--onyx);
}

.form-success p {
  color: var(--slate);
  font-size: 0.95rem;
}

/* Utility classes (replacing residual inline styles) */
.btn-full {
  width: 100%;
  margin-top: 0.5rem;
}

.newsletter .section-label {
  color: var(--legacy-blue);
}

.newsletter .section-title {
  color: var(--chalk);
}

.newsletter .form-success {
  text-align: left;
}

.newsletter .form-success h4 {
  color: var(--chalk);
}

.newsletter .form-success p {
  color: rgba(255, 255, 255, 0.75);
}

.email-placeholder-note {
  display: block;
  font-size: 0.75rem;
  color: var(--mid-gray);
  margin-top: 0.15rem;
}

.broker-block + .broker-block {
  margin-top: 1.25rem;
}
