@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
:root {
  --deep: #0c3a21;
  --deep-2: #0f4a2a;
  --green: #226837;
  --bright: #55bd3d;
  --light: #8fe767;
  --ink: #15261b;
  --muted: #5f6d64;
  --line: #e2eae2;
  --wash: #f3f8f2;
  --white: #fff;
  --radius: 12px;
  --shadow:
    0 1px 2px rgba(12, 58, 33, 0.05), 0 10px 30px rgba(12, 58, 33, 0.08);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font:
    16px/1.55 Outfit,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--bright);
  outline-offset: 3px;
}
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
svg.i {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Top bar */
.topbar {
  background: var(--deep);
  color: #dcebdc;
  font-size: 13.5px;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  gap: 20px;
}
.topbar ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.topbar li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar li svg {
  color: var(--light);
}
.topbar .right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.topbar .right a {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.topbar .right a:hover {
  color: var(--light);
}
.topbar b {
  color: #fff;
  font-weight: 500;
}

/* Header */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow 0.3s,
    border-color 0.3s;
}
header.site.scrolled {
  box-shadow: 0 6px 24px rgba(12, 58, 33, 0.07);
  border-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  transition: height 0.3s;
}
header.site.scrolled .nav {
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  transition:
    width 0.3s,
    height 0.3s,
    transform 0.6s;
}
header.site.scrolled .brand img {
  width: 50px;
  height: 50px;
}
.brand:hover img {
  transform: rotate(-12deg);
}
.brand strong {
  display: block;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.6px;
  line-height: 1;
  color: var(--deep);
}
.brand small {
  display: block;
  font-size: 11.5px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 5px;
  font-weight: 500;
}
.menu {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 450;
}
.menu a {
  position: relative;
  padding: 8px 0;
  color: #2c3a31;
  transition: color 0.2s;
}
.menu a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.menu a:hover,
.menu a.active {
  color: var(--green);
}
.menu a:hover:after,
.menu a.active:after {
  transform: scaleX(1);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 9px;
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  transition:
    transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1),
    background 0.25s,
    box-shadow 0.25s,
    color 0.25s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn:hover {
  background: var(--deep);
  border-color: var(--deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(34, 104, 55, 0.25);
}
.btn .i {
  transition: transform 0.25s;
}
.btn:hover .i {
  transform: translateX(4px);
}
.btn.ghost {
  background: #fff;
  color: var(--deep);
  border-color: #cfdccf;
}
.btn.ghost:hover {
  background: #fff;
  border-color: var(--green);
  color: var(--green);
}
.btn.light {
  background: #fff;
  color: var(--deep);
  border-color: #fff;
}
.btn.light:hover {
  background: var(--light);
  border-color: var(--light);
  color: var(--deep);
}
.btn.sm {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
}
.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  align-items: center;
  justify-content: center;
  color: var(--deep);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/hero.webp") right center/cover no-repeat;
  transform: scale(1.08);
  animation: kenburns 18s ease-out forwards;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      #fff 0%,
      #fff 32%,
      rgba(255, 255, 255, 0.86) 44%,
      rgba(255, 255, 255, 0) 64%
    ),
    linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 22%);
}
@keyframes kenburns {
  to {
    transform: scale(1);
  }
}
.hero > .wrap {
  width: 100%;
}
.menu a.btn {
  color: #fff;
  padding: 10px 18px;
}
.menu a.btn:after {
  display: none;
}
.menu a.btn:hover {
  color: #fff;
}
.hero-content {
  padding: 72px 0 150px;
  max-width: 560px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow:before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--bright);
  border-radius: 2px;
}
.hero h1 {
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -2.4px;
  font-weight: 600;
  margin: 18px 0 20px;
  color: var(--ink);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--green), var(--bright), var(--green));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine {
  to {
    background-position: 200% center;
  }
}
.hero p.lead {
  font-size: 18.5px;
  color: #3d4c42;
  max-width: 430px;
  margin: 0 0 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.play {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: grid;
  place-items: center;
}
.play svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
  stroke: none;
  margin-left: 2px;
}

