/* =====================================================================
   RESPONSIVE BREAKPOINT SCALE (reference — see style.css for the full
   scale used across this site)
   1200px large desktop · 1024px laptop · 900px tablet landscape
   768px tablet portrait · 560px phablet · 480px mobile · 380px small mobile
   ===================================================================== */

/* ===================== THREE STEPS: TIGHTER SLIDE (now holds 3 items, not 5) ===================== */
@media (min-width: 901px) {
  .sec-agenda .slide {
    height: 280px;
  }
}

.sec-agenda .bottom-pill {
  display: none;
}

/* Top-align each step so the 01/02/03 numbers line up even when a description wraps to more lines. */
.sec-agenda .grid {
  align-items: start;
}

.sec-agenda .item {
  justify-content: flex-start;
}

.sec-agenda .agenda-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.sec-agenda .agenda-eyebrow::before,
.sec-agenda .agenda-eyebrow::after {
  content: "";
  width: 30px;
  height: 1px;
  background: #c29d66;
  display: inline-block;
}

/* ===================== HERO: RIGHT-SIDE BRAND PANEL (logo card + chooser stacked, no overlap) ===================== */
.sec-hero .hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 32px 32px;
  background: linear-gradient(160deg, #0a121e 0%, #060b13 100%);
}

/* The full Batista Rivera logo as a faded watermark on the navy panel (no card behind it). Its width is
   also capped by screen height (x1.41 = the logo's aspect ratio) so logo + chooser always fit. */
