/* ============================================
   Valley Home Buyers — Landing Page Styles
   ============================================ */

:root {
  --primary: #2892d7;
  --primary-dark: #1b4f91;
  --navy: #0e2a4d;
  --navy-light: #1e3a6e;
  --ink: #161721;
  --ink-soft: #1d1f2c;
  --gray: #4a4c56;
  --gray-light: #eaeaea;
  --blue-pale: #eaf4fb;
  --amber: #f2a93b;
  --white: #ffffff;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max-width: 1240px;

  --shadow-card: 0 20px 45px -25px rgba(14, 42, 77, 0.35);
  --shadow-soft: 0 10px 30px -15px rgba(14, 42, 77, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink-soft);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

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

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 64px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow--blue {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.eyebrow--light {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 16px 0 14px;
  line-height: 1.2;
}

.section-head p {
  color: var(--gray);
  font-size: 1.05rem;
}

.section-head--light p {
  color: rgba(255, 255, 255, 0.78);
}

.text-accent {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #2183c3, #2892d7);
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(40, 146, 215, 0.65);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -10px rgba(40, 146, 215, 0.75);
}

.btn-amber {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 10px 24px -10px rgba(242, 169, 59, 0.6);
}

.btn-amber:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -10px rgba(242, 169, 59, 0.7);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-block {
  width: 100%;
}

.btn-phone {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  font-size: 1.05rem;
}

.btn-phone:hover {
  background: rgba(255, 255, 255, 0.14);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  white-space: nowrap;
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 28px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.nav-links li {
  flex-shrink: 0;
}

.nav-links a {
  transition: color 0.15s ease;
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-phone svg {
  color: var(--primary);
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--navy);
}

.nav-toggle:hover {
  background: var(--blue-pale);
}

.nav-extra {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: 48px 0;
  min-height: calc(100vw * 929 / 1693);
  max-height: 760px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8, 32, 64, 0.25) 0%, rgba(8, 32, 64, 0.1) 30%, rgba(14, 42, 77, 0) 55%),
    url('hero-bg.jpg') center / cover no-repeat;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-grid > div:first-child {
  align-self: start;
  padding-top: 3%;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero h1 span {
  color: #9fd2f2;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin-bottom: 22px;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-bullet {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
  font-weight: 500;
}

.hero-bullet .check {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Offer form card
   Solid white card (was a frosted/translucent glass panel that let the
   hero photo show through the form and made labels/placeholders hard
   to read). Boxed, filled inputs replace the old transparent
   bottom-border-only fields so the form reads as a real, finished UI
   element rather than text floating over a photo. */
.offer-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 30px 70px -20px rgba(5, 18, 38, 0.55);
}

.js-offer-form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.offer-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.offer-card-sub {
  font-size: 0.92rem;
  color: var(--gray);
  margin-bottom: 22px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.field-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.field-input-wrap svg {
  position: absolute;
  left: 14px;
  color: #9aa3b5;
  flex-shrink: 0;
  pointer-events: none;
}

.field input {
  width: 100%;
  background: #f8f9fb;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-size: 0.92rem;
  font-family: inherit;
  padding: 12px 14px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.field-input-wrap input {
  padding-left: 40px;
}

.field input::placeholder {
  color: #a7aebc;
}

.field input:focus {
  border-color: var(--primary);
  background: var(--white);
  outline: none;
}

.form-note {
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 14px;
  text-align: center;
}

.form-success {
  display: none;
  background: var(--blue-pale);
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 28px 20px;
  text-align: center;
  font-weight: 500;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.65;
}

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

.js-offer-form.form-submitted {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.js-offer-form.form-submitted .field,
.js-offer-form.form-submitted > .btn,
.js-offer-form.form-submitted .form-note,
.js-offer-form.form-submitted .form-error {
  display: none !important;
}

.js-offer-form.form-submitted .form-success {
  display: block;
  width: 100%;
  margin-top: 0;
}

/* ---- Google Places Autocomplete dropdown styling ---- */
.pac-container {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--primary);
  box-shadow: 0 10px 30px -10px rgba(14, 42, 77, 0.25);
  font-family: 'Poppins', sans-serif;
  margin-top: 4px;
  overflow: hidden;
}

.pac-item {
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--navy);
  cursor: pointer;
  border-top: 1px solid var(--gray-light);
}

.pac-item:first-child { border-top: none; }
.pac-item:hover, .pac-item-selected { background: var(--blue-pale); }
.pac-item-query { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.pac-icon { display: none; }
.pac-matched { color: var(--primary); font-weight: 600; }

.form-error {
  display: none;
  font-size: 0.85rem;
  color: #c0392b;
  text-align: center;
  margin-top: 12px;
}

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

.highlights {
  background: var(--blue-pale);
  border-bottom: 1px solid var(--gray-light);
  padding: 24px 0;
  position: relative;
  z-index: 2;
}

.highlights-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 36px;
}

.highlights-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  white-space: nowrap;
}

.highlights-grid svg {
  color: var(--primary);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .highlights-grid {
    justify-content: flex-start;
    gap: 12px 24px;
  }

  .highlights-grid li {
    white-space: normal;
    font-size: 0.9rem;
  }
}

.situations {
  background: var(--gray-light);
}

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

.situation-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  cursor: default;
}

.situation-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 0 0 var(--primary), 0 28px 50px -18px rgba(14, 42, 77, 0.3);
}

.situation-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--blue-pale);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.situation-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}

