/* ==========================================================================
   Avatara The Forest Kingdom - Thane
   Static site stylesheet. Palette sampled from logo.jpg / slider-1-1.jpg.
   ========================================================================== */

:root {
  /* Palette - sampled from the real assets, not guessed */
  --brand: #314931; /* logo.jpg background, all four corners */
  --brand-dark: #25381f;
  --forest: #2a3b28; /* slider-1-1.jpg dominant */
  --forest-deep: #1b2419;
  --accent: #7d9740; /* logo highlight */
  --accent-hover: #8faa4c;
  --night: #1c3554; /* slider-2-1.jpg */

  --ink: #1b2419;
  --body: #43503f;
  --muted: #6c7a66;
  --line: #dde3d6;
  --surface: #f6f7f3;
  --white: #fff;

  --container: 1380px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 18px rgba(27, 36, 25, 0.08);
  --shadow-lg: 0 18px 44px rgba(27, 36, 25, 0.16);
  --header-h: 90px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family:
    "Montserrat",
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover {
  color: var(--accent);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  color: var(--ink);
  line-height: 1.22;
  margin: 0 0 0.6em;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(1.75rem, 3.6vw, 2.85rem);
}
h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
}
h3 {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-weight: 700;
}
h4 {
  font-size: 1.05rem;
  font-weight: 700;
}
p {
  margin: 0 0 1.1em;
}
ul,
ol {
  margin: 0 0 1.1em;
  padding-left: 1.25em;
}
li {
  margin-bottom: 0.45em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
.section {
  padding: 76px 0;
}
.section--tint {
  background: var(--surface);
}
.section--forest {
  background: var(--brand);
  color: #e6ede2;
}
.section--forest h2,
.section--forest h3 {
  color: #fff;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Section heading ---------- */
.sec-head {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 44px;
}
.sec-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section--forest .sec-eyebrow {
  color: #b9cd86;
}
.sec-head h2 {
  text-transform: uppercase;
}
.sec-head p {
  color: var(--muted);
  margin-bottom: 0;
}
.section--forest .sec-head p {
  color: #cbd8c2;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: all 0.22s var(--ease);
}
.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(125, 151, 64, 0.28);
}
.btn--accent:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(125, 151, 64, 0.36);
}
.btn--outline {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn--outline:hover {
  background: var(--accent);
  color: #fff;
}
.btn--light {
  background: #fff;
  color: var(--brand);
}
.btn--light:hover {
  background: var(--accent);
  color: #fff;
}
.btn--block {
  width: 100%;
}
.btn--sm {
  padding: 11px 20px;
  font-size: 0.84rem;
}

/* ==========================================================================
   Header  opaque #314931 in BOTH scroll states so the logo tile never
   shows an edge and no page content bleeds through.
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: var(--brand); /* identical scrolled + unscrolled */
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-stuck {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand img {
  height: 60px;
  width: auto;
  border-radius: 0; /* no radius on the header logo */
  display: block;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  display: block;
  padding: 10px 13px;
  border-radius: 8px;
  color: #e6ede2;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav a:hover,
.nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 999px;
  white-space: nowrap;
}
.header-cta:hover {
  background: var(--accent-hover);
  color: #fff;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.4rem;
  padding: 8px 10px;
  cursor: pointer;
  line-height: 1;
}
body {
  padding-top: var(--header-h);
}

/* ---------- Mobile drawer ---------- */
.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(15, 22, 14, 0.55);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s var(--ease),
    visibility 0.3s;
  z-index: 1100;
}
.nav-scrim.is-open {
  opacity: 1;
  visibility: visible;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: var(--brand);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
  overflow-y: auto;
  /* push content clear of the fixed header bar */
  padding: 22px 22px 32px;
}
.drawer.is-open {
  transform: translateX(0);
}
.drawer-close {
  position: absolute;
  /* top: calc(var(--header-h) + 12px); */
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 0;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease);
}
.drawer-close:hover {
  background: var(--accent);
}
.drawer nav {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.drawer nav a {
  display: block;
  padding: 13px 14px;
  border-radius: 10px;
  color: #e6ede2;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.drawer nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.drawer .btn {
  margin-top: 22px;
  width: 100%;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  background: var(--forest-deep);
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: top center;
  opacity: 0;
  background-repeat: no-repeat;
  transition: opacity 1.4s var(--ease);
  transform: scale(1.05);
}
.hero-slide.is-active {
  opacity: 1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(20, 29, 18, 0.9) 0%,
    rgba(20, 29, 18, 0.68) 46%,
    rgba(20, 29, 18, 0.25) 100%
  );
}
.hero .container {
  position: relative;
  z-index: 2;
  padding-block: 60px;
}
.hero-card {
  max-width: 520px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}
