/* ============================================================
   SCG Rental Services — Global Stylesheet
   Fonts: Fraunces (headlines) · Inter (body/UI) · Roboto Mono (accents)
   ============================================================ */

/* ROOT TOKENS */
:root {
  --ink:       #1c2421;
  --ink-soft:  #4a554f;
  --paper:     #f6f4ee;
  --paper-2:   #ece8de;
  --card:      #ffffff;
  --line:      #d9d3c5;
  --moss:      #3f5b47;
  --moss-deep: #2c4133;
  --clay:      #b5663f;
  --clay-soft: #c98a66;
  --shadow:    0 1px 2px rgba(28,36,33,.04), 0 8px 30px rgba(28,36,33,.06);
  --r:         14px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.01em;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* LAYOUT */
.wrap    { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.eyebrow { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); font-weight: 600; }
section  { padding: 88px 0; }
.alt     { background: var(--paper-2); }
.sec-head { max-width: 38em; margin-bottom: 46px; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 14px 0 0; }
.sec-head p  { color: var(--ink-soft); margin-top: 14px; font-size: 1.05rem; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .15s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--clay); color: #fff; box-shadow: 0 6px 20px rgba(181,102,63,.28); }
.btn-primary:hover { background: #a25733; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--moss); background: #fff; }

/* ── NAV ── */
header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246,244,238,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
header.scrolled { border-color: var(--line); }
nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand {
  display: flex; align-items: center; gap: 11px;
  font-family: 'Fraunces', serif; font-size: 1.18rem;
  font-weight: 600; letter-spacing: -.02em;
}
.mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--moss); color: #f6f4ee;
  display: grid; place-items: center;
  font-size: .85rem; font-weight: 600; letter-spacing: .02em;
  font-family: 'Inter', sans-serif;
}
.navlinks { display: flex; gap: 34px; align-items: center; }
.navlinks a {
  font-size: .92rem; color: var(--ink-soft); font-weight: 500;
  position: relative; padding: 4px 0; transition: color .2s;
}
.navlinks a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1.5px; background: var(--clay); transition: width .25s;
}
.navlinks a:hover { color: var(--ink); }
.navlinks a:hover::after { width: 100%; }
.navlinks a.active { color: var(--ink); }
.navlinks a.active::after { width: 100%; }
.nav-cta {
  background: var(--moss) !important; color: #f6f4ee !important;
  padding: 10px 20px; border-radius: 999px;
  font-size: .88rem !important; font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--moss-deep) !important; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { width: 23px; height: 2px; background: var(--ink); transition: .3s; }

