/* SmartVendica-inspired blue gradient layer for Vitinia Estate. */
:root {
  --bg: #f4f9fc;
  --surface: #ffffff;
  --surface-2: #eaf5f8;
  --ink: #101827;
  --muted: #526174;
  --line: #d7e5ed;
  --accent: #0f8f8b;
  --accent-dark: #0a6877;
  --accent-blue: #2477e8;
  --accent-soft: #dff5f4;
  --brand-gradient: linear-gradient(135deg, #0f766e 0%, #12b8a6 48%, #1f6feb 100%);
  --brand-gradient-hover: linear-gradient(135deg, #0b655f 0%, #0fae9d 42%, #155fd3 100%);
  --shadow: 0 26px 70px rgba(30, 93, 126, .14);
  --shadow-soft: 0 16px 42px rgba(24, 104, 137, .10);
}

html { scroll-behavior: smooth; }

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 4%, rgba(54, 211, 196, .18), transparent 25%),
    radial-gradient(circle at 45% 15%, rgba(244, 215, 134, .10), transparent 23%),
    linear-gradient(180deg, #fbfdfd 0%, var(--bg) 48%, #edf6f9 100%);
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  font-weight: 500;
}

h1, h2, h3, strong, .property-price {
  color: var(--ink);
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -.055em;
}

h1 {
  max-width: 650px;
  font-size: clamp(54px, 5.1vw, 76px);
  font-weight: 900;
  line-height: .98;
}

h1 span,
.fact-large strong,
.access-body strong,
.knowledge-index {
  color: transparent;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
}

h2 {
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 900;
  line-height: 1.02;
}

h3 { font-weight: 800; }
p { line-height: 1.68; }
.eyebrow { color: var(--accent); }

.site-header {
  top: 14px;
  background: transparent;
  box-shadow: none;
}

.header-inner {
  min-height: 66px;
  border: 1px solid rgba(255,255,255,.86);
  background: rgba(255,255,255,.86);
  box-shadow: 0 16px 44px rgba(32, 94, 119, .12), inset 0 1px 0 rgba(255,255,255,.96);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.brand {
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand img { width: 100%; height: 100%; object-fit: contain; }

.primary-nav a { position: relative; font-size: 13px; font-weight: 800; letter-spacing: .025em; }
.primary-nav a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: -9px;
  left: 50%;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-gradient);
  transition: right .25s ease, left .25s ease;
}
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { right: 0; left: 0; }

.header-phone,
.button:not(.button-secondary) {
  border-color: transparent;
  background: var(--brand-gradient);
  box-shadow: 0 12px 26px rgba(24, 118, 164, .20);
}

.header-phone:hover,
.header-phone:focus-visible,
.button:not(.button-secondary):hover,
.button:not(.button-secondary):focus-visible {
  border-color: transparent;
  background: var(--brand-gradient-hover);
  box-shadow: 0 16px 34px rgba(24, 118, 164, .30);
  transform: translateY(-3px);
}

.button,
.header-phone,
.text-button,
.text-link,
.filter-button {
  transition: transform .22s ease, box-shadow .22s ease, background .3s ease, color .22s ease, border-color .22s ease;
}

.button:active,
.header-phone:active,
.text-button:active,
.text-link:active { transform: translateY(1px) scale(.985); }

.button-secondary {
  border-color: #cddde6;
  background: rgba(255,255,255,.88);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(35, 91, 119, .08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #8fcbd3;
  background: #fff;
  color: var(--accent-dark);
  transform: translateY(-3px);
}

.hero {
  position: relative;
  padding: 20px 0 16px;
  overflow: clip;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
}

.hero::before {
  top: -160px;
  right: -110px;
  width: 630px;
  height: 630px;
  background: radial-gradient(circle, rgba(52, 211, 193, .23), rgba(42, 124, 224, .08) 48%, transparent 72%);
}

.hero::after {
  bottom: 70px;
  left: 24%;
  width: 360px;
  height: 240px;
  background: radial-gradient(circle, rgba(245, 205, 111, .12), transparent 72%);
}

.hero-grid {
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.9);
  background: rgba(255,255,255,.56);
  box-shadow: var(--shadow);
  backdrop-filter: blur(5px);
}

.hero-copy { padding-inline: clamp(42px, 5.7vw, 86px); }
.hero-copy > p { max-width: 600px; color: var(--muted); font-size: clamp(18px, 1.35vw, 21px); }

.hero-media {
  border-radius: 26px;
  box-shadow: 0 24px 58px rgba(22, 83, 112, .2);
}

.hero-photo { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.hero-media:hover .hero-photo { transform: scale(1.035); }

.hero-render {
  border: 1px solid rgba(255,255,255,.92);
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 46px rgba(14, 73, 104, .23);
  backdrop-filter: blur(12px);
}

.hero-facts {
  margin-bottom: 0;
  gap: 16px;
  border: 0;
  background: transparent;
}

.hero-facts > div {
  position: relative;
  display: flex;
  min-height: 126px;
  padding: 24px 30px 24px 70px;
  border: 1px solid rgba(216,231,239,.9) !important;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 100%, rgba(242, 212, 128, .14), transparent 45%),
    rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  transition: transform .24s ease, box-shadow .24s ease;
}
.hero-facts > div:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(24, 104, 137, .16); }
.hero-facts > div::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 30px;
  width: 4px;
  border-radius: 4px;
  background: var(--brand-gradient);
}
.hero-facts strong {
  color: #103d4d;
  font-size: clamp(25px, 2vw, 32px);
  line-height: 1.05;
  white-space: nowrap;
}
.hero-facts span {
  max-width: 100%;
  line-height: 1.35;
}

