
:root { color-scheme: light; }
* { box-sizing: border-box; }

body{
  margin:0;
  font-family:"Montserrat",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:#fff;
  color:#111;
}

/* HERO — full screen editorial dark gradient */
.personal-hero {
  min-height: 100vh;
  background: linear-gradient(
    180deg,
    #0C0C0A 0%,
    #252525 46%,
    #181816 100%
  );
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* BRAND (LOGO + TEXT) */
.hero-brand {
  position: absolute;
  top: 56px;
  left: 56px;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 5;
}

.hero-logo {
  width: 72px;
  height: auto;
  display: block;
}

.hero-brand-text {
  font-family: "Montserrat",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-weight: 600;
  font-size: 25px;
  line-height: 24px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

/* SOCIAL ICONS (TOP RIGHT) */
.hero-socials {
  position: absolute;
  top: 56px;
  right: 56px;
  display: flex;
  gap: 22px;              /* +20% расстояния */
  z-index: 5;
}

.hero-socials a {
  display: inline-flex;
  width: 18px;            /* чуть меньше */
  height: 18px;           /* чуть меньше */
  opacity: 0.85;
  transition: opacity 0.2s ease;
}


.hero-socials a:hover {
  opacity: 1;
}

.hero-socials img {
  width: 100%;
  height: 100%;
  display: block;
}

/* GRID */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh; /* совпадает с hero — ничего не ломаем */
  max-width: 1440px;
  margin: 0 auto;
}

/* LEFT PHOTO */
.hero-photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 40px;
  overflow: hidden;
}

/* ФОТО */
.hero-photo img {
  position: relative;
  z-index: 2;

  width: 712px;
  max-width: 100%;
  height: auto;
  max-height: 775px;
  display: block;
  object-fit: contain;

  /* фото правее ~10–15% */
  transform: translateX(15%) scale(1.15);
}

/* RIGHT CONTENT */
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* заголовок по центру правой части */
  text-align: center;
  padding-right: 135px;
  padding-left: 40px;
}

/* TITLE */
.hero-title {
  font-family: "Montserrat",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-weight: 700;   /* важно: иначе будет слишком тонко */
  font-size: 90px;
  line-height: 110px; /* чуть меньше, чтобы плотнее смотрелось */
  letter-spacing: -0.02em; /* Montserrat любит чуть сильнее минус */
  margin: 0 0 24px;
  color: #ffffff;
}

/* ROLE */
.hero-role {
  letter-spacing: 0.3em;
  font-size: 14px;
  opacity: 0.85;
  margin: 0 0 48px;
  text-transform: uppercase;
}

/* ACTIONS */
.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* BUTTONS — все прозрачные */
.hero-btn {
  height: 56px;
  padding: 0 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  background: transparent;
}

/* TABLET */
@media (max-width: 1200px) {
  .hero-content {
    padding-right: 60px;
  }

  .hero-title {
    font-size: 96px;
    line-height: 112px;
  }

  .hero-photo img {
    width: 560px;
    max-height: 680px;
    transform: translateX(6%);
  }

  .hero-brand {
    top: 40px;
    left: 40px;
  }

  .hero-socials {
    top: 40px;
    right: 40px;
  }

  .hero-logo {
    width: 64px;
  }
}

/* MOBILE */
@media (max-width: 1024px) {
  .personal-hero {
    min-height: auto;
    overflow-x: hidden; /* вместо clip — стабильнее на мобилках */
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  /* ЛОГО чуть выше */
  .hero-brand {
    top: 14px;
    left: 24px;
    gap: 12px;
  }

  .hero-logo {
    width: 52px;
  }

  .hero-brand-text {
    font-size: 18px;
    line-height: 18px;
  }

  /* СОЦ-СЕТИ — скрыть */
  .hero-socials {
    display: none;
  }

  /* ФОТО — ещё ниже, ближе к имени */
  .hero-photo {
    padding: 72px 0 0;
    overflow-x: hidden; /* чтобы ничего не “распирало” страницу */
  }

  /* КЛЮЧЕВОЕ: НЕ 100vw, а 100% */
  .hero-photo img {
    width: 100%;
    max-width: 100%;
    height: auto;
    transform: none;
    display: block;
  }

  /* КОНТЕНТ */
  .hero-content {
    padding: 26px 24px 52px; /* компактнее */
    align-items: center;
    text-align: center;
  }

  /* МОБИЛЬ */
  .hero-title {
    font-size: 42px;
    line-height: 1.0;
    white-space: nowrap; /* строго одна строка */
    margin: 0 0 14px;
  }

  /* “умный” пробел */
  .hero-space {
    display: inline-block;
    width: 0.35em; /* визуально как нормальный пробел */
  }

  .hero-role {
    margin: 0 0 20px;
    letter-spacing: 0.28em;
  }

  /* КНОПКИ — раскладка: Investor сверху, Real Estate + Homebuyer снизу */
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .hero-actions .hero-btn {
    height: 52px;
    padding: 0 28px;
    font-size: 14px;
    border-radius: 999px;
  }

  /* 1) Investor — 2-я кнопка */
  .hero-actions .hero-btn:nth-child(2) {
    order: 1;
    flex: 0 0 100%;
    max-width: 280px;
  }

  /* 2) Real Estate Agent — 1-я кнопка */
  .hero-actions .hero-btn:nth-child(1) {
    order: 2;
    flex: 0 0 calc(50% - 7px);
    max-width: 220px;
  }

  /* 3) Homebuyer — 3-я кнопка */
  .hero-actions .hero-btn:nth-child(3) {
    order: 3;
    flex: 0 0 calc(50% - 7px);
    max-width: 220px;
  }
}

/* ================= ABOUT SECTION ================= */

.about-section{
  background:#fff;
  color:#111;
  padding:96px 0;
}

/* ЦЕНТРАЛЬНЫЙ КОНТЕЙНЕР */
.about-wrap{
  max-width:1440px;
  margin:0 auto;
  padding:0 56px;

  display:grid;
  grid-template-columns:1fr 1fr;
  gap:72px;
  align-items:center;
  box-sizing:border-box;
}

/* LEFT */
.about-text{
  text-align:center;
}

.about-title-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  margin-bottom:36px;
  flex-wrap:nowrap;
}