/* ── FOOTER ── */
footer { background: var(--moss-deep); color: #cdd8cf; padding: 60px 0 28px; }
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12);
}
footer .brand { color: #f6f4ee; }
footer .mark  { background: var(--clay); }
.foot-grid > div:first-child p { font-size: .9rem; margin-top: 14px; max-width: 24em; color: #a9b8ac; }
.foot-col h4 {
  font-family: 'Inter'; font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: #8ba090; margin-bottom: 16px; font-weight: 600;
}
.foot-col a { display: block; font-size: .92rem; color: #cdd8cf; margin-bottom: 11px; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-bottom {
  display: flex; justify-content: space-between; padding-top: 24px;
  font-size: .82rem; color: #8ba090; flex-wrap: wrap; gap: 10px;
}

/* ── LISTING CARDS ── */
.listings { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.listing {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.listing:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(28,36,33,.12); }
.listing .img { height: 200px; position: relative; overflow: hidden; background: var(--paper-2); }
.listing .img img { width: 100%; height: 100%; object-fit: cover; }
.listing .img .img-placeholder { width: 100%; height: 100%; }
.listing .tag {
  position: absolute; top: 13px; left: 13px;
  font-size: .72rem; font-weight: 600; padding: 5px 12px;
  border-radius: 999px; background: rgba(246,244,238,.95); color: var(--moss-deep);
}
.listing .tag.leased { background: rgba(28,36,33,.78); color: #f6f4ee; }
.listing .info { padding: 18px 20px; }
.listing .info .price { font-family: 'Fraunces', serif; font-size: 1.35rem; font-weight: 600; }
.listing .info .price span { font-size: .8rem; color: var(--ink-soft); font-family: 'Inter'; }
.listing .info h3 { font-size: 1.02rem; margin: 2px 0 3px; font-weight: 600; font-family: 'Inter'; }
.listing .info .addr { font-size: .85rem; color: var(--ink-soft); }
.listing .info .specs {
  display: flex; gap: 15px; margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line); font-size: .8rem; color: var(--ink-soft);
}
.listing .info .specs b { color: var(--ink); font-weight: 600; }
.listing .info .cta { margin-top: 16px; display: block; text-align: center; }

/* ── FORMS ── */
.panel {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 34px; box-shadow: var(--shadow);
}
.panel h2, .panel h3 { font-size: 1.5rem; margin-bottom: 6px; }
.panel .sub { font-size: .92rem; color: var(--ink-soft); margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input,
.field select,
.field textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .92rem;
  background: var(--paper); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none; border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(63,91,71,.12); background: #fff;
}
.field textarea { resize: vertical; min-height: 96px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.panel .btn-primary { width: 100%; justify-content: center; margin-top: 8px; }
.note { font-size: .78rem; color: var(--ink-soft); margin-top: 14px; text-align: center; }
.ok-msg {
  display: none; background: #eef3ee; border: 1px solid #c2d4c5;
  color: var(--moss-deep); padding: 14px 16px; border-radius: 10px;
  font-size: .9rem; margin-top: 16px;
}
.ok-msg.show { display: block; }
.error-msg {
  display: none; background: #fdf0ee; border: 1px solid #e8c4ba;
  color: #7a3520; padding: 14px 16px; border-radius: 10px;
  font-size: .9rem; margin-top: 16px;
}
.error-msg.show { display: block; }

/* ── VALUE CARDS ── */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 8px; }
.value { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.value .ic {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--paper-2); display: grid; place-items: center;
  margin-bottom: 14px; color: var(--moss);
}
.value h3 { font-size: 1.05rem; font-family: 'Inter'; font-weight: 600; }
.value p  { font-size: .9rem; margin-top: 6px; color: var(--ink-soft); }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info .row { display: flex; gap: 15px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info .row:last-child { border-bottom: 0; }
.contact-info .ic {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--card); border: 1px solid var(--line);
  display: grid; place-items: center; flex-shrink: 0; color: var(--moss);
}
.contact-info .row b   { display: block; font-size: .95rem; }
.contact-info .row span { font-size: .9rem; color: var(--ink-soft); }
.map {
  height: 100%; min-height: 340px; border-radius: 18px;
  border: 1px solid var(--line); background: linear-gradient(135deg,#e7e2d6,#dcd6c8);
  position: relative; overflow: hidden;
}
.map svg  { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-100%); color: var(--clay); }

/* ── PAGE HERO (inner pages) ── */
.page-hero { padding: 60px 0 50px; border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { display: block; margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.page-hero p  { font-size: 1.1rem; color: var(--ink-soft); margin-top: 16px; max-width: 36em; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── STATES / LOADERS ── */
.loading-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 26px;
}
.skeleton {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
}
.skeleton .sk-img  { height: 200px; background: var(--paper-2); animation: pulse 1.4s ease-in-out infinite; }
.skeleton .sk-body { padding: 18px 20px; }
.skeleton .sk-line {
  height: 14px; border-radius: 6px;
  background: var(--paper-2); animation: pulse 1.4s ease-in-out infinite;
  margin-bottom: 10px;
}
.skeleton .sk-line.short { width: 60%; }
.skeleton .sk-line.med   { width: 80%; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }

.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-soft); }
.empty-state h3 { font-family: 'Inter'; font-size: 1.1rem; margin-bottom: 8px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .listings       { grid-template-columns: 1fr 1fr; }
  .contact-grid   { grid-template-columns: 1fr; }
  .foot-grid      { grid-template-columns: 1fr; }
  .navlinks {
    position: fixed; inset: 74px 0 auto 0;
    background: var(--paper); flex-direction: column;
    gap: 0; padding: 8px 0; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .35s; height: auto;
  }
  .navlinks.open  { transform: none; }
  .navlinks a     { padding: 15px 28px; width: 100%; border-bottom: 1px solid var(--line); }
  .navlinks a::after { display: none; }
  .nav-cta        { margin: 12px 28px; text-align: center; }
  .burger         { display: flex; }
  .two            { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .listings, .values { grid-template-columns: 1fr; }
  .wrap    { padding: 0 20px; }
  section  { padding: 60px 0; }
  .loading-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .loading-grid { grid-template-columns: 1fr; }
}
