:root {
  --paper: #f6f2eb;
  --paper-deep: #ebe3d7;
  --ink: #18252b;
  --muted: #5d6769;
  --button: #263f47;
  --button-hover: #1b3037;
  --white: #ffffff;
  --line: rgba(24, 37, 43, 0.14);
  --shadow: 0 28px 70px rgba(27, 40, 44, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), transparent 36rem),
    linear-gradient(180deg, var(--paper) 0%, #fbf9f5 45%, var(--paper-deep) 100%);
  color: var(--ink);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  text-rendering: geometricPrecision;
}

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

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 242, 235, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1120px, 100%);
  min-height: 88px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2.4vw, 31px);
  font-weight: 500;
  line-height: 1.18;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav a {
  min-height: 40px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(38, 63, 71, 0.1);
  color: var(--ink);
}

.hero,
.page-hero {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 126px) 28px clamp(56px, 8vw, 92px);
  text-align: center;
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  margin: 0 auto;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 500;
  line-height: 1.1;
}

.hero p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  width: min(740px, 100%);
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.72;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--button);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  margin-top: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  width: min(1040px, 100%);
  margin: clamp(44px, 6vw, 72px) auto 0;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(24, 37, 43, 0.18);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  pointer-events: none;
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7.6;
  object-fit: cover;
  object-position: center;
}

.primary-button,
.whatsapp {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-height: 50px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--button);
  color: var(--white);
  box-shadow: 0 16px 30px rgba(38, 63, 71, 0.2);
  font-size: 14px;
  font-weight: 700;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.primary-button:hover,
.whatsapp:hover {
  background: var(--button-hover);
  box-shadow: 0 20px 36px rgba(38, 63, 71, 0.26);
  transform: translateY(-2px);
}

.secondary-link {
  color: var(--button);
  font-size: 15px;
  font-weight: 800;
}

.welcome-grid,
.specialist,
.content-panel {
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 26px 80px rgba(32, 43, 46, 0.08);
}

.welcome-grid {
  padding: clamp(44px, 7vw, 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 72px);
}

.welcome-grid h2,
.specialist h2,
.seo-band h2,
.content-panel h2 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 1.14;
}

.text-stack {
  display: grid;
  gap: 18px;
}

.text-stack p,
.specialist-copy p,
.seo-band p,
.content-panel p,
.item-card p {
  color: var(--muted);
  font-size: clamp(15.5px, 1.35vw, 17px);
  line-height: 1.76;
}

.specialist {
  margin-top: clamp(44px, 7vw, 82px);
  padding: clamp(52px, 7vw, 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 420px);
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
}

.rule {
  width: 58px;
  height: 2px;
  margin: 26px 0 24px;
  background: var(--ink);
}

.profile-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.profile-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.profile-info {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 84px 30px 28px;
  color: var(--white);
  background: linear-gradient(180deg, transparent 0%, rgba(10, 18, 20, 0.78) 76%);
}

.profile-name {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.1vw, 25px);
  font-weight: 500;
  line-height: 1.2;
}

.creci {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
}

.seo-band {
  width: min(1120px, 100%);
  margin: clamp(64px, 9vw, 112px) auto 0;
  padding: 0 28px clamp(60px, 8vw, 96px);
}

.market-visual {
  overflow: hidden;
  margin: 30px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(24, 37, 43, 0.14);
}

.market-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center;
}

.feature-list,
.items-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-list article,
.item-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
}

.feature-list article {
  padding: 26px;
}

.feature-list h3,
.item-card h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.2;
}

.content-panel {
  padding: clamp(34px, 6vw, 64px);
}

.items-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.items-grid.services-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}

.items-grid.is-single-list {
  grid-template-columns: minmax(0, 1fr);
}

.item-card {
  position: relative;
  overflow: hidden;
}

.service-card {
  min-height: 205px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-color: rgba(38, 63, 71, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(246, 242, 235, 0.72)),
    radial-gradient(circle at top right, rgba(38, 63, 71, 0.12), transparent 18rem);
  box-shadow: 0 18px 48px rgba(24, 37, 43, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--button), rgba(38, 63, 71, 0.18));
}

.service-card::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border-right: 1px solid rgba(38, 63, 71, 0.18);
  border-bottom: 1px solid rgba(38, 63, 71, 0.18);
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(38, 63, 71, 0.3);
  box-shadow: 0 24px 58px rgba(24, 37, 43, 0.12);
  transform: translateY(-3px);
}

.service-number {
  position: absolute;
  top: 24px;
  right: 26px;
  color: rgba(38, 63, 71, 0.18);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1;
}

.item-card-body {
  padding: 26px;
}

.service-card .item-card-body {
  position: relative;
  z-index: 1;
  padding: 30px 30px 28px;
}

.service-card h2 {
  max-width: 78%;
}

.service-card p {
  max-width: 92%;
}

.item-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--paper-deep);
}

.items-grid.is-single-list .item-card img {
  aspect-ratio: 16 / 8;
}

.property-description {
  white-space: pre-line;
}

.price {
  margin-bottom: 12px;
  color: var(--button);
  font-size: 17px;
  font-weight: 800;
}

.empty-state {
  padding: 28px;
  border: 1px dashed rgba(24, 37, 43, 0.28);
  border-radius: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.footer {
  margin-top: clamp(70px, 9vw, 116px);
  background: var(--paper-deep);
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(46px, 7vw, 78px) 28px clamp(42px, 6vw, 66px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 36px;
  align-items: end;
}

.footer-title {
  display: inline-block;
  max-width: 700px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 500;
  line-height: 1.06;
}

.footer-copy {
  max-width: 680px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.65;
}

.footer-location {
  margin-top: 26px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

.socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.socials a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease;
}

.socials a:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.socials img {
  width: 24px;
  height: 24px;
  display: block;
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .brand {
    white-space: normal;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .welcome-grid,
  .specialist,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .specialist-copy,
  .welcome-grid {
    text-align: center;
  }

  .rule {
    margin-inline: auto;
  }

  .profile-card {
    width: min(410px, 100%);
    margin-inline: auto;
  }

  .feature-list,
  .items-grid {
    grid-template-columns: 1fr;
  }

  .items-grid.services-list {
    grid-template-columns: 1fr;
  }

  .market-visual img {
    aspect-ratio: 16 / 9;
  }

  .footer-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .hero,
  .page-hero,
  .seo-band,
  .footer-inner {
    padding-inline: 20px;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1 1 auto;
    justify-content: center;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(32px, 9vw, 42px);
  }

  .hero-visual {
    width: calc(100% + 8px);
    margin-top: 36px;
    margin-inline: -4px;
    border-radius: 8px;
  }

  .hero-visual img {
    aspect-ratio: 4 / 3;
  }

  .market-visual {
    margin-top: 24px;
    border-radius: 8px;
  }

  .market-visual img {
    aspect-ratio: 4 / 3;
  }

  .welcome-grid,
  .specialist,
  .content-panel {
    width: calc(100% - 24px);
    padding: 26px 20px;
    border-radius: 18px;
  }

  .service-card {
    min-height: 205px;
  }

  .service-card .item-card-body {
    padding: 30px 24px 26px;
  }

  .service-card h2,
  .service-card p {
    max-width: none;
  }

  .service-number {
    top: 18px;
    right: 20px;
    font-size: 42px;
  }

  .hero-actions,
  .footer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .whatsapp {
    width: 100%;
  }
}
