/* === VARIABLES === */
:root {
  --primary:      #0C1A27;
  --primary-mid:  #152536;
  --accent:       #C8952A;
  --accent-light: #E5B050;
  --bg:           #F9F7F3;
  --bg-warm:      #F2EDE5;
  --text:         #0C1A27;
  --text-muted:   #68788A;
  --white:        #ffffff;
  --border:       rgba(12,26,39,0.09);
  --border-light: rgba(255,255,255,0.08);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; }
h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; }
p  { max-width: 64ch; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  min-height: 52px;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(200,149,42,0.35); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,0.3); color: var(--white); }
.btn-outline-light:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 18px 0;
  transition: padding 0.4s, background 0.4s, box-shadow 0.4s;
  background: rgba(12,26,39,0.96);
  backdrop-filter: blur(14px);
}
.navbar.scrolled { padding: 12px 0; box-shadow: 0 1px 0 rgba(255,255,255,0.05); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.navbar__logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}
.navbar__logo em { font-style: normal; color: var(--accent); }
.back-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
  display: none;
}
.back-link:hover { color: var(--accent); }
.navbar__tel { padding: 11px 22px; min-height: 44px; font-size: 12px; }
@media (min-width: 768px) { .back-link { display: inline-flex; } }

/* HERO */
.prop-hero {
  position: relative;
  min-height: 92vh;
  padding: 140px 0 80px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--primary);
}
.prop-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.prop-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12,26,39,0.5) 0%, rgba(12,26,39,0.4) 40%, rgba(12,26,39,0.95) 100%);
}
.prop-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.prop-hero__badge {
  display: inline-block;
  padding: 7px 16px;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 1px;
  margin-bottom: 24px;
}
.prop-hero h1 {
  color: var(--white);
  margin-bottom: 32px;
  line-height: 0.96;
}
.prop-hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.prop-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 36px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.meta-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.meta-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
}
.prop-hero__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 32px;
}
.price-from {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
}
.price-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.price-value small {
  font-size: 0.4em;
  color: rgba(255,255,255,0.5);
  margin-left: 4px;
}
.prop-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* FEATURES */
.prop-features {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--bg);
}
.prop-features h2 { margin-bottom: 64px; }
.features-grid {
  display: grid;
  gap: 24px;
}
.feature-card {
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(200,149,42,0.1);
}
.feature-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 18px;
}
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { color: var(--text-muted); font-size: 15px; line-height: 1.75; }

@media (min-width: 600px)  { .features-grid { grid-template-columns: 1fr 1fr; } }

/* DETAIL */
.prop-detail {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--bg-warm);
}
.prop-detail__grid {
  display: grid;
  gap: 64px;
}
.prop-detail__text h2 { margin: 16px 0 24px; }
.prop-detail__text .lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-style: italic;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.5;
}
.prop-detail__text p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
}
.prop-detail__text h3 {
  margin: 32px 0 14px;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}
.prop-detail__text ul {
  list-style: none;
  margin: 18px 0;
}
.prop-detail__text ul li {
  position: relative;
  padding: 10px 0 10px 28px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
}
.prop-detail__text ul li:last-child { border-bottom: none; }
.prop-detail__text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 14px;
  height: 2px;
  background: var(--accent);
}

.info-table {
  margin-top: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
}
.info-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.info-row:last-child { border-bottom: none; }
.info-row span { color: var(--text-muted); letter-spacing: 0.04em; }
.info-row strong { color: var(--text); font-weight: 600; }

/* CONTACT CARD */
.contact-card {
  background: var(--white);
  padding: 32px;
  border-radius: 2px;
  border-top: 3px solid var(--accent);
  position: sticky;
  top: 100px;
}
.contact-card__avatar {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: top center;
  border-radius: 2px;
  margin-bottom: 20px;
}
.contact-card__name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-card__role {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}
.contact-card__details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.contact-card__btn-tel,
.contact-card__btn-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: var(--bg);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: background 0.2s, color 0.2s;
}
.contact-card__btn-tel:hover,
.contact-card__btn-email:hover { background: var(--accent); color: var(--white); }

@media (min-width: 900px) {
  .prop-detail__grid { grid-template-columns: 1fr 380px; gap: 80px; }
}

/* GALLERY */
.prop-gallery {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--bg);
}
.prop-gallery h2 { margin-bottom: 48px; }
.gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.gallery-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2px;
  transition: transform 0.5s var(--ease-out);
}
.gallery-img:hover { transform: scale(1.02); }
.gallery-img--featured { aspect-ratio: 16/9; }

@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: 2fr 1fr; }
  .gallery-img--featured { grid-row: span 2; aspect-ratio: auto; height: 100%; }
}

/* CONTACT */
.prop-contact {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--primary);
}
.prop-contact__inner {
  display: grid;
  gap: 64px;
}
.prop-contact__head { color: rgba(255,255,255,0.85); }
.prop-contact__head .label { color: var(--accent); }
.prop-contact__head h2 { color: var(--white); margin: 16px 0 22px; }
.prop-contact__head p { color: rgba(255,255,255,0.55); margin-bottom: 32px; font-size: 17px; }
.contact-quick { display: flex; flex-direction: column; gap: 10px; }
.contact-quick a {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  color: var(--accent);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.contact-quick a:hover { color: var(--accent-light); }

.prop-contact__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.fg-row { display: grid; gap: 18px; }
.fg { display: flex; flex-direction: column; gap: 7px; }
.fg label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.fg input, .fg textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  font-size: 15px;
  color: var(--white);
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  min-height: 52px;
}
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,0.3); }
.fg input:focus, .fg textarea:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.08);
}
.fg textarea { min-height: 130px; resize: vertical; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}
.form-consent input[type="checkbox"] {
  min-width: 18px; height: 18px;
  margin-top: 1px;
  accent-color: var(--accent);
}
.form-success {
  display: none;
  padding: 16px 20px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 2px;
  color: #aeefb4;
  font-size: 15px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .prop-contact__inner { grid-template-columns: 1fr 1.4fr; }
  .fg-row { grid-template-columns: 1fr 1fr; }
}

/* FOOTER */
.footer {
  background: #08111a;
  padding: 56px 0 32px;
}
.footer__top {
  display: grid;
  gap: 40px;
  padding-bottom: 36px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
}
.footer__brand em { font-style: normal; color: var(--accent); }
.footer__tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  margin-top: 8px;
  line-height: 1.6;
}
.footer__col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 16px;
}
.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__contact-list a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer__contact-list a:hover { color: var(--accent); }
.footer__contact-list span { font-size: 13px; color: rgba(255,255,255,0.3); line-height: 1.5; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.footer__copy { font-size: 12px; color: rgba(255,255,255,0.2); }
.footer__back {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer__back:hover { color: var(--accent); }

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