/* Search */
.search-wrap {
  position: relative;
  z-index: 5;
  margin-top: -104px;
}
.tabs {
  display: inline-flex;
  background: #fff;
  border-radius: 12px 12px 0 0;
  padding: 6px 6px 0;
  gap: 4px;
  box-shadow: 0 -6px 18px rgba(12, 58, 33, 0.05);
}
.tab {
  border: 0;
  background: none;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  border-radius: 8px 8px 0 0;
  min-height: 44px;
}
.tab.active {
  color: var(--deep);
}
.tab.active:after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 4px;
  height: 2px;
  background: var(--bright);
  border-radius: 2px;
}
.search {
  background: #fff;
  border-radius: 0 14px 14px 14px;
  box-shadow:
    0 20px 50px rgba(12, 58, 33, 0.12),
    0 1px 2px rgba(12, 58, 33, 0.06);
  padding: 22px 22px 22px 28px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr auto;
  align-items: center;
  gap: 0;
}
.sf {
  padding: 4px 22px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.sf:first-child {
  padding-left: 0;
}
.sf:nth-child(4) {
  border-right: 0;
}
.sf label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.sf select,
.sf input {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 15px;
  color: var(--muted);
  padding: 6px 0;
  min-height: 36px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235f6d64' stroke-width='2.2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
}
.sf input {
  background-image: none;
}
.sf select:focus,
.sf input:focus {
  color: var(--ink);
}
.search .btn {
  min-height: 54px;
  padding: 14px 26px;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 56px 0 24px;
}
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ico {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    background 0.3s;
}
.ico svg {
  width: 24px;
  height: 24px;
}
.feature:hover .ico {
  transform: translateY(-4px) rotate(-6deg);
  background: var(--green);
}
.feature h3 {
  margin: 4px 0 4px;
  font-size: 16.5px;
  font-weight: 600;
}
.feature p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* Section heads */
section.block {
  padding: 72px 0;
}
.head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.head h2 {
  font-size: clamp(30px, 3.4vw, 40px);
  letter-spacing: -1.2px;
  line-height: 1.1;
  font-weight: 600;
  margin: 10px 0 0;
}
.head .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 500;
  min-height: 44px;
}
.head .more:hover .i {
  transform: translateX(4px);
}
.head .more .i {
  transition: transform 0.25s;
}
.controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--deep);
  transition: all 0.25s;
}
.arrow:hover {
  background: var(--deep);
  color: #fff;
  border-color: var(--deep);
}

/* Property cards */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 72px) / 4);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 6px 4px 24px;
  margin: 0 -4px;
}
.rail::-webkit-scrollbar {
  display: none;
}
.card {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.4s,
    border-color 0.4s;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(12, 58, 33, 0.12);
  border-color: #bfdcb6;
}
.card[hidden] {
  display: none;
}
/* Borde verde con reflejo — separado de la foto */
.image-frame {
  position: relative;
  padding: 8px;
  border-radius: 13px;
  isolation: isolate;
  background: #fff;
}
.image-frame:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 2.5px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--border-angle),
    #226837 0deg,
    #226837 245deg,
    #70d758 285deg,
    #caffb4 311deg,
    #7fe55f 329deg,
    #226837 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box exclude,
    linear-gradient(#fff 0 0);
  pointer-events: none;
  animation: border-reflection 6s linear infinite;
  animation-play-state: paused;
}
.image-frame.is-visible:before {
  animation-play-state: running;
}
@keyframes border-reflection {
  to {
    --border-angle: 360deg;
  }
}
.photo {
  display: block;
  width: 100%;
  height: 210px;
  border: 0;
  padding: 0;
  border-radius: 7px;
  overflow: hidden;
  background: var(--wash);
  position: relative;
}
.photo {
  background: linear-gradient(110deg, #eef4ec 30%, #f9fcf8 50%, #eef4ec 70%);
  background-size: 220% 100%;
  animation: skeleton 1.3s linear infinite;
}
.photo img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  animation: fade 0.7s ease both;
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
@keyframes skeleton {
  from {
    background-position: 120% 0;
  }
  to {
    background-position: -120% 0;
  }
}
.card:hover .photo img {
  transform: scale(1.07);
}
.badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 4;
  background: var(--deep);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
}
.badge.alt {
  background: var(--bright);
  color: var(--deep);
}
.fav {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  color: var(--green);
  transition:
    transform 0.25s,
    background 0.25s;
  backdrop-filter: blur(4px);
}
.fav:hover {
  transform: scale(1.12);
}
.fav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.fav[aria-pressed="true"] svg {
  fill: var(--bright);
  stroke: var(--green);
  animation: pop 0.35s;
}
@keyframes pop {
  50% {
    transform: scale(1.35);
  }
}
.info {
  padding: 16px 8px 6px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.price {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.6px;
  color: var(--deep);
  margin: 0;
}
.info h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 6px 0 2px;
  line-height: 1.35;
}
.loc {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.loc svg {
  width: 15px;
  height: 15px;
  color: var(--green);
}
.specs {
  margin-top: auto;
  display: flex;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 14px;
  color: #44524a;
}
.specs span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.specs svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}
.card-link {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--green);
  min-height: 44px;
  border-radius: 9px;
  padding: 0 14px;
  background: var(--wash);
  transition:
    background 0.25s,
    color 0.25s;
  border: 0;
  width: 100%;
}
.card-link:hover {
  background: var(--green);
  color: #fff;
}
.empty {
  border: 1px dashed #c8d9c8;
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  color: var(--muted);
}
.empty[hidden] {
  display: none;
}