.hero-card h1,
.hero-card .hero-title {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.hero-price {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.5;
}
.hero-sub {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Overview
   ========================================================================== */
.overview-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}
.overview-copy h1 {
  text-transform: uppercase;
  color: var(--brand);
}
.overview-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Cards grid (amenities)
   ========================================================================== */
.grid {
  display: grid;
  gap: 24px;
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.amenity {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}
.amenity:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.amenity i {
  font-size: 1.9rem;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
  transition: transform 0.28s var(--ease);
}
.amenity:hover i {
  transform: scale(1.12);
}
.amenity h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
}
.amenity p {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
}

.amenity-note {
  text-align: center;
  max-width: 1000px;
  margin: 44px auto 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.center-cta {
  text-align: center;
  margin-top: 28px;
}

/* ==========================================================================
   Connectivity
   ========================================================================== */
.conn-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}
.conn-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.conn-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.conn-body {
  padding: 22px 22px 26px;
}
.conn-body h3 {
  font-size: 1.02rem;
  margin-bottom: 12px;
  color: var(--brand);
}
.conn-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.conn-body li {
  position: relative;
  padding-left: 24px;
  font-size: 0.85rem;
  color: var(--body);
  margin-bottom: 10px;
}
.conn-body li::before {
  content: "\f3c5";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent);
  font-size: 0.8rem;
}

/* ==========================================================================
   Gallery slider
   ========================================================================== */
.gallery {
  position: relative;
  max-width: 1180px;
  margin-inline: auto;
}
.gallery-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gallery-track::-webkit-scrollbar {
  display: none;
}
.gallery-track figure {
  flex: 0 0 calc((100% - 36px) / 3);
  scroll-snap-align: start;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.gallery-track img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-track figure:hover img {
  transform: scale(1.06);
}
.gal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand);
  font-size: 1rem;
  box-shadow: var(--shadow);
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}
.gal-btn:hover {
  background: var(--accent);
  color: #fff;
}
.gal-prev {
  left: -12px;
}
.gal-next {
  right: -12px;
}
.gal-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.gal-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.25s var(--ease);
}
.gal-dots button.is-active {
  background: #fff;
  width: 26px;
  border-radius: 999px;
}

/* ==========================================================================
   Floor plans  image files are blurred on disk; these rules are a
   deterrent layer on top, NOT the protection itself.
   ========================================================================== */
.fp-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}
.fp-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.fp-media {
  position: relative;
  background: var(--forest-deep);
}
.fp-media img {
  width: 100%;
  aspect-ratio: 8/5;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}
.fp-shield {
  position: absolute;
  inset: 0;
  background: transparent;
}
.fp-lock {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: rgba(27, 36, 25, 0.72);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 11px;
  border-radius: 999px;
}
.fp-body {
  padding: 18px 20px 22px;
  text-align: center;
}
.fp-body h3 {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--brand);
}

/* ==========================================================================
   Virtual tour band
   ========================================================================== */
.tour {
  position: relative;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(20, 29, 18, 0.86), rgba(20, 29, 18, 0.86)) center/cover,
    var(--forest-deep);
  padding: 88px 0;
}
.tour h2 {
  color: #fff;
  text-transform: uppercase;
  max-width: 900px;
  margin-inline: auto;
}
.tour p {
  color: #cbd8c2;
  margin-bottom: 26px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  max-width: 960px;
  margin-inline: auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}
.faq-item.is-open {
  border-color: var(--accent);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  padding: 19px 22px;
  line-height: 1.5;
}
.faq-q i {
  color: var(--accent);
  font-size: 0.85rem;
  flex: 0 0 auto;
  transition: transform 0.3s var(--ease);
}
.faq-item.is-open .faq-q i {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-a p {
  padding: 0 22px 20px;
  margin: 0;
  font-size: 0.9rem;
  color: var(--body);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition:
    background 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.contact-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}
.contact-card .ico {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: #fff;
}
.contact-card a,
.contact-card p {
  color: #cbd8c2;
  font-size: 0.9rem;
  margin: 0;
  display: block;
}
.contact-card a:hover {
  color: var(--accent-hover);
}

/* ---------- Map ---------- */
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  line-height: 0;
  background: var(--surface);
}
.map-frame iframe {
  width: 100%;
  height: 460px;
  border: 0;
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--forest-deep);
  color: #b6c2b0;
  font-size: 0.88rem;
}
.footer-top {
  padding: 60px 0 44px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr;
  gap: 44px;
}
.footer-logo {
  height: 56px;
  width: auto;
  border-radius: 10px; /* footer logo keeps 10px radius */
  margin-bottom: 18px;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li {
  margin-bottom: 10px;
}
.site-footer a {
  color: #b6c2b0;
}
.site-footer a:hover {
  color: var(--accent-hover);
}
.footer-contact li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.footer-contact i {
  color: var(--accent);
  margin-top: 5px;
  font-size: 0.85rem;
  flex: 0 0 14px;
}
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 26px 0;
  font-size: 0.76rem;
  line-height: 1.7;
  color: #8e9c89;
}
.footer-legal p {
  margin-bottom: 0.8em;
}
.rera-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.rera-row img {
  width: 88px;
  height: auto;
  border-radius: 6px;
}
.footer-credit {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  text-align: center;
  font-size: 0.78rem;
  color: #8e9c89;
}
.footer-credit i {
  color: #c4553f;
  margin-inline: 3px;
}

