:root {
  --magma-navy: #0f1724;
  --magma-navy-2: #172033;
  --magma-ink: #12151c;
  --magma-muted: #5c6575;
  --magma-line: #e6e9ef;
  --magma-bg: #f4f6f9;
  --magma-white: #ffffff;
  --magma-orange: #ff6a1a;
  --magma-red: #e11d2e;
  --magma-grad: linear-gradient(135deg, #e11d2e 0%, #ff6a1a 55%, #ffb020 100%);
  --magma-radius: 16px;
  --magma-shadow: 0 14px 40px rgba(15, 23, 36, 0.09);
  --magma-font: "Manrope", system-ui, sans-serif;
  --magma-display: "Outfit", "Manrope", system-ui, sans-serif;
}

body {
  font-family: var(--magma-font);
  color: var(--magma-ink);
  background: #fafbfc;
}

.site-header,
.main-header-bar,
.ast-primary-header-bar,
.ast-main-header-wrap,
.ast-above-header-bar,
.ast-below-header-bar {
  background: var(--magma-navy) !important;
  border: 0 !important;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
}

.ast-custom-logo-link,
.custom-logo-link {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  box-shadow: none !important;
}
.ast-custom-logo-link img,
.custom-logo-link img,
.custom-logo {
  max-height: 56px !important;
  width: auto !important;
  height: auto !important;
  max-width: 220px !important;
}
.site-branding .site-title,
.ast-site-title-wrap {
  display: none !important;
}

.ast-primary-header-bar .site-title a,
.ast-primary-header-bar .main-header-menu > .menu-item > .menu-link,
.main-navigation a,
.ast-header-custom-item a,
.ast-mobile-menu-buttons .menu-toggle {
  color: #fff !important;
  font-weight: 600;
}

.ast-primary-header-bar .main-header-menu > .menu-item > .menu-link:hover,
.main-navigation a:hover,
.ast-primary-header-bar .main-header-menu > .menu-item.current-menu-item > .menu-link {
  color: #ffb020 !important;
}

.site-footer,
.ast-footer-overlay,
.site-below-footer-wrap {
  background: var(--magma-navy) !important;
  color: rgba(255,255,255,.85) !important;
}

.site-footer a { color: #ffb020 !important; }
.ast-footer-copyright { text-align: center; }

.magma-kicker {
  display: inline-block;
  font-family: var(--magma-display);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  background: var(--magma-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 .75rem;
}

.magma-brand {
  font-family: var(--magma-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1rem;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
  animation: magmaFadeUp .7s ease both;
}

.magma-brand::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: .55rem;
  border-radius: 2px;
  background: var(--magma-grad);
}

.magma-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  border-radius: 0;
  margin: 0 0 2.75rem;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.magma-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  transform: scale(1.06);
  animation: magmaKen 18s ease-in-out infinite alternate;
  z-index: 0;
}

.magma-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(8,12,20,.88) 0%, rgba(8,12,20,.62) 42%, rgba(8,12,20,.28) 72%, rgba(225,29,46,.18) 100%),
    linear-gradient(0deg, rgba(8,12,20,.72) 0%, transparent 48%);
  pointer-events: none;
}

.magma-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 5.5rem 0 4.4rem;
}

.magma-hero h1 {
  font-family: var(--magma-display);
  font-size: clamp(2.25rem, 5.2vw, 3.85rem);
  line-height: 1.04;
  margin: 0 0 1rem;
  max-width: 15ch;
  font-weight: 800;
  color: #fff !important;
  text-shadow: 0 4px 28px rgba(0,0,0,.45);
  animation: magmaFadeUp .75s .08s ease both;
}

.magma-hero-sub {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255,255,255,.9);
  max-width: 44ch;
  margin: 0 0 1.75rem;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
  animation: magmaFadeUp .75s .16s ease both;
}

.magma-hero-ctas {
  animation: magmaFadeUp .75s .24s ease both;
}

.magma-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.6rem;
  animation: magmaFadeUp .75s .32s ease both;
}

.magma-hero-trust span {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .45rem .8rem;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.95);
}

@keyframes magmaKen {
  from { transform: scale(1.06) translate3d(0,0,0); }
  to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}

