@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;600;700;800&display=swap");
:root {
  --ink: #153b36;
  --green: #175747;
  --lime: #dcf580;
  --paper: #f8faf7;
  --muted: #677771;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: 1240px;
  margin: auto;
  padding-left: 40px;
  padding-right: 40px;
}
.topbar {
  height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: Manrope, sans-serif;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1.2px;
}
.brand span {
  color: #63825a;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2.6px;
  margin-top: 5px;
}
nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
}
.primary {
  border: 0;
  background: var(--green);
  color: white;
  border-radius: 7px;
  padding: 16px 23px;
  font-weight: 700;
  font-size: 14px;
  display: inline-block;
}
.primary:hover {
  background: #0d4034;
}
.hero {
  background: #e6eee5;
  overflow: hidden;
}
.hero-inner {
  min-height: 540px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
}
h1 {
  font-size: 68px;
  line-height: 1.08;
  letter-spacing: -3.5px;
  margin: 25px 0;
}
h1 em {
  font-style: normal;
  color: #65824c;
}
h2 {
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -1.5px;
  margin: 12px 0;
}
.intro {
  color: #52675d;
  line-height: 1.7;
  margin-bottom: 27px;
}
.hero-note {
  display: flex;
  gap: 20px;
  margin-top: 36px;
  font-size: 12px;
}
.hero-note span:first-child {
  font-weight: 700;
}
.hero-art {
  height: 390px;
  position: relative;
  isolation: isolate;
  align-self: end;
}
.hero-art svg {
  position: absolute;
  width: 115%;
  left: -5%;
  bottom: 50px;
  z-index: 3;
}
.sun {
  width: 190px;
  height: 190px;
  background: #d7e6aa;
  border-radius: 50%;
  position: absolute;
  right: 40px;
  top: 0;
}
.mountain {
  position: absolute;
  left: -40px;
  bottom: 60px;
  width: 640px;
  height: 260px;
  background: #9ab7a2;
  clip-path: polygon(0 100%, 38% 0, 65% 62%, 84% 24%, 100% 100%);
}
.mountain.back {
  background: #baccb7;
  left: 80px;
  bottom: 110px;
  transform: scale(0.9);
}
.art-label {
  position: absolute;
  bottom: 24px;
  right: 0;
  font-size: 10px;
  letter-spacing: 2px;
}
.catalog {
  padding-top: 64px;
  padding-bottom: 60px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 30px;
}
.section-heading > p {
  font-size: 14px;
  line-height: 1.7;
}
.section-heading > p span {
  color: var(--muted);
  font-size: 12px;
}
.filters {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr 1fr auto;
  gap: 16px;
  padding: 22px;
  border: 1px solid #dce4dc;
  border-radius: 10px;
  background: white;
}
label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
}
input,
select {
  min-width: 0;
  width: 100%;
  background: #f8faf7;
  border: 1px solid #dce4dc;
  border-radius: 5px;
  padding: 12px;
  color: var(--ink);
}
.reset {
  background: none;
  border: 0;
  color: var(--green);
  align-self: end;
  padding: 13px 0;
}
.count {
  font-size: 13px;
  color: var(--muted);
  margin: 25px 0 18px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  border: 1px solid #dce4dc;
  border-radius: 10px;
  overflow: hidden;
  background: white;
}
.car-image {
  height: 190px;
  position: relative;
  background: var(--bg);
  overflow: hidden;
}
.car-image svg {
  width: 90%;
  height: 100%;
  margin-left: 5%;
}
.tag {
  position: absolute;
  left: 15px;
  top: 15px;
  background: #fffdf1;
  padding: 5px 9px;
  font-size: 11px;
  border-radius: 4px;
}
.card-body {
  padding: 22px;
}
.card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  letter-spacing: -0.6px;
}
.specs {
  font-size: 13px;
  color: var(--muted);
}
.price {
  font-size: 23px;
  font-weight: 700;
  margin: 22px 0 14px;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  border-top: 1px solid #e6ebe6;
  padding-top: 17px;
}
.card-bottom button {
  border: 0;
  background: none;
  color: var(--green);
  font-weight: 700;
  padding: 7px;
}
.sell {
  background: var(--ink);
  color: white;
  border-radius: 12px;
  padding-top: 42px;
  padding-bottom: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sell .eyebrow {
  color: var(--lime);
}
.sell p {
  line-height: 1.7;
  font-size: 14px;
  color: #c5d5cb;
}
.sell .primary {
  background: var(--lime);
  color: var(--ink);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  padding-top: 54px;
  padding-bottom: 54px;
}
.steps b {
  font-size: 14px;
}
.steps p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
footer {
  border-top: 1px solid #dce4dc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 30px;
}
footer p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
dialog {
  border: 0;
  border-radius: 14px;
  padding: 35px;
  max-width: 610px;
  width: calc(100% - 32px);
  max-height: 90vh;
  color: var(--ink);
}
dialog::backdrop {
  background: #102d28aa;
}
.close {
  float: right;
  border: 0;
  background: #eef2ec;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 23px;
}
dialog p {
  line-height: 1.6;
}
.publish-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}
.publish-form > button,
.publish-form > p {
  grid-column: 1/-1;
}
:focus-visible {
  outline: 3px solid #839f26;
  outline-offset: 3px;
}
@media (max-width: 800px) {
  .wrap {
    padding-left: 22px;
    padding-right: 22px;
  }
  .topbar {
    height: 86px;
  }
  nav > a {
    display: none;
  }
  .brand {
    font-size: 21px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 35px;
  }
  h1 {
    font-size: 54px;
  }
  .hero-art {
    height: 290px;
    width: 100%;
    max-width: 500px;
    justify-self: center;
  }
  .hero-art svg {
    bottom: 25px;
  }
  .sun {
    height: 150px;
    width: 150px;
  }
  .art-label {
    bottom: 8px;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
  }
  .section-heading {
    display: block;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .sell {
    margin: 0 16px;
    display: block;
    padding: 30px;
  }
  .sell button {
    margin-top: 15px;
  }
  .steps {
    gap: 20px;
  }
  h2 {
    font-size: 30px;
  }
}
@media (max-width: 520px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .hero-note {
    gap: 10px;
    font-size: 11px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  footer {
    align-items: start;
    gap: 20px;
    flex-direction: column;
  }
  .publish-form {
    grid-template-columns: 1fr;
  }
  .primary {
    padding: 14px 16px;
  }
  .brand small {
    font-size: 8px;
  }
  .car-image {
    height: 210px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.ad-placement {
  padding-top: 32px;
}
.ad-label {
  display: block;
  font-size: 12px;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-bottom: 10px;
}
.ad-banner {
  min-height: 130px;
  border: 1px solid #cfdccc;
  border-radius: 10px;
  background: #eef3e8;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ad-banner strong {
  font-family: Manrope, sans-serif;
  font-size: 23px;
  letter-spacing: -0.6px;
}
.ad-banner p {
  color: #52675d;
  font-size: 14px;
  line-height: 1.6;
  margin: 9px 0 0;
}
.ad-placeholder {
  font-size: 14px;
  font-weight: 600;
  border: 1px dashed #879e80;
  border-radius: 6px;
  padding: 16px;
  white-space: nowrap;
}
.ad-secondary {
  padding-top: 0;
  padding-bottom: 44px;
}
.ad-secondary .ad-banner {
  background: #edf1f3;
  border-color: #d4dfe2;
}
@media (max-width: 600px) {
  .ad-banner {
    padding: 24px;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .ad-banner strong {
    font-size: 21px;
  }
  .ad-placeholder {
    white-space: normal;
  }
  .ad-label {
    font-size: 11px;
  }
}
/* Aplicación y panel */
[hidden] {
  display: none !important;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.secondary,
.danger {
  display: inline-block;
  border: 1px solid #cbd8cd;
  background: white;
  border-radius: 6px;
  padding: 11px 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.danger {
  color: #9f302b;
  border-color: #e4c6c2;
}
.secondary:hover {
  background: #edf3e9;
}
textarea {
  font: inherit;
  border: 1px solid #dce4dc;
  border-radius: 5px;
  padding: 12px;
  color: var(--ink);
  background: #f8faf7;
  width: 100%;
  resize: vertical;
}
.search-label {
  max-width: 440px;
  margin-top: 20px;
}
.car-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-link {
  display: block;
  margin-bottom: 18px;
}
.banner-link img {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  background: #edf2e9;
  border-radius: 8px;
}
.gallery {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  scroll-snap-type: x mandatory;
}
.gallery img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  scroll-snap-align: start;
  flex: 0 0 100%;
  background: #edf2e9;
  border-radius: 8px;
}
.description {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.notice {
  padding: 14px 16px;
  background: #eaf1e4;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.6;
}
.notice:empty {
  display: none;
}
.notice.error {
  background: #f9e8e5;
  color: #882c23;
}
.report-form {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}
.panel-main {
  min-height: 75vh;
  padding-top: 35px;
  padding-bottom: 70px;
}
#auth {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 70px;
  padding: 40px 0;
}
.auth-intro h1 {
  font-size: 50px;
}
.auth-intro p {
  line-height: 1.7;
}
.auth-box {
  padding: 30px;
  border: 1px solid #dce4dc;
  border-radius: 12px;
  background: white;
}
.stack {
  display: grid;
  gap: 20px;
}
.tabs {
  display: flex;
  border-bottom: 1px solid #dce4dc;
  margin-bottom: 26px;
}
.tabs button {
  padding: 15px;
  border: 0;
  background: none;
  color: var(--muted);
  font-weight: 700;
}
.tabs button.active {
  color: var(--green);
  border-bottom: 3px solid var(--green);
}
.help {
  font-size: 13px;
  line-height: 1.6;
  color: #586c62;
  font-weight: 400;
}
.dashboard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.dashboard-heading h1 {
  font-size: 43px;
  letter-spacing: -2px;
}
.panel-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 30px 0;
  border-bottom: 1px solid #dce4dc;
  padding-bottom: 18px;
}
.panel-tabs button {
  border: 1px solid #dce4dc;
  background: white;
  color: var(--ink);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 14px;
}
.panel-tabs button.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.panel-view {
  padding-top: 5px;
}
.panel-view > p {
  color: var(--muted);
  line-height: 1.6;
}
.editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  background: white;
  padding: 30px;
  border: 1px solid #dce4dc;
  border-radius: 10px;
  margin-top: 25px;
}
.wide {
  grid-column: 1/-1;
}
.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.photo-editor {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.photo-item {
  width: 170px;
  display: grid;
  gap: 7px;
  font-size: 13px;
}
.photo-item img {
  width: 170px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}
.mini-actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.mini-actions button {
  font-size: 12px;
  padding: 7px;
}
.manage-list {
  display: grid;
  gap: 20px;
  margin: 24px 0 40px;
}
.manage-card {
  display: grid;
  grid-template-columns: 250px 1fr;
  border: 1px solid #dce4dc;
  border-radius: 10px;
  overflow: hidden;
  background: white;
}
.manage-photos {
  display: flex;
  overflow-x: auto;
  align-items: start;
  scroll-snap-type: x mandatory;
  background: #e9eee7;
}
.manage-photos img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.manage-body {
  padding: 24px;
  min-width: 0;
}
.manage-body h3 {
  font-size: 23px;
  margin: 12px 0;
}
.status-pill {
  display: inline-block;
  padding: 5px 9px;
  background: #e7efdf;
  color: #36532c;
  font-size: 12px;
  border-radius: 5px;
}
.record {
  padding: 24px;
  border: 1px solid #dce4dc;
  border-radius: 8px;
  background: white;
  overflow-wrap: anywhere;
}
.record p {
  line-height: 1.6;
}
.banner-thumb {
  width: 100%;
  max-width: 600px;
  max-height: 160px;
  object-fit: contain;
  background: #eef2e9;
}
.narrow {
  max-width: 580px;
}
.check-label {
  flex-direction: row;
  align-items: center;
}
.check-label input {
  width: auto;
}
.panel-view h2 {
  margin-bottom: 22px;
}
#detail-content > .secondary {
  margin-left: 12px;
}
.card-bottom .secondary {
  padding: 7px;
}
.topbar nav > a:first-child {
  white-space: nowrap;
}
@media (max-width: 800px) {
  #auth {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 0;
  }
  .auth-intro h1 {
    font-size: 40px;
  }
  .auth-intro h1 br {
    display: none;
  }
  .manage-card {
    grid-template-columns: 200px 1fr;
  }
  .dashboard-heading h1 {
    font-size: 34px;
  }
  .dashboard-heading {
    align-items: start;
  }
  .topbar nav {
    gap: 12px;
  }
  .topbar nav > a {
    display: inline-block;
  }
  .topbar nav > a:first-child {
    display: none;
  }
}
@media (max-width: 550px) {
  .editor-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .manage-card {
    grid-template-columns: 1fr;
  }
  .manage-photos img {
    height: 230px;
  }
  .auth-box {
    padding: 22px;
  }
  .dashboard-heading {
    flex-direction: column;
    gap: 0;
  }
  .dashboard-heading h1 {
    font-size: 31px;
  }
  .panel-tabs {
    gap: 6px;
  }
  .panel-tabs button {
    padding: 11px;
    font-size: 13px;
  }
  .panel-main {
    padding-top: 20px;
  }
  .gallery img {
    max-height: 260px;
  }
  .photo-item,
  .photo-item img {
    width: 135px;
  }
  .topbar nav > a {
    font-size: 12px;
  }
  .topbar .brand {
    font-size: 20px;
  }
  .banner-link img {
    max-height: 360px;
  }
}

@media (max-width: 550px) {
  .topbar .brand small {
    display: none;
  }
  .topbar nav > a {
    white-space: nowrap;
  }
  .topbar nav {
    gap: 10px;
  }
  .topbar nav .primary {
    padding: 12px 10px;
  }
  .topbar .brand {
    font-size: 18px;
  }
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.account-title {
  font-size: 38px;
  letter-spacing: -1.5px;
}
.mail-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  line-height: 1.7;
}
.pagination {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 28px;
  flex-wrap: wrap;
}
.security-widget {
  position: relative;
  z-index: 20;
  padding: 12px;
  background: white;
}
.legal-content {
  max-width: 850px;
  line-height: 1.8;
}
.legal-content h1 {
  font-size: 44px;
  letter-spacing: -2px;
}
.legal-content h2 {
  font-size: 26px;
  margin-top: 36px;
}
.draft-label {
  background: #fff0c7;
  color: #76500d;
  padding: 18px;
  border-radius: 8px;
}
.check-label {
  flex-wrap: wrap;
}
.check-label a {
  text-decoration: underline;
}
.account-title + p {
  line-height: 1.7;
}
@media (max-width: 550px) {
  .account-title,
  .legal-content h1 {
    font-size: 32px;
  }
}