/* ==========================================================================
   Floating actions  call LEFT, WhatsApp RIGHT, never overlapping
   ========================================================================== */
.float-call,
.float-wa {
  position: fixed;
  bottom: 20px;
  z-index: 900;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.float-call {
  left: 20px;
  background: var(--accent);
}
.float-wa {
  right: 20px;
  background: #25d366;
}
.float-call:hover,
.float-wa:hover {
  color: #fff;
  transform: scale(1.09) translateY(-2px);
}

/* ==========================================================================
   Blog
   ========================================================================== */
.page-hero {
  background: var(--brand);
  color: #fff;
  padding: 64px 0 58px;
  text-align: center;
}
.page-hero h1 {
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.page-hero p {
  color: #cbd8c2;
  max-width: 840px;
  margin: 0 auto;
}
.crumb {
  font-size: 0.8rem;
  color: #b9cd86;
  margin-bottom: 14px;
}
.crumb a {
  color: #b9cd86;
}
.crumb a:hover {
  color: #fff;
}

.post-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow);
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.post-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.post-card-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-meta {
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 11px;
}
.post-meta i {
  color: var(--accent);
  margin-right: 5px;
}
.post-card h2,
.post-card h3 {
  font-size: 1.05rem;
  line-height: 1.4;
  margin-bottom: 10px;
}
.post-card h2 a,
.post-card h3 a {
  color: var(--ink);
}
.post-card h2 a:hover,
.post-card h3 a:hover {
  color: var(--accent);
}
.post-card p {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.post-card .more {
  margin-top: auto;
  align-self: flex-start; /* keep the hit area to the text, not the full row */
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--accent);
}
.post-card .more:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-card .more:hover i {
  transform: translateX(4px);
}
.post-card .more i {
  font-size: 0.72rem;
  margin-left: 5px;
  transition: transform 0.22s var(--ease);
}
.post-card:hover .more i {
  transform: translateX(4px);
}

/* ---------- Single post ---------- */
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 52px;
  align-items: start;
}
.post-body {
  /* max-width: 820px; */
  min-width: 0;
}
.post-hero-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  margin-bottom: 34px;
  width: 100%;
}
.post-body h2 {
  margin-top: 1.9em;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.post-body h3 {
  margin-top: 1.5em;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.post-body img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 30px 0;
}
.post-body ul {
  padding-left: 1.15em;
}
.post-body li {
  margin-bottom: 0.5em;
}
.post-body a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-body a:hover {
  color: var(--brand);
}

.toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 24px 26px;
  margin-bottom: 34px;
}
.toc h2 {
  margin: 0 0 14px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.toc ol {
  margin: 0;
  padding-left: 1.2em;
}
.toc li {
  margin-bottom: 0.42em;
  font-size: 0.88rem;
}
.toc a {
  color: var(--body);
  text-decoration: none;
  font-weight: 500;
}
.toc a:hover {
  color: var(--accent);
}

.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 26px);
}
.widget {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.widget h3 {
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.widget li {
  padding-bottom: 13px;
  margin-bottom: 13px;
  border-bottom: 1px solid var(--line);
}
.widget li:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}
.widget li a {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}
.widget li a:hover {
  color: var(--accent);
}
.widget .date {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 5px;
  font-weight: 400;
}
.widget--cta {
  background: var(--brand);
  border-color: var(--brand);
  text-align: center;
}
.widget--cta h3 {
  color: #fff;
}
.widget--cta p {
  color: #cbd8c2;
  font-size: 0.85rem;
}
.widget--cta .btn {
  width: 100%;
  margin-top: 6px;
}

.related {
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding-top: 48px;
}
.related h2 {
  text-align: center;
  margin-bottom: 32px;
  text-transform: uppercase;
  font-size: 1.4rem;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-track figure {
    flex-basis: calc((100% - 18px) / 2);
  }
  .post-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .sidebar {
    position: static;
  }
}
@media (max-width: 1024px) {
  .nav,
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
}
@media (max-width: 820px) {
  .section {
    padding: 56px 0;
  }
  .grid--3 {
    grid-template-columns: 1fr;
  }
  .grid--2 {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
  }
  .hero-card {
    max-width: none;
    padding: 28px 22px;
  }
  .map-frame iframe {
    height: 340px;
  }
  .gal-prev {
    left: 4px;
  }
  .gal-next {
    right: 4px;
  }
}
@media (max-width: 560px) {
  .grid--4 {
    grid-template-columns: 1fr;
  }
  .gallery-track figure {
    flex-basis: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .float-call,
  .float-wa {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    bottom: 16px;
  }
  .float-call {
    left: 16px;
  }
  .float-wa {
    right: 16px;
  }
  .brand img {
    height: 38px;
  }
}