@keyframes magmaFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.magma-hero-ctas,
.magma-contact-actions,
.magma-single-top,
.magma-single-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.magma-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .88rem 1.3rem;
  border-radius: 999px;
  background: var(--magma-grad);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  border: 0;
  box-shadow: 0 10px 24px rgba(225,29,46,.28);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.magma-btn svg { flex-shrink: 0; }
.magma-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(225,29,46,.35);
  color: #fff !important;
  filter: brightness(1.04);
}

.magma-btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.45);
  box-shadow: none;
}
.magma-hero .magma-btn-outline { color: #fff !important; }
.magma-btn-outline:hover {
  border-color: #ffb020;
  color: #ffb020 !important;
}

.magma-btn-light {
  background: #fff;
  color: var(--magma-navy) !important;
  border: 1px solid var(--magma-line);
  box-shadow: 0 6px 16px rgba(15,23,36,.06);
}
.magma-btn-light:hover {
  color: var(--magma-red) !important;
  border-color: #ffc28a;
}

.magma-btn-wa {
  background: #25d366 !important;
  box-shadow: 0 10px 22px rgba(37, 211, 102, .28);
}
.magma-btn-wa:hover { filter: brightness(1.05); }

.magma-btn-sm {
  padding: .55rem .95rem;
  font-size: .9rem;
}

.magma-muted { color: var(--magma-muted); }

.magma-inventory { margin: 1rem 0 2rem; }

.magma-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.35rem;
}

.magma-card {
  background: var(--magma-white);
  border: 1px solid var(--magma-line);
  border-radius: var(--magma-radius);
  overflow: hidden;
  box-shadow: var(--magma-shadow);
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.magma-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(15, 23, 36, 0.12);
}

.magma-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dfe3ea;
}
.magma-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.magma-card:hover .magma-card-media img { transform: scale(1.04); }