.about-title-line{
  width:120px;
  height:1px;
  background:rgba(0,0,0,0.25);
  flex:0 0 auto;
}

.about-title{
  margin:0;
  font-family: "Montserrat",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-weight:400;
  font-size:60px;
  line-height:1.05;
  color:#111;
  white-space:nowrap;
}

.about-body{
  max-width:560px;
  margin:0 auto;
  font-size:17px;
  line-height:1.8;
  color:rgba(0,0,0,0.60);
}

.about-body p{ margin:0 0 22px; }

.about-quote{
  margin-top:28px;
  font-style:italic;
  color:rgba(0,0,0,0.75);
}

.about-sign{
  margin-top:26px;
  font-size:18px;
  color:#111;
}

/* RIGHT */
.about-photo{
  display:flex;
  justify-content:center;
}

.about-photo img{
  width:min(460px, 100%);
  height:auto;
  display:block;
}

/* TABLET */
@media (max-width:1200px){
  .about-wrap{
    gap:48px;
    padding:0 40px;
  }

  .about-title{
    font-size:64px;
  }
}
/* MOBILE — ABOUT (FIX CENTER + EQUAL SIDE PADDING) */
@media (max-width: 1024px){

  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  /* одинаковые отступы слева/справа от края экрана */
  .about-section{
    padding: 64px 24px;   /* было 64px 0 */
    display: block;
    box-sizing: border-box;
  }

  /* контент внутри — без своих боковых паддингов, чтобы не было “двойных” */
  .about-wrap{
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 0;           /* было 0 24px */
    grid-template-columns: 1fr;
    gap: 40px;
    box-sizing: border-box;
  }

  .about-title-row{ gap:18px; }
  .about-title-line{ width:72px; }
  .about-title{ font-size:52px; }

  .about-body{
    font-size:16px;
    line-height:1.75;
  }
}


/* ===========================
   PROJECTS
   =========================== */

/* SECTION — внешний воздух */
.projects-section {
  padding: 120px 0;
}

/* WRAP — отступы от края экрана (серый блок НЕ от края до края) */
.projects-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 56px; /* ← это то, чего не хватало */
}

/* INNER — сам серый контейнер */
.projects-inner {
  background: #f3f3f3;
  border-radius: 48px;
  padding: 64px; /* компактнее и аккуратнее */
}

/* TITLE */
.projects-title {
  margin: 0 0 40px;
  font-family: "Montserrat",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size: 64px;
  font-weight: 400;
  color: #111;
}

/* GRID */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px; /* чуть компактнее */
}

/* CARD */
.project-card {
  position: relative;
  display: block;
  border-radius: 32px;
  overflow: hidden;
  text-decoration: none;
  background: #ddd;

  /* чтобы hover был мягкий и без "дёрганий" */
  transform: translateY(0);
  transition: transform 0.28s ease;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* LABEL — полупрозрачная плашка под названиями */
.project-label {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 14px 18px;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.50);
  color: #fff;
}

/* TEXT */
.project-location {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: 4px;
  text-transform: none;
}

.project-name {
  display: block;
  font-family: "Montserrat",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size: 20px;
  font-weight: 400;
}

/* HOVER — мягко */
.project-card:hover {
  transform: translateY(-4px);
}