.sec-hero .hero-visual::before {
  content: "";
  display: block;
  width: min(300px, 70%, 24vh * 1.41);
  aspect-ratio: 1556 / 1103;
  flex-shrink: 0;
  background-image: url('../img/stands-with-you.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4;
  pointer-events: none;
}

@media (max-width: 1100px) {
  /* The video banner sits above the hero, so no navbar clearance is needed: a small top gap, and the
     stacked hero sizes to its content instead of filling a full screen (which left empty space). */
  .sec-hero,
  .sec-hero .page {
    min-height: 0;
  }

  .sec-hero .hero {
    min-height: 0;
    padding-top: 40px;
  }

  .sec-hero .hero-visual {
    height: auto;
    min-height: 0;
    padding: 24px 20px 28px;
    gap: 16px;
  }

  .sec-hero .hero-visual::before {
    width: min(200px, 60%);
  }

  .sec-hero .badge h3 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .sec-hero .hero {
    padding-top: 32px;
  }

  .sec-hero .hero-visual {
    padding: 20px 16px 24px;
    gap: 14px;
  }

  .sec-hero .hero-visual::before {
    width: min(170px, 60%);
  }
}

/* ===================== HERO: "WHAT DO YOU NEED TODAY" CHOOSER ===================== */
/* Fixed height only for the side-by-side desktop layout; below 1100px the hero stacks and must grow to fit. */
@media (min-width: 1101px) {
  .sec-hero {
    height: 80vh;
  }

  .sec-hero .page {
    height: 80vh;
  }

  .sec-hero .hero {
    height: 80vh;
  }
}

@media (min-width: 901px) {
  .sec-hero .badge {
    width: 500px;
  }
}

.sec-hero .badge {
  position: static;
  max-width: 100%;
  background: linear-gradient(160deg, rgba(24, 38, 58, 0.3) 0%, rgba(8, 14, 24, 0.3) 100%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 24px 60px rgba(6, 11, 19, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.sec-hero .badge .chooser-number {
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  font-weight: 700;
  color: #c29d66;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.sec-hero .badge h3 {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.sec-hero .badge-options {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sec-hero .badge-options li {
  padding-left: 16px;
  padding-bottom: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.sec-hero .badge-options li:first-child {
  padding-left: 0;
  border-left: none;
}

.sec-hero .badge-options li a {
  display: block;
  text-decoration: none;
}

.sec-hero .badge-options .option-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.sec-hero .badge-options .option-title i {
  color: #c29d66;
  font-size: 11px;
}

.sec-hero .badge-options .option-desc {
  display: block;
  margin: 2px 0 0 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.sec-hero .badge-footnote {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ===================== PRACTICE CARDS: extra room for the Immigration/Personal Injury bullet lists ===================== */
.sec-practice.sec-practice-home .practice-card {
  aspect-ratio: 3 / 4.6;
}

.sec-practice .practice-bullets {
  list-style: none;
  margin: 10px 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sec-practice .practice-bullets li {
  position: relative;
  padding-left: 14px;
  font-size: 11.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}

.sec-practice .practice-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c29d66;
}

@media (max-width: 1024px) {
  .sec-practice.sec-practice-home .practice-card {
    aspect-ratio: 4 / 3.6;
  }
}

@media (max-width: 560px) {
  .sec-practice.sec-practice-home .practice-card {
    aspect-ratio: 16 / 15;
  }
}

@media (max-width: 380px) {
  .sec-practice.sec-practice-home .practice-card {
    aspect-ratio: 3 / 4.4;
  }

  .sec-practice .practice-bullets {
    margin: 8px 0 10px;
    gap: 4px;
  }

  .sec-practice .practice-bullets li {
    font-size: 10.5px;
  }
}

/* ===================== URGENT ALERT BANNER ===================== */
.urgent-banner {
  background: #c29d66;
  color: #0a121e;
  font-family: 'Inter', sans-serif;
}

.urgent-banner .urgent-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.urgent-banner p {
  margin: 0;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
}

.urgent-banner a {
  color: #0a121e;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .urgent-banner .urgent-inner {
    padding: 10px 16px;
    gap: 10px;
  }

  .urgent-banner p,
  .urgent-banner a {
    font-size: 12px;
  }
}

/* ===================== TEAM SECTION (ported from the About page's "Meet The Team") ===================== */
.team-section {
  padding: clamp(40px, 6vh, 100px) 0;
  background: linear-gradient(180deg, #faf8f5 0%, #f3efe8 100%);
  font-family: 'Inter', sans-serif;
}

.team-section .wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.team-section .section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 20px;
}

.team-section .overview-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #a9822f;
  margin-bottom: 16px;
}

.team-section .overview-label::before,
.team-section .overview-label::after {
  content: "";
  width: 30px;
  height: 1px;
  background: #a9822f;
  display: inline-block;
}

.team-section .team-heading {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 2.1rem;
  font-weight: 600;
  color: #202733;
  margin: 0;
}

.team-section .team-subtitle {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: #465065;
  max-width: 520px;
}

.team-section .team-count {
  color: #465065;
  font-size: 0.85rem;
  padding-bottom: 6px;
}

.team-section .team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.team-section .team-card {
  background: #f6f1e7;
  border: 1px solid rgba(32, 39, 51, 0.14);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.team-section .team-card:hover {
  box-shadow: 0 30px 50px -26px rgba(32, 39, 51, 0.32);
  transform: translateY(-6px);
  border-color: #cba757;
}

.team-section .team-avatar {
  position: relative;
  aspect-ratio: 3 / 4;
  flex-shrink: 0;
  background: linear-gradient(160deg, #e2dccc 0%, #c2b89f 100%);
  overflow: hidden;
}

.team-section .team-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32, 39, 51, 0) 60%, rgba(32, 39, 51, 0.35) 100%);
  pointer-events: none;
}

.team-section .team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.5s ease;
}

.team-section .team-card:hover .team-avatar img {
  transform: scale(1.07);
}

.team-section .team-info {
  padding: 9px 15px 15px;
  border-top: 3px solid #a9822f;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-section .team-info .team-name {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #202733;
  margin-bottom: 6px;
}

.team-section .team-info .team-title {
  font-size: 0.85rem;
  color: #a9822f;
  font-weight: 600;
  letter-spacing: 0.3px;
}

@media (max-width: 900px) {
  .team-section .section-heading-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .team-section .team-heading {
    font-size: 24px;
  }

  .team-section .team-subheading {
    font-size: 14px;
  }
}

/* Team carousel ("spotlight") — only active at 1024px and below. On desktop the grid shows all five cards
   and the carousel controls are hidden. */
.team-section .team-carousel {
  position: relative;
}

.team-section .team-carousel-btn,
.team-section .team-carousel-counter {
  display: none;
}

@media (max-width: 1024px) {
  /* Bleed to the screen edges so the side cards can peek in; card width is a share of this box. */
  .team-section .team-carousel {
    --team-card: 28cqw;
    container-type: inline-size;
    margin: 0 -24px;
  }

  .team-section .team-grid {
    position: relative;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    /* Side padding lets the first and last cards sit in the centre too. */
    padding: 14px calc((100cqw - var(--team-card)) / 2) 22px;
  }

  .team-section .team-grid::-webkit-scrollbar {
    display: none;
  }

  .team-section .team-card,
  .team-section .team-card:hover {
    flex: 0 0 var(--team-card);
    scroll-snap-align: center;
    transform: scale(0.86);
    opacity: 0.45;
    box-shadow: none;
    border-color: rgba(32, 39, 51, 0.14);
    transition: transform 0.45s ease, opacity 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
  }

  .team-section .team-card.is-current,
  .team-section .team-card.is-current:hover {
    transform: none;
    opacity: 1;
    border-color: #cba757;
    box-shadow: 0 28px 50px -26px rgba(32, 39, 51, 0.45);
  }

  /* Arrows float over the side cards, level with the photos. */
  .team-section .team-carousel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 40%;
    z-index: 2;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #202733;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 10px 24px -8px rgba(32, 39, 51, 0.35);
    transform: translateY(-50%);
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  }

  .team-section .team-carousel-prev {
    left: 16px;
  }

  .team-section .team-carousel-next {
    right: 16px;
  }

  .team-section .team-carousel-btn:hover:not(:disabled) {
    background: #a9822f;
    color: #fff;
  }

  .team-section .team-carousel-btn:disabled {
    opacity: 0;
    pointer-events: none;
  }

  .team-section .team-carousel-btn:focus-visible {
    outline: 2px solid #202733;
    outline-offset: 3px;
  }

  .team-section .team-carousel-counter {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin: 4px 0 0;
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 15px;
    color: #8a8f99;
    letter-spacing: 1px;
  }

  .team-section .team-carousel-current {
    font-size: 22px;
    font-weight: 600;
    color: #a9822f;
  }

  .team-section .team-carousel-sep {
    color: #c9c3b6;
  }
}

@media (max-width: 768px) {
  .team-section .team-carousel {
    --team-card: 30cqw;
  }
}

@media (max-width: 500px) {
  /* Tighter section on phones: smaller spotlight card and less spacing around the heading and row. */
  .team-section {
    padding: 32px 0;
  }

  .team-section .section-heading-row {
    margin-bottom: 12px;
  }

  .team-section .overview-label {
    margin-bottom: 10px;
  }

  .team-section .team-subtitle {
    margin-top: 8px;
  }

  .team-section .team-carousel {
    --team-card: min(56cqw, 240px);
  }

  /* Square photos (instead of 3:4) keep the cards short; faces sit near the top of each photo. */
  .team-section .team-avatar {
    aspect-ratio: 1 / 1;
  }

  .team-section .team-grid {
    gap: 12px;
    padding-top: 8px;
    padding-bottom: 12px;
  }

  .team-section .team-info {
    padding: 8px 12px 12px;
  }

  .team-section .team-carousel-counter {
    margin-top: 0;
  }

  .team-section .team-carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }

  .team-section .team-carousel-prev {
    left: 8px;
  }

  .team-section .team-carousel-next {
    right: 8px;
  }
}

@media (max-width: 380px) {
  .team-section .team-carousel {
    margin: 0 -16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-section .team-grid {
    scroll-behavior: auto;
  }

  .team-section .team-card {
    transition: none;
  }
}

@media (max-width: 380px) {
  .team-section .wrap {
    padding: 0 16px;
  }

  .team-section .team-heading {
    font-size: 1.35rem;
  }

  .team-section .team-subtitle {
    font-size: 13px;
  }

  .team-section .team-grid {
    gap: 12px;
  }

  .team-section .team-info {
    padding: 8px 12px 12px;
  }

  .team-section .team-info .team-name {
    font-size: 1.05rem;
  }

  .team-section .team-info .team-title {
    font-size: 0.78rem;
  }

  .team-section .team-count {
    font-size: 0.78rem;
  }
}

/* ===================== FINAL CTA + CONTACT FORM ===================== */
.sec-cta {
  background: linear-gradient(180deg, #0a121e 0%, #060b13 100%);
  color: #fff;
  padding: clamp(48px, 8vh, 100px) 24px;
  font-family: 'Inter', sans-serif;
}

.sec-cta .cta-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.sec-cta .cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c29d66;
}

.sec-cta .cta-eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: #c29d66;
  display: inline-block;
}

.sec-cta .cta-heading {
  margin: 0 0 18px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.2;
  color: #ffffff;
}

.sec-cta .cta-copy {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 420px;
}

.sec-cta .cta-phone {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
  color: #d8bd93;
  text-decoration: none;
  margin-bottom: 10px;
}

.sec-cta .cta-address {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.sec-cta .cta-form-card {
  background: #f7f3ea;
  border-radius: 16px;
  padding: 32px;
  color: #16202e;
}

.sec-cta .cta-status {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(194, 157, 102, 0.22);
  color: #16202e;
  font-size: 13.5px;
}

.sec-cta .cta-status.cta-status-error {
  background: rgba(166, 67, 44, 0.14);
  color: #a6432c;
}

/* Thank-you popup after a successful enquiry (native <dialog>). */
.cta-thanks {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border: none;
  border-radius: 20px;
  background: transparent;
  overflow: visible;
}

.cta-thanks::backdrop {
  background: rgba(10, 18, 30, 0.62);
  backdrop-filter: blur(3px);
}

.cta-thanks[open] {
  animation: cta-thanks-in 0.28s ease-out;
}

.cta-thanks[open]::backdrop {
  animation: cta-thanks-fade 0.28s ease-out;
}

@keyframes cta-thanks-in {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@keyframes cta-thanks-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cta-thanks-card {
  position: relative;
  padding: 44px 36px 32px;
  border-radius: 20px;
  background: #f7f3ea;
  color: #16202e;
  text-align: center;
  box-shadow: 0 24px 60px rgba(10, 18, 30, 0.35);
}

.cta-thanks-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #5b6672;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.cta-thanks-x:hover {
  background: rgba(10, 18, 30, 0.06);
  color: #16202e;
}

.cta-thanks-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #c29d66;
  color: #ffffff;
  font-size: 28px;
  box-shadow: 0 0 0 8px rgba(194, 157, 102, 0.18);
}

.cta-thanks-title {
  margin: 0 0 10px;
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 28px;
  font-weight: 600;
  color: #16202e;
}

.cta-thanks-message {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.65;
  color: #3d4855;
}

.cta-thanks-urgent {
  margin: 0 0 24px;
  font-size: 13.5px;
  color: #5b6672;
}

.cta-thanks-urgent a {
  color: #16202e;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.cta-thanks-urgent a:hover {
  color: #a8824c;
}

.cta-thanks-close {
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 999px;
  background: #c29d66;
  color: #0a121e;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.cta-thanks-close:hover {
  background: #d8bd93;
  transform: translateY(-2px);
}

.cta-thanks-x:focus-visible,
.cta-thanks-close:focus-visible,
.cta-thanks-urgent a:focus-visible {
  outline: 2px solid #16202e;
  outline-offset: 3px;
}

body.cta-thanks-lock {
  overflow: hidden;
}

@media (max-width: 500px) {
  .cta-thanks-card {
    padding: 38px 22px 24px;
  }

  .cta-thanks-title {
    font-size: 23px;
  }

  .cta-thanks-message {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-thanks[open],
  .cta-thanks[open]::backdrop {
    animation: none;
  }
}

.sec-cta .cta-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #5b6672;
  margin-bottom: 6px;
}

.sec-cta .cta-form .form-row {
  margin-bottom: 16px;
}

.sec-cta .cta-form .form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sec-cta .cta-form select,
.sec-cta .cta-form input,
.sec-cta .cta-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(10, 18, 30, 0.16);
  background: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #16202e;
}