.project.section { padding-top: 36px; }

.project-image,
.site-plan-main,
.garage-layout,
.property-card,
.gallery-stage,
.location-frame,
.contact-form,
.extras {
  border-color: rgba(205, 224, 234, .94);
  box-shadow: var(--shadow-soft);
}

.project-image,
.property-card,
.access-card,
.knowledge-card,
.gallery-stage { transition: transform .32s cubic-bezier(.2,.7,.2,1), box-shadow .32s ease, border-color .32s ease; }

.project-image:hover,
.property-card:hover,
.access-card:hover,
.knowledge-card:hover {
  border-color: rgba(46, 160, 184, .36);
  box-shadow: 0 26px 66px rgba(20, 104, 143, .17);
  transform: translateY(-7px);
}

.property-card > img,
.access-media img { transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.property-card:hover > img,
.access-card:hover .access-media img { transform: scale(1.045); }

.property-type { color: var(--accent-dark); }
.property-meta span { border-color: #d7e8ef; background: #f1f8fa; color: #465b68; }
.property-price { background: linear-gradient(135deg, #f2fbfa, #eef5ff); }

.text-button,
.text-link {
  border-color: #2a9aa6;
  color: #0b7377;
}
.text-button:hover,
.text-button:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  border-color: transparent;
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 12px 28px rgba(24, 118, 164, .22);
  transform: translateY(-2px);
}

.filter-button.is-active,
.filter-button:hover,
.filter-button:focus-visible {
  border-color: transparent;
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 10px 24px rgba(24, 118, 164, .19);
  transform: translateY(-2px);
}

.gallery-controls button:hover,
.gallery-controls button:focus-visible,
.gallery-thumb.is-active { border-color: var(--accent); color: var(--accent-dark); }

.location { padding-bottom: clamp(90px, 10vw, 150px); }
.location-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,45,66,.08), transparent 48%, rgba(10,88,101,.16));
  pointer-events: none;
}
.location-panel { z-index: 1; border: 1px solid rgba(255,255,255,.78); background: rgba(255,255,255,.88); backdrop-filter: blur(18px); }

.location-intro {
  display: grid;
  margin-top: clamp(70px, 8vw, 118px);
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: clamp(38px, 7vw, 110px);
}
.location-intro h2, .knowledge-heading h2 { margin-bottom: 0; }
.location-intro > p { margin: 0 0 8px; color: var(--muted); font-size: 18px; }