/* TABLET */
@media (max-width: 1200px) {
  .projects-wrap {
    padding: 0 40px;
  }

  .projects-inner {
    padding: 48px;
  }

  .projects-title {
    font-size: 52px;
  }

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

/* MOBILE */
@media (max-width: 768px) {
  .projects-section {
    padding: 72px 0;
  }

  .projects-wrap {
    padding: 0 20px;
  }

  .projects-inner {
    padding: 32px;
    border-radius: 32px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .projects-title {
    font-size: 40px;
    margin-bottom: 32px;
  }
}

/* ===========================
   PERSONAL CONTACT — COMPACT
   =========================== */

.contact-section{
  padding: 72px 0;            /* ⬅️ было 110 — теперь компактно */
  background: #ffffff;
  color: #111;
}

.contact-wrap{
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 56px;
}

.contact-inner{
  text-align: center;
}

/* TITLE */
.contact-title{
  margin: 0 0 28px;           /* меньше воздуха */
  font-family: "Montserrat",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-weight: 400;
  font-size: 56px;            /* ⬅️ компактнее */
  line-height: 1.05;
  color: #111;
}

/* FORM */
.contact-form{
  max-width: 980px;           /* ⬅️ уже, читаемее */
  margin: 0 auto;
}

/* FIELD */
.field{
  margin: 12px 0;             /* ⬅️ меньше вертикальный шаг */
}

/* INPUTS */
.contact-form input,
.contact-form select,
.contact-form textarea{
  width: 100%;
  border: 0;
  outline: 0;
  background: #f2f2f2;
  color: #111;

  font-size: 18px;            /* ⬅️ нормальный “web-размер” */
  line-height: 1.2;
  padding: 16px 22px;
  border-radius: 20px;        /* ⬅️ меньше пилюльности */

  transition: background .15s ease, box-shadow .15s ease;
}

/* TEXTAREA — компактная */
.contact-form textarea{
  min-height: 140px;          /* ⬅️ вместо 260 */
  resize: vertical;
}

/* PLACEHOLDER */
.contact-form input::placeholder,
.contact-form textarea::placeholder{
  color: rgba(0,0,0,0.45);
}

/* FOCUS */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  background: #ededed;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

/* SELECT */
.field-select{
  position: relative;
}

.contact-form select{
  appearance: none;
  padding-right: 52px;
  cursor: pointer;
}

/* стрелка */
.field-select::after{
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(0,0,0,0.55);
  border-bottom: 2px solid rgba(0,0,0,0.55);
  transform: translateY(-55%) rotate(45deg);
  pointer-events: none;
}

/* BUTTON */
.contact-submit{
  width: 100%;
  margin-top: 18px;
  border: 0;
  cursor: pointer;

  background: #000;
  color: #fff;

  font-size: 20px;            /* ⬅️ адекватный CTA */
  padding: 18px 20px;
  border-radius: 20px;

  transition: transform .15s ease, filter .15s ease;
}

.contact-submit:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* TABLET */
@media (max-width: 1200px){
  .contact-wrap{ padding: 0 40px; }

  .contact-title{
    font-size: 44px;
    margin-bottom: 22px;
  }

  .contact-form{
    max-width: 100%;
  }
}

/* MOBILE */
@media (max-width: 768px){
  .contact-section{ padding: 56px 0; }
  .contact-wrap{ padding: 0 20px; }

  .contact-title{
    font-size: 36px;
    margin-bottom: 18px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea{
    font-size: 16px;
    padding: 14px 18px;
  }

  .contact-form textarea{
    min-height: 120px;
  }

  .contact-submit{
    font-size: 18px;
    padding: 16px;
  }
}

/* FOOTER */
.site-footer {
  background: #000;
  color: rgba(255,255,255,0.75);
  padding: 72px 0;
}

/* WRAP */
.footer-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* LEFT */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
}

.footer-brand img {
  width: 56px;
  height: auto;
}

.footer-brand span {
  font-family: "Montserrat",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.footer-legal p {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.6;
}

/* RIGHT */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 28px;
}

/* CONTACT PILLS */
.footer-contacts {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-pill {
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
}

/* SOCIALS */
.footer-socials {
  display: flex;
  gap: 22px;
}

.footer-socials a {
  width: 20px;
  height: 20px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-socials a:hover {
  opacity: 1;
}

.footer-socials img {
  width: 100%;
  height: 100%;
  display: block;
}

/* NOTE */
.footer-note {
  font-size: 13px;
  opacity: 0.6;
  text-align: right;
  max-width: 360px;
}

/* MOBILE */
@media (max-width: 900px) {
  .site-footer {
    padding: 56px 0;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 40px;

    padding: 0 24px;
    text-align: left;
  }

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

  .footer-legal p {
    text-align: left;
  }

  .footer-right {
    align-items: flex-start;
    gap: 28px;
  }

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

  .footer-pill {
    font-size: 14px;
    padding: 12px 22px;
  }

  .footer-socials {
    justify-content: flex-start;
    margin-top: 18px; /* <-- симметрично и аккуратно */
  }

  .footer-note {
    text-align: left;
    max-width: none;
    font-size: 12px;
  }
}

/* === MOBILE SAFETY NET (TEMP / DEBUG) === */
@media (max-width: 900px){
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
}

/* =========================
  Floating WhatsApp CTA (global)
========================= */

.whatsapp-cta{
  position: fixed;
  right: 20px;     /* desktop: справа */
  bottom: 50px;    /* desktop: снизу */
  z-index: 9999;

  width: 75px;
  height: 75px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  overflow: hidden;
  background: transparent;

  transition: transform 120ms ease, filter 120ms ease;
}

.whatsapp-cta:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.whatsapp-cta img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

/* Mobile: по центру по вертикали справа */
@media (max-width: 520px){
  .whatsapp-cta{
    right: 10px;
    top: 60%;
    bottom: auto;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
  }
}
