@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f5;
  --bg-deep: #0a0a0a;
  --bg-deeper: #000000;
  --ink: #000000;
  --ink-2: #111111;
  --muted: #4a4a4a;
  --muted-2: #6b6b6b;
  --line: #e5e5e5;
  --line-2: #cccccc;
  --accent: #000000;
  --accent-2: #1a1a1a;
  --accent-soft: #f0f0f0;
  --accent-glow: rgba(0, 0, 0, 0.25);
  --radius-sm: 0;
  --radius: 0;
  --radius-lg: 0;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 10px 20px -5px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 30px 60px -15px rgba(0, 0, 0, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tr: 220ms var(--ease);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 5.5rem;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.02em;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.75rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2.25rem; }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: background var(--tr), border-color var(--tr);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

.nav-links > a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--tr);
}

.nav-links > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--tr);
}

.nav-links > a:hover {
  color: var(--ink);
}

.nav-links > a:hover::after {
  width: 100%;
}

/* Language dropdown */
.lang-dropdown {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  transition: all var(--tr);
}

.lang-btn:hover {
  color: var(--ink);
  border-color: var(--line-2);
  background: #fff;
}

.lang-btn svg {
  width: 16px;
  height: 16px;
}

.lang-btn .chevron {
  transition: transform var(--tr);
}

.lang-dropdown.open .lang-btn .chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--tr), transform var(--tr), visibility var(--tr);
}

.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: background var(--tr), color var(--tr);
  text-align: left;
}

.lang-menu button:hover {
  background: var(--bg-soft);
}

.lang-menu button.active {
  background: var(--ink);
  color: #fff;
}

.lang-menu .flag {
  font-size: 1.05rem;
  line-height: 1;
}

.lang-menu .code {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.lang-menu button.active .code {
  color: #fff;
}

.menu-toggle {
  display: flex;
  padding: 0.5rem;
  color: var(--ink);
  transition: background var(--tr);
}

.menu-toggle:hover {
  background: var(--bg-soft);
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
}

.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 1rem 1.25rem 1.5rem;
}

.mobile-menu.open {
  display: block;
  animation: slideDown 240ms var(--ease);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-menu a {
  display: block;
  padding: 0.85rem 0.5rem;
  color: var(--ink-2);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.mobile-lang {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

.mobile-lang button {
  flex: 1;
  padding: 0.7rem 0.5rem;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  transition: all var(--tr);
}

.mobile-lang button.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(620px, 88vh, 880px);
  display: flex;
  align-items: center;
  margin-top: 4.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 14s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.55) 50%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 4rem 0 5rem;
}

.hero-inner {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp 800ms var(--ease) both;
}

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

.hero h1 {
  font-size: clamp(1.5rem, 4.2vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.hero h1 .accent {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.hero-desc {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: rgba(241, 245, 249, 0.85);
  max-width: 44rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 3.5rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--tr);
  white-space: nowrap;
  letter-spacing: -0.005em;
}

.btn svg {
  width: 17px;
  height: 17px;
  transition: transform var(--tr);
}

.btn-white {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

.btn-white:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.18);
}

.btn-white:hover svg {
  transform: translateX(3px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 38rem;
  width: 100%;
  margin: 0 auto;
}

.hero-stats > div:not(.stat-divider) {
  padding: 0 0.5rem;
  text-align: center;
}

.stat-value {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.025em;
}

.stat-value .stat-unit {
  font-size: 0.6em;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 2px;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(226, 232, 240, 0.75);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.stat-divider {
  display: none;
}

/* ---------- Sections ---------- */
.section {
  padding: 6rem 0;
  position: relative;
}

@media (min-width: 1024px) {
  .section { padding: 7.5rem 0; }
}

.section-header {
  text-align: center;
  max-width: 50rem;
  margin: 0 auto 4rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  background: transparent;
  border: 1px solid var(--ink);
}

.section-header h2 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.feature-card {
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  background: #fff;
  transition: all var(--tr);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease);
}

.feature-card:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #fff;
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.65rem;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.integrations {
  margin-top: 5rem;
  background: var(--bg-deep);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink);
}

@media (min-width: 1024px) {
  .integrations { padding: 4.5rem; }
}

.integrations h3 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
}

.integrations p {
  color: rgba(226, 232, 240, 0.8);
  font-size: 1.05rem;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  position: relative;
  line-height: 1.7;
}

.integration-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 2.5rem;
  position: relative;
}