/* Sell banner */
.sell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 18px;
  overflow: hidden;
  background: var(--deep);
  color: #fff;
  min-height: 340px;
  position: relative;
}
.sell-copy {
  padding: 56px 56px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sell-copy:before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 189, 61, 0.28), transparent 65%);
  left: -140px;
  top: -160px;
  z-index: -1;
  animation: float 9s ease-in-out infinite;
}
@keyframes float {
  50% {
    transform: translate(40px, 30px);
  }
}
.sell-copy .eyebrow {
  color: var(--light);
}
.sell-copy .eyebrow:before {
  background: var(--light);
}
.sell h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -1px;
  margin: 14px 0 14px;
  font-weight: 600;
}
.sell p {
  color: #cfe2d1;
  margin: 0 0 28px;
  max-width: 420px;
}
.sell-img {
  position: relative;
  overflow: hidden;
}
.sell-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sell:hover .sell-img img {
  transform: scale(1.05);
}
.sell-img:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--deep), rgba(12, 58, 33, 0) 30%);
  z-index: 1;
}
.chip {
  position: absolute;
  z-index: 2;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob {
  50% {
    transform: translateY(calc(-50% - 10px));
  }
}
.chip .ico {
  width: 48px;
  height: 48px;
}
.chip small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.chip strong {
  display: block;
  font-size: 19px;
  letter-spacing: -0.4px;
}
.chip .ok {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
}

/* Why */
.why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-item {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition:
    border-color 0.3s,
    background 0.3s,
    transform 0.3s;
}
.why-item:hover {
  border-color: var(--line);
  background: var(--wash);
  transform: translateY(-4px);
}
.why-item .ico {
  background: var(--wash);
  color: var(--green);
  width: 50px;
  height: 50px;
}
.why-item:hover .ico {
  background: #fff;
}
.why-item h3 {
  margin: 2px 0 6px;
  font-size: 16.5px;
  font-weight: 600;
}
.why-item p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

/* Contact strip */
.strip {
  background: linear-gradient(100deg, var(--wash), #e8f4e4);
  border: 1px solid #dcebd8;
  border-radius: 16px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: auto 1fr 1.25fr;
  gap: 24px;
  align-items: center;
}
.strip .big {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 2px solid var(--green);
  display: grid;
  place-items: center;
  color: var(--green);
}
.strip .big svg {
  width: 28px;
  height: 28px;
}
.strip h3 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 600;
}
.strip p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.strip form {
  display: flex;
  gap: 10px;
}
.strip input {
  flex: 1;
  min-width: 0;
  border: 1px solid #cfdfcc;
  border-radius: 9px;
  padding: 0 16px;
  min-height: 50px;
  background: #fff;
  font-size: 15px;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.strip input:focus {
  border-color: var(--bright);
  box-shadow: 0 0 0 4px rgba(85, 189, 61, 0.15);
}

/* Footer */
footer {
  background: var(--deep);
  color: #c9dccb;
  margin-top: 72px;
  font-size: 14.5px;
}
.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding: 64px 0 44px;
}
.foot .brand strong {
  color: #fff;
}
.foot .brand small {
  color: var(--light);
}
.foot p {
  margin: 18px 0;
  max-width: 280px;
  line-height: 1.6;
}
.foot h4 {
  color: #fff;
  font-size: 15px;
  margin: 6px 0 18px;
  font-weight: 600;
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.foot ul a {
  transition:
    color 0.2s,
    padding 0.2s;
}
.foot ul a:hover {
  color: var(--light);
  padding-left: 4px;
}
.foot .ct li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.foot .ct svg {
  color: var(--light);
  margin-top: 3px;
}
.foot .ct b {
  color: #fff;
  font-weight: 500;
}
.social {
  display: flex;
  gap: 10px;
}
.social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  transition:
    background 0.25s,
    transform 0.25s;
}
.social a:hover {
  background: var(--bright);
  color: var(--deep);
  transform: translateY(-3px);
}
.bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13.5px;
  color: #9fb9a3;
}

