/* ===================================================================
   MAGNO ACQUISITIONS — base styles
   =================================================================== */

:root {
  --bg: #121417;
  --bg-raised: #1B1E23;
  --bg-raised-2: #22262C;
  --blue: #4A6B8A;
  --blue-light: #7C97AF;
  --text: #F5F2EC;
  --text-muted: #A7ADB6;
  --accent: #3EA968;
  --accent-hover: #4CBE79;
  --border: rgba(245, 242, 236, 0.10);

  --font-head: "Archivo", sans-serif;
  --font-body: "Inter", sans-serif;

  --container: 1200px;
  --nav-h: 84px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

section { position: relative; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background: var(--accent);
  color: #17191C;
}
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  border-color: rgba(245, 242, 236, 0.35);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--text); transform: translateY(-1px); }

.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 16px 30px; font-size: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: linear-gradient(to bottom, rgba(18,20,23,0.85), rgba(18,20,23,0));
  backdrop-filter: blur(2px);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.nav.is-scrolled {
  background: rgba(18, 20, 23, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--text);
  line-height: 1;
  display: flex;
  flex-direction: column;
}

.nav__logo-text--light {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--blue-light);
  margin-top: 4px;
}

.nav__links {
  display: flex;
  gap: 32px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  flex: 1;
  justify-content: center;
}

.nav__links a { transition: color 0.15s ease; }
.nav__links a:hover { color: var(--text); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  cursor: pointer;
}
.lang-toggle__opt { padding: 2px 4px; transition: color 0.15s ease; }
.lang-toggle__opt.is-active { color: var(--text); }
.lang-toggle__divider { color: var(--border); }

.nav__phone {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

body.nav-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav__burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 4px;
  background: rgba(18, 20, 23, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px 24px;
}

body.nav-open .mobile-menu { display: flex; }
body.nav-open { overflow: hidden; }

.mobile-menu a {
  padding: 14px 4px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-menu__phone { color: var(--blue-light) !important; }
.mobile-menu__cta {
  border-bottom: none !important;
  margin-top: 12px;
  text-align: center;
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  height: 100svh;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(13,14,16,0.96) 0%, rgba(13,14,16,0.72) 28%, rgba(13,14,16,0.28) 58%, rgba(13,14,16,0.35) 100%),
    linear-gradient(to right, rgba(13,14,16,0.35) 0%, rgba(13,14,16,0) 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 32px 96px;
}

.hero__eyebrow {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
}

.hero__headline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.3rem, 4.4vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 960px;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(245,242,236,0.4);
  border-radius: 999px;
}

.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--text);
  border-radius: 999px;
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { opacity: 1; top: 8px; }
  60% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 22px; }
}

/* ---------- Shared section elements ---------- */
section:not(.hero):not(.breather) { padding: 100px 0; }

.eyebrow {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 16px;
}
.eyebrow--center { text-align: center; }
.eyebrow--on-panel { color: var(--accent); }

.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.section-title--center {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

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

/* Reusable full-bleed section background photo */
.section-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.section-media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section-media__img--bright {
  filter: brightness(1.35) saturate(1.08) contrast(1.02);
}
.section-media__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(18,20,23,0.88) 0%,
    rgba(18,20,23,0.62) 22%,
    rgba(18,20,23,0.62) 78%,
    rgba(18,20,23,0.88) 100%
  );
}
.section-media__overlay--strong {
  background: linear-gradient(
    to bottom,
    rgba(15,17,19,0.93) 0%,
    rgba(15,17,19,0.8) 25%,
    rgba(15,17,19,0.8) 75%,
    rgba(15,17,19,0.93) 100%
  );
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Benefits ---------- */
.benefits__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.benefit-card {
  flex: 1 1 280px;
  max-width: 320px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
}

.benefit-card__icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  box-sizing: border-box;
  color: var(--blue-light);
  background: rgba(124, 151, 175, 0.12);
  border-radius: 12px;
  margin-bottom: 20px;
}

.benefit-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ---------- How it works ---------- */
.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.how__grid > * { min-width: 0; }

.how-step__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.2rem;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue-light);
  opacity: 0.55;
  margin-bottom: 18px;
}

.how-step h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.how-step p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.how__cta { text-align: center; margin-top: 56px; }

/* ---------- Compare ---------- */
.compare { background: var(--bg-raised); overflow: hidden; }
.compare > .container { position: relative; z-index: 1; }

.compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.compare__grid > * { min-width: 0; }

.compare__col {
  padding: 36px 32px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(18, 20, 23, 0.72);
  backdrop-filter: blur(8px);
}