.magma-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--magma-navy);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .35rem .55rem;
  border-radius: 999px;
}
.magma-badge-rent { background: var(--magma-grad); }
.magma-badge-sold { background: #6b7280; }
.magma-badge-reserved { background: #b45309; }

.magma-card-body { padding: 1.05rem 1.05rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.magma-card-title { font-family: var(--magma-display); font-size: 1.15rem; margin: 0; line-height: 1.25; }
.magma-card-title a { color: inherit; text-decoration: none; }
.magma-card-meta { margin: 0; color: var(--magma-muted); font-size: .92rem; }
.magma-card-footer { margin-top: auto; padding-top: .75rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.magma-price {
  font-family: var(--magma-display);
  font-weight: 800;
  font-size: 1.22rem;
  background: var(--magma-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.magma-contact {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 1.35rem;
  margin: 1rem 0 2rem;
  align-items: stretch;
}

.magma-contact-card,
.magma-pricing,
.magma-rent-hero,
.magma-single {
  background: var(--magma-white);
  border: 1px solid var(--magma-line);
  border-radius: var(--magma-radius);
  padding: 1.5rem;
  box-shadow: var(--magma-shadow);
}

.magma-contact-head {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1rem;
}
.magma-contact-head h3 { margin: 0 0 .15rem; font-family: var(--magma-display); font-size: 1.35rem; }
.magma-contact-head .magma-muted { margin: 0; }

.magma-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: var(--magma-grad);
  box-shadow: 0 8px 18px rgba(225,29,46,.25);
}

.magma-contact-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.magma-contact-list li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: .85rem 0;
  border-bottom: 1px solid var(--magma-line);
}
.magma-contact-list li:last-child { border-bottom: 0; }
.magma-contact-list strong {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--magma-muted);
  margin-bottom: .15rem;
}
.magma-contact-list a,
.magma-contact-list span {
  color: var(--magma-ink);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.4;
}
.magma-contact-list a:hover { color: var(--magma-orange); }

.magma-ci {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff4ec;
  color: var(--magma-orange);
  flex-shrink: 0;
}

.magma-social {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.magma-social-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem .9rem;
  border-radius: 999px;
  background: var(--magma-bg);
  border: 1px solid var(--magma-line);
  color: var(--magma-ink) !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.magma-social-btn:hover {
  border-color: #ffb070;
  color: var(--magma-orange) !important;
  transform: translateY(-1px);
}

.magma-map {
  position: relative;
  border-radius: var(--magma-radius);
  overflow: hidden;
  min-height: 420px;
  height: 100%;
  border: 1px solid var(--magma-line);
  box-shadow: var(--magma-shadow);
  background:
    linear-gradient(180deg, rgba(15,23,36,.02), rgba(15,23,36,.05)),
    #eef1f5;
  display: flex;
  flex-direction: column;
}
.magma-map iframe {
  width: 100%;
  flex: 1;
  min-height: 360px;
  border: 0;
  background: #e8edf3;
}
.magma-map-link {
  display: block;
  text-align: center;
  padding: .85rem 1rem;
  background: var(--magma-navy);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
}
.magma-map-link:hover { color: #ffb020 !important; }

.magma-rent-landing { display: grid; gap: 1.25rem; }
.magma-rent-hero {
  background:
    radial-gradient(circle at 90% 10%, rgba(255,106,26,.18), transparent 25%),
    linear-gradient(145deg, #101826, #1a2436);
  color: #fff;
}
.magma-rent-hero h2 { font-family: var(--magma-display); margin: 0 0 .75rem; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.magma-rent-hero p { color: rgba(255,255,255,.82); max-width: 52ch; }

.magma-pricing ul { list-style: none; padding: 0; margin: 1rem 0 1rem; }
.magma-pricing li {
  display: flex;
  justify-content: space-between;
  padding: .85rem 0;
  border-bottom: 1px solid var(--magma-line);
  font-size: 1.02rem;
}
.magma-pricing strong { font-family: var(--magma-display); color: var(--magma-red); }

.magma-single-top { align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.magma-single-price {
  font-family: var(--magma-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--magma-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.magma-specs { margin: 1rem 0 1.5rem; }
.magma-specs h3,
.magma-single-desc h3 { font-family: var(--magma-display); margin: 0 0 .75rem; }
.magma-specs dl {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .75rem;
  margin: 0;
}
.magma-specs div {
  background: var(--magma-bg);
  border-radius: 12px;
  padding: .85rem 1rem;
}
.magma-specs dt {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--magma-muted);
  margin: 0 0 .2rem;
}
.magma-specs dd { margin: 0; font-weight: 700; }

.magma-wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: #25d366;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  padding: .85rem 1.05rem;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .35);
  animation: magmaPulse 2.4s ease-in-out infinite;
}
.magma-wa-float:hover { filter: brightness(1.05); color: #fff !important; }

@keyframes magmaPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.magma-empty {
  padding: 2rem;
  text-align: center;
  background: var(--magma-bg);
  border-radius: var(--magma-radius);
}

.page .entry-content > *:first-child.magma-hero,
.ast-plain-container .entry-content > .magma-hero:first-child,
.home .entry-content > .magma-hero:first-child,
.page-id-14 .entry-content > .magma-hero:first-child {
  margin-top: 0 !important;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.entry-header { margin-bottom: 1.25rem; }
.entry-title { font-family: var(--magma-display); }
.home .entry-header,
.page-id-14 .entry-header {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.home #content.site-content,
.page-id-14 #content.site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.home .site-content > .ast-container,
.page-id-14 .site-content > .ast-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
.home #primary,
.page-id-14 #primary,
.home .ast-article-single,
.page-id-14 .ast-article-single,
.home .entry-content,
.page-id-14 .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

@media (max-width: 900px) {
  .magma-contact { grid-template-columns: 1fr; }
  .magma-map { min-height: 320px; }
  .magma-hero { min-height: 78vh; align-items: flex-end; }
  .magma-hero-inner { padding: 3.2rem 0 2.6rem; }
  .ast-custom-logo-link img,
  .custom-logo-link img,
  .custom-logo { max-height: 44px !important; max-width: 170px !important; }
  .magma-wa-float span { display: none; }
  .magma-wa-float { padding: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .magma-hero-media,
  .magma-brand,
  .magma-hero h1,
  .magma-hero-sub,
  .magma-hero-ctas,
  .magma-hero-trust { animation: none !important; }
}