/* WhatsApp float */
.wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s;
}
.wa:hover {
  transform: scale(1.08);
}
.wa svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}
.wa:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: ring 2.4s ease-out infinite;
}
@keyframes ring {
  to {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Modal */
dialog {
  border: 0;
  padding: 0;
  border-radius: 18px;
  width: min(920px, calc(100vw - 32px));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  color: var(--ink);
}
dialog::backdrop {
  background: rgba(8, 35, 20, 0.55);
  backdrop-filter: blur(4px);
}
dialog[open] {
  animation: pop-in 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
}
.dlg {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.dlg .image-frame {
  margin: 14px;
  padding: 8px;
}
.dlg .photo {
  height: 100%;
  min-height: 320px;
}
.dlg-body {
  padding: 40px 36px 32px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dlg-body h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.6px;
  line-height: 1.2;
  font-weight: 600;
}
.dlg-body .price {
  font-size: 30px;
}
.dlg-body .btn {
  width: 100%;
}
.close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
}
.close:hover {
  background: var(--wash);
}
.note {
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 0;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.hero .reveal {
  transition-duration: 1s;
}

/* Responsive */
@media (max-width: 1100px) {
  .menu {
    gap: 20px;
    font-size: 14px;
  }
  .rail {
    grid-auto-columns: calc((100% - 48px) / 3);
  }
  .search {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 20px;
  }
  .sf {
    border: 0;
    padding: 0;
  }
  .search .btn {
    grid-column: 1/-1;
  }
  .why,
  .features {
    grid-template-columns: 1fr 1fr;
  }
  .foot {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 860px) {
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(12, 58, 33, 0.08);
  }
  .menu.open {
    display: flex;
  }
  .menu a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .menu .btn {
    margin-top: 14px;
  }
  .burger {
    display: flex;
  }
  .topbar ul li:nth-child(n + 2) {
    display: none;
  }
  .rail {
    grid-auto-columns: calc((100% - 24px) / 2);
  }
  .sell {
    grid-template-columns: 1fr;
  }
  .sell-img {
    min-height: 260px;
  }
  .sell-img:before {
    background: linear-gradient(180deg, var(--deep), rgba(12, 58, 33, 0) 30%);
  }
  .strip {
    grid-template-columns: auto 1fr;
  }
  .strip form {
    grid-column: 1/-1;
  }
  .dlg {
    grid-template-columns: 1fr;
  }
  .dlg .photo {
    min-height: 240px;
  }
  .dlg-body {
    padding: 8px 24px 28px;
  }
}
@media (max-width: 600px) {
  .wrap {
    padding: 0 20px;
  }
  .topbar ul {
    display: none;
  }
  .topbar .wrap {
    justify-content: center;
  }
  .topbar .right {
    gap: 18px;
  }
  .features {
    padding-top: 40px;
  }
  .nav {
    height: 76px;
  }
  .brand img {
    width: 50px;
    height: 50px;
  }
  .brand strong {
    font-size: 19px;
  }
  .brand small {
    font-size: 10px;
    letter-spacing: 1.8px;
  }
  .hero {
    min-height: 0;
  }
  .hero:before {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.88) 55%,
      rgba(255, 255, 255, 0.4) 80%,
      #fff 100%
    );
  }
  .hero-bg {
    background-position: 70% center;
  }
  .hero > .wrap {
    width: 100%;
  }
  .menu a.btn {
    color: #fff;
    padding: 10px 18px;
  }
  .menu a.btn:after {
    display: none;
  }
  .menu a.btn:hover {
    color: #fff;
  }
  .hero-content {
    padding: 44px 0 130px;
  }
  .hero h1 {
    letter-spacing: -1.6px;
  }
  .hero p.lead {
    font-size: 17px;
  }
  .hero-actions .btn {
    flex: 1 1 auto;
    padding: 12px 16px;
  }
  .tabs {
    display: flex;
  }
  .tab {
    flex: 1;
    padding: 12px 8px;
  }
  .search {
    grid-template-columns: 1fr;
    border-radius: 0 0 14px 14px;
  }
  .features,
  .why {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .why-item {
    padding: 14px 0;
  }
  .head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .rail {
    grid-auto-columns: 86%;
  }
  .sell-copy {
    padding: 36px 26px;
  }
  .chip {
    left: 20px;
    right: 20px;
  }
  .strip {
    padding: 24px 20px;
    grid-template-columns: 1fr;
  }
  .strip .big {
    display: none;
  }
  .strip form {
    flex-direction: column;
  }
  .foot {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0 32px;
  }
  .bottom {
    flex-direction: column;
  }
  section.block {
    padding: 52px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .image-frame:before {
    --border-angle: 300deg;
  }
  .hero-bg {
    transform: none;
  }
}