.integration-logos span {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  transition: color var(--tr);
}

.integration-logos span:hover {
  color: #fff;
}

/* ---------- Platform ---------- */
.platform {
  background: var(--bg);
  color: var(--ink);
  position: relative;
}

.platform::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.platform-intro {
  text-align: center;
  max-width: 50rem;
  margin: 0 auto 4rem;
}

.platform-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  background: transparent;
  border: 1px solid var(--ink);
}

.platform-intro h2 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.platform-intro p {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.75;
}

.platform-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .platform-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.platform-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 2rem 1.75rem;
  transition: all var(--tr);
  position: relative;
  overflow: hidden;
}

.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease);
}

.platform-card:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.platform-card:hover::before {
  transform: scaleX(1);
}

.platform-card > * {
  position: relative;
}

.platform-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  margin-bottom: 1.25rem;
}

.platform-icon svg { width: 20px; height: 20px; }

.platform-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.platform-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.93rem;
}

.platform-closer {
  text-align: center;
  max-width: 46rem;
  margin: 4rem auto 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.7;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- Listings ---------- */
.listings {
  background: linear-gradient(to bottom, #fff 0%, var(--bg-soft) 100%);
}

.listings-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .listings-grid { grid-template-columns: repeat(3, 1fr); }
}

.property-card {
  background: #fff;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 350ms var(--ease);
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ink);
}

.property-image {
  position: relative;
  height: 15rem;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.property-card:hover .property-image img {
  transform: scale(1.06);
}

.property-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.35) 100%);
}

.property-type {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fff;
  padding: 0.35rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
}

.property-body {
  padding: 1.5rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  min-height: 3em;
}

.property-location {
  color: var(--muted-2);
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.property-location::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--ink);
}

.property-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.property-price .currency {
  color: var(--ink);
  margin-right: 2px;
}

.property-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.property-actions a {
  flex: 1;
  padding: 0.75rem 0.75rem;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all var(--tr);
}

.btn-details {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-details:hover {
  background: var(--ink);
  color: #fff;
}

.btn-deal {
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
}

.btn-deal:hover {
  background: #fff;
  color: var(--ink);
}

/* ---------- Custom solutions ---------- */
.custom-solutions {
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.custom-solutions .container {
  position: relative;
}

.custom-solutions .section-header {
  max-width: 56rem;
}

.custom-solutions .section-header h2 {
  margin-bottom: 1.5rem;
}

.custom-solutions p {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ---------- Community ---------- */
.community {
  background: var(--bg-deeper);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.community-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  position: relative;
}

@media (min-width: 1024px) {
  .community-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
}

.community h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.1;
  color: #fff;
}

.community-desc {
  font-size: 1.1rem;
  color: rgba(226, 232, 240, 0.8);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.97rem;
}

.benefit-check {
  width: 1.5rem;
  height: 1.5rem;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.community-card {
  background: #fff;
  border: 1px solid #fff;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  color: var(--ink);
}

.community-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--ink);
}

.community-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
}

.community-card p {
  color: var(--muted);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.btn-whatsapp {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.5rem;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--tr);
  border: 1px solid var(--ink);
}

.btn-whatsapp:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.btn-whatsapp svg {
  transition: transform var(--tr);
}

.btn-whatsapp:hover svg {
  transform: translateX(3px);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg);
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

.footer h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.footer h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.footer-desc {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 22rem;
}

.social-links {
  display: flex;
  gap: 0.65rem;
}

.social-links a {
  width: 2.25rem;
  height: 2.25rem;
  background: #fff;
  border: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all var(--tr);
}

.social-links a svg { width: 16px; height: 16px; }

.social-links a:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-2px);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.7rem;
}

.footer ul a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color var(--tr);
}

.footer ul a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  color: var(--ink);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color var(--tr);
}

.footer-legal a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Reveal animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  }
  .reveal.in {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Mobile tweaks ---------- */
@media (max-width: 640px) {
  .section { padding: 4.5rem 0; }
  .hero { margin-top: 4.5rem; }
  .hero-content { padding: 3rem 0 4rem; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { max-width: 100%; }
  .stat-value { font-size: 1.4rem; }
  .community-card { padding: 1.75rem; }
  .integrations { padding: 2.25rem 1.25rem; }
}