.sec-cta .cta-form textarea {
  min-height: 90px;
  resize: vertical;
}

.sec-cta .cta-form .form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #5b6672;
  margin-bottom: 20px;
  font-weight: 400;
  text-transform: none;
}

.sec-cta .cta-form .form-consent input {
  width: auto;
  margin-top: 3px;
}

.sec-cta .cta-form .cta-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #c29d66;
  color: #0a121e;
  border: none;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.sec-cta .cta-form .cta-submit:hover {
  background: #d8bd93;
  transform: translateY(-2px);
}

.sec-cta .cta-form .cta-error {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #e8a08e;
}

@media (max-width: 900px) {
  .sec-cta .cta-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 500px) {
  .sec-cta {
    padding: 40px 16px;
  }

  .sec-cta .cta-inner {
    gap: 28px;
  }

  .sec-hero .badge h3 {
    font-size: 18px;
  }

  .sec-cta .cta-heading {
    font-size: 20px;
  }

  .sec-cta .cta-copy {
    font-size: 13px;
  }

  .sec-cta .cta-phone {
    font-size: 19px;
  }

  .sec-cta .cta-address {
    font-size: 12.5px;
  }

  .sec-cta .cta-form-card {
    padding: 20px;
  }

  .sec-cta .cta-form .form-row-split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sec-cta .cta-form select,
  .sec-cta .cta-form input,
  .sec-cta .cta-form textarea {
    padding: 10px 12px;
    font-size: 13px;
  }

  .sec-cta .cta-form .cta-submit {
    padding: 12px 20px;
    font-size: 13px;
  }

  .team-section .team-heading {
    font-size: 20px;
  }

  .team-section .team-subtitle {
    font-size: 13px;
  }

  .sec-agenda .item .num {
    font-size: 40px;
  }

  .sec-agenda .slide {
    padding: 0 0 24px;
  }
}
/* ===================== MOBILE: CENTRED SECTION HEADINGS =====================
   On phones every section's eyebrow, heading and intro line is centred (What We Handle, Three Steps and
   Testimonials already are). One-sided eyebrow lines get a matching line on the right so they stay balanced. */
@media (max-width: 768px) {
  /* Hero */
  .sec-hero .hero-content {
    text-align: center;
  }

  .sec-hero .eyebrow {
    justify-content: center;
  }

  .sec-hero .eyebrow::after {
    content: "";
    width: 34px;
    height: 1px;
    background: #c29d66;
    display: inline-block;
  }

  /* More Than A Case File */
  .team-section .section-heading-row {
    align-items: center;
    text-align: center;
  }

  .team-section .team-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  /* Final CTA + contact form */
  .sec-cta .cta-copy-col {
    text-align: center;
  }

  .sec-cta .cta-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .sec-cta .cta-eyebrow::after {
    content: "";
    width: 30px;
    height: 1px;
    background: #c29d66;
    display: inline-block;
  }
}

@media (max-width: 380px) {
  .sec-hero .eyebrow::after {
    width: 24px;
  }
}