.compare__col--us {
  background: linear-gradient(160deg, rgba(62,169,104,0.32), rgba(18,20,23,0.78));
  border-color: rgba(62,169,104,0.45);
}

.compare__col h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.compare__list { display: flex; flex-direction: column; gap: 16px; }
.compare__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.05rem; }
.compare__list--muted li { color: var(--text-muted); }

.compare__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  margin-top: 1px;
}
.compare__icon--yes { background: rgba(62,169,104,0.18); color: var(--accent); }
.compare__icon--no { background: rgba(184,92,92,0.14); color: #C97A7A; }

/* ---------- Situations ---------- */
.situations { overflow: hidden; }
.situations > .container { position: relative; z-index: 1; }

.situations__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}

.situation-chip {
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-raised);
}

.situations__note {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 36px auto 0;
  font-size: 1.05rem;
}

/* ---------- Breather photo ---------- */
.breather {
  position: relative;
  height: 46vh;
  min-height: 320px;
  overflow: hidden;
}
.breather__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.breather__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(18,20,23,0.35), rgba(18,20,23,0.55));
}

/* ---------- For agents ---------- */
.agents { background: var(--bg-raised); }
.agents__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.agents__text { min-width: 0; }
.agents__body {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 20px 0 32px;
}
.agents__media {
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.agents__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

/* ---------- Cash offer form ---------- */
.offer__panel {
  background:
    linear-gradient(160deg, rgba(74,107,138,0.16), rgba(62,169,104,0.07)),
    var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}
.offer__panel > * { min-width: 0; }

.offer__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 18px;
}

.offer__body { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }

.offer__form { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.offer__form[hidden] { display: none; }

.form-row { display: grid; gap: 14px; min-width: 0; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
.form-row--3 { grid-template-columns: 2fr 1fr 1fr; }

.form-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.form-field span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-field input,
.form-field select {
  width: 100%;
  min-width: 0;
  background: rgba(18,20,23,0.5);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
}
.form-field input::placeholder { color: rgba(167,173,182,0.6); }
.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--blue-light);
}
.form-field select { appearance: none; }
.form-field select:invalid { color: rgba(167,173,182,0.6); }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(18,20,23,0.35);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}
.consent input {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.consent span {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.consent a { color: var(--blue-light); text-decoration: underline; }

.offer__submit { width: 100%; margin-top: 4px; }

.offer__disclaimer {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  opacity: 0.8;
}

.offer__success {
  text-align: center;
  padding: 40px 20px;
}
.offer__success h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--accent);
}
.offer__success p { color: var(--text-muted); max-width: 420px; margin: 0 auto; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 24px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
}

.faq-item__icon {
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--blue-light);
  transition: transform 0.25s ease;
  font-weight: 400;
}
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.is-open .faq-item__a { max-height: 300px; }
.faq-item__a p {
  padding: 0 24px 22px;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 1.05rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-raised);
  padding: 72px 0 32px;
  border-top: 1px solid var(--border);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer__logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 20px;
  display: block;
}
.footer__logo--light {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--blue-light);
  margin-top: 4px;
}

.footer__tagline {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.6;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__contact a { font-weight: 600; }
.footer__contact a:hover { color: var(--blue-light); }

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.02rem;
  color: var(--text-muted);
}
.footer__links a:hover { color: var(--text); }

.footer__legal {
  padding-top: 28px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer__legal p { max-width: 900px; margin-bottom: 12px; }

.footer__legal-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.footer__legal-links a { color: var(--text-muted); text-decoration: underline; }
.footer__legal-links a:hover { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__phone { display: none; }
  .nav__actions .btn--sm { display: none; }
  .nav__burger { display: flex; }

  .how__grid { grid-template-columns: 1fr; gap: 40px; }
  .compare__grid { grid-template-columns: 1fr; }
  .offer__panel { grid-template-columns: 1fr; padding: 40px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .agents__inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .agents__media { aspect-ratio: 16 / 9; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 680px) {
  :root { --nav-h: 72px; }
  .nav__inner { padding: 0 20px; }
  .nav__actions .btn--sm { display: none; }
  .nav__burger { display: flex; }
  .lang-toggle { padding: 5px 8px; }

  .hero__content { padding: 0 20px 64px; }
  .hero__eyebrow { font-size: 11px; letter-spacing: 0.06em; line-height: 1.6; }
  .hero__actions { flex-direction: column; align-self: stretch; }
  .hero__actions .btn { width: 100%; }

  section:not(.hero):not(.breather) { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }

  .form-row--2, .form-row--3 { grid-template-columns: 1fr; }
  .offer__panel { padding: 28px 20px; border-radius: 18px; }
  .compare__col { padding: 26px 22px; }
}