.situation-card p {
  color: var(--gray);
  font-size: 0.98rem;
}

.how {
  background: var(--navy-light);
  color: var(--white);
}

.how .section-head h2 {
  color: var(--white);
}

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

.how-step {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  color: var(--ink-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  cursor: default;
}

.how-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 0 0 var(--primary), 0 28px 50px -18px rgba(14, 42, 77, 0.3);
}

.how-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.how-step h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.how-step p {
  color: var(--gray);
}

.compare-table {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
}

.compare-row + .compare-row {
  border-top: 1px solid var(--gray-light);
}

.compare-row > div {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  font-size: 0.98rem;
}

.compare-row.head {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}

.compare-row.head > div:first-child {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

.compare-label {
  font-weight: 500;
  color: var(--ink);
}

.compare-row:not(.head) > div:not(.compare-label) {
  color: var(--gray);
  gap: 10px;
}

.compare-row.highlight:not(.head) {
  background: var(--blue-pale);
}

.compare-row.highlight:not(.head) > div:not(.compare-label) {
  color: var(--ink);
  font-weight: 500;
}

.icon-yes {
  color: var(--primary);
  flex-shrink: 0;
}

.icon-no {
  color: #b6b9c2;
  flex-shrink: 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  color: var(--ink);
}

.faq-question .plus {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question .plus {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--gray);
}

.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.cta-banner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.areas {
  background: var(--blue-pale);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 32px;
}

.area-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
}

.area-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 40px;
  padding: 72px 0 40px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px;
}

.footer-tagline {
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.95rem;
}

.footer-col ul a {
  transition: color 0.15s ease;
}

.footer-col ul a:hover {
  color: var(--white);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1024px) {
  .hero {
    aspect-ratio: auto;
    display: block;
    min-height: 0;
    max-height: none;
    overflow: visible;
    padding: 40px 0 60px;
    position: relative;
    z-index: 1;
  }

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

  .hero-grid > div:first-child {
    padding-top: 0;
    margin-bottom: 300px;
  }

  .hero-bg {
    bottom: auto;
    height: 480px;
    background:
      linear-gradient(180deg, rgba(8, 32, 64, 0.35) 0%, rgba(8, 32, 64, 0.6) 55%, var(--navy) 100%),
      url('hero-bg.jpg') center top / cover no-repeat;
  }

  .offer-card {
    max-width: 480px;
  }

  .situations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-steps {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--gray-light);
    box-shadow: var(--shadow-soft);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-actions > .nav-phone,
  .nav-actions > a.btn-primary {
    display: none;
  }

  .nav-extra {
    display: flex !important;
    width: 100%;
  }

  .nav-extra .nav-phone {
    font-size: 1.05rem;
  }

  .nav-extra .btn {
    width: 100%;
  }

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

  .compare-row > div {
    padding: 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

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

  .areas-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero {
    padding: 28px 0 48px;
    position: relative;
    z-index: 1;
  }

  .hero-grid > div:first-child {
    margin-bottom: 32px;
  }

  .hero-bg {
    height: 260px;
    background:
      linear-gradient(180deg, rgba(8, 32, 64, 0.3) 0%, rgba(8, 32, 64, 0.75) 70%, var(--navy) 100%),
      url('hero-bg.jpg') center top / cover no-repeat;
  }

  .hero-sub {
    margin-bottom: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .offer-card {
    max-width: 100%;
    padding: 28px 22px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding: 56px 0 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}



/* ============================================
   RECENT CLOSINGS CAROUSEL
   ============================================ */
.closings {
  background: var(--white);
  overflow: hidden;
}

.closings-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}

.closings-carousel {
  display: flex;
  gap: 24px;
  overflow: hidden;
  scroll-behavior: smooth;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.closings-carousel::-webkit-scrollbar { display: none; }

.closing-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.closing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 0 0 var(--gold), 0 28px 50px -18px rgba(14, 42, 77, 0.25);
}

.closing-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-light);
}

.closing-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.closing-card:hover .closing-img-wrap img {
  transform: scale(1.04);
}

.closing-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #D32F2F;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.closing-body {
  padding: 18px 20px 20px;
}

.closing-address {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.closing-city {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 12px;
}

.closing-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.closing-meta span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
}

.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gray-light);
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-light);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.35);
}

@media (max-width: 1024px) {
  .closing-card { flex: 0 0 calc(50% - 12px); }
}

@media (max-width: 640px) {
  .closing-card { flex: 0 0 100%; }
  .carousel-btn { width: 36px; height: 36px; }
}