.access-grid {
  display: grid;
  margin-top: 42px;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.access-card {
  grid-column: span 4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-soft);
}
.access-media { overflow: hidden; aspect-ratio: 1.28 / 1; background: var(--surface-2); }
.access-media img { width: 100%; height: 100%; object-fit: cover; }
.access-body { padding: 28px; }
.access-body strong { display: block; margin-bottom: 10px; font-size: 26px; letter-spacing: -.05em; }
.access-body h3 { margin-bottom: 12px; font-size: 24px; line-height: 1.1; }
.access-body p { margin: 0; color: var(--muted); font-size: 15px; }

.knowledge {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(215,229,237,.82);
  background:
    radial-gradient(circle at 84% 18%, rgba(38, 189, 181, .18), transparent 25%),
    radial-gradient(circle at 20% 100%, rgba(36, 119, 232, .10), transparent 30%),
    rgba(249,252,253,.84);
}
.knowledge-heading { max-width: 820px; margin-bottom: 48px; }
.knowledge-heading > p:last-child { max-width: 680px; margin-top: 22px; color: var(--muted); font-size: 18px; }
.knowledge-grid { display: grid; grid-template-columns: 1.35fr .825fr .825fr; gap: 24px; }
.knowledge-card {
  display: flex;
  min-height: 390px;
  padding: 34px;
  border: 1px solid rgba(210,227,236,.95);
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
  flex-direction: column;
}
.knowledge-card-featured {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(232,249,249,.92));
}
.knowledge-index { font-size: clamp(72px, 7vw, 110px); font-weight: 900; line-height: .8; letter-spacing: -.09em; }
.knowledge-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 46px;
  place-items: center;
  border-radius: 17px;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(24,118,164,.22);
}
.knowledge-card h3 { margin-bottom: 18px; font-size: clamp(25px, 2.2vw, 34px); line-height: 1.07; }
.knowledge-card p { margin-bottom: 28px; color: var(--muted); }
.knowledge-card .text-link { margin-top: auto; }

.payment { background: transparent; }
.payment-grid {
  border: 1px solid rgba(200,222,233,.92);
  background:
    radial-gradient(circle at 92% 15%, rgba(52,211,193,.18), transparent 33%),
    linear-gradient(135deg, #eaf8f8, #eff6ff);
  box-shadow: var(--shadow-soft);
}

.contact-form { background: rgba(255,255,255,.92); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: #1e9ca3;
  box-shadow: 0 0 0 4px rgba(15,143,139,.13);
}

.site-footer {
  background:
    radial-gradient(circle at 85% 0%, rgba(44,195,188,.15), transparent 28%),
    #eef6f9;
}
.site-footer a:hover, .site-footer a:focus-visible { color: var(--accent-dark); }

/* Project facts: asymmetric, image-led bento composition. */
.project-facts {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(224px, auto));
  gap: 18px;
  border: 0;
}

.project-fact {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(199, 222, 232, .9);
  border-radius: 24px;
  background: rgba(248, 252, 253, .96);
  box-shadow: 0 14px 34px rgba(24, 104, 137, .08);
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.project-fact:hover {
  transform: translateY(-4px);
  border-color: rgba(32, 155, 170, .34);
  box-shadow: 0 22px 46px rgba(24, 104, 137, .14);
}

.project-fact-levels {
  grid-column: span 5;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 466px;
  padding: clamp(34px, 4vw, 52px);
  border-color: transparent;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(116, 233, 218, .34), transparent 33%),
    radial-gradient(circle at 12% 92%, rgba(52, 113, 236, .5), transparent 34%),
    linear-gradient(145deg, #093e50 0%, #087b7c 54%, #175fc4 100%);
  box-shadow: 0 24px 52px rgba(11, 90, 121, .24);
}

.project-fact-levels::after {
  content: "";
  position: absolute;
  top: -72px;
  right: -48px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
}

.fact-levels-heading,
.fact-levels-stats { position: relative; z-index: 1; }

.fact-levels-heading strong {
  display: block;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(94px, 10vw, 144px);
  font-weight: 900;
  line-height: .7;
  letter-spacing: -.09em;
}

.fact-levels-heading p {
  max-width: 330px;
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.fact-levels-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 54px;
}

.fact-levels-stats > div {
  min-width: 0;
  padding: 18px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.fact-levels-stats strong,
.fact-number-row strong {
  display: block;
  margin-bottom: 8px;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -.06em;
}

.fact-levels-stats strong { color: #fff; }
.fact-levels-stats span {
  display: block;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.project-fact-media {
  grid-column: span 7;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(230px, .88fr);
  min-height: 224px;
}

.fact-media-copy {
  display: flex;
  min-width: 0;
  padding: 28px 26px 26px 30px;
  flex-direction: column;
  justify-content: center;
}

.fact-media-copy h3 {
  max-width: 360px;
  margin: 0 0 20px;
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.08;
}

.fact-number-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.fact-number-row > div + div {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.fact-number-row strong { color: var(--accent); }
.fact-number-row span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.fact-note {
  margin: 20px 0 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.fact-media-visual {
  min-width: 0;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #edf4f6;
}

.fact-media-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .75, .25, 1);
}

.project-fact:hover .fact-media-visual img { transform: scale(1.035); }
.project-fact-parking .fact-media-visual img { object-position: center; }
.project-fact-environment .fact-media-visual img { object-position: 68% center; }

.fact-feature-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-feature-list li {
  display: grid;
  grid-template-columns: minmax(110px, .8fr) minmax(120px, 1fr);
  gap: 12px;
  align-items: baseline;
}

.fact-feature-list li::before {
  content: "";
  position: absolute;
}

.fact-feature-list strong {
  color: var(--accent-dark);
  font-size: 13px;
  letter-spacing: -.02em;
}

.fact-feature-list span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 1000px) {
  .location-intro { grid-template-columns: 1fr; gap: 24px; }
  .access-card { grid-column: span 6; }
  .access-card:last-child { grid-column: 4 / span 6; }
  .knowledge-grid { grid-template-columns: 1fr 1fr; }
  .knowledge-card-featured { grid-column: 1 / -1; }

  .project-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }
  .project-fact-levels {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 360px;
  }
  .project-fact-media {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .fact-media-visual { min-height: 190px; order: -1; }
}

@media (max-width: 760px) {
  .site-header { top: 8px; }
  .header-inner { min-height: 60px; }
  .brand { width: 46px; height: 46px; border-radius: 0; }
  .hero { padding-top: 8px; }
  .hero-grid { border-radius: 24px; }
  .hero-copy { padding-inline: 24px; }
  h1 { font-size: clamp(43px, 12vw, 54px); line-height: 1.01; }
  h2 { font-size: clamp(36px, 10vw, 48px); }
  .hero-media { border-radius: 22px; box-shadow: 0 20px 48px rgba(22,83,112,.2); }
  .hero-facts { gap: 12px; }
  .hero-facts > div {
    min-height: 116px;
    padding: 22px 24px 22px 62px;
    border-radius: 18px;
  }
  .hero-facts > div::before { top: 20px; bottom: 20px; left: 26px; }
  .hero-facts strong { white-space: normal; }
  .access-grid, .knowledge-grid { grid-template-columns: 1fr; }
  .access-card, .access-card:last-child { grid-column: auto; }
  .access-media { aspect-ratio: 1.45 / 1; }
  .knowledge-card-featured { display: flex; grid-column: auto; }
  .knowledge-card { min-height: 0; padding: 28px; }
  .knowledge-index { margin-bottom: 18px; }
  .knowledge-icon { margin-bottom: 28px; }

  .project-facts { grid-template-columns: 1fr; }
  .project-fact-levels,
  .project-fact-media { grid-column: auto; }
  .project-fact-levels {
    min-height: 430px;
    padding: 34px 26px 28px;
  }
  .fact-levels-heading p { max-width: 270px; }
  .fact-levels-stats { margin-top: 40px; }
  .fact-levels-stats > div { padding: 16px 10px; }
  .fact-levels-stats strong,
  .fact-number-row strong { font-size: 25px; }
  .fact-media-copy { padding: 26px 24px 28px; }
  .fact-media-visual { min-height: 210px; }
  .fact-feature-list li { grid-template-columns: minmax(105px, .78fr) 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo,
  .property-card > img,
  .access-media img,
  .project-image,
  .property-card,
  .access-card,
  .knowledge-card,
  .project-fact,
  .fact-media-visual img { transition: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .header-inner,
  .hero-grid,
  .location-panel { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
