/* VTP Property Investments — styling modelled on the One Page Pro "Corporate" layout */

:root {
  --accent: #b1d234;
  --accent-hover: #9fbe24;
  --bg: #212121;
  --panel: #161616;
  --footer: #181818;
  --text: #efefef;
  --muted: #a0a0a0;
  --side-w: 330px;
  --container: 1070px;
  --gutter: 55px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: #fff; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.2; }
p { margin: 0 0 20px; }
svg { display: block; }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; z-index: 1000; background: var(--accent); color: #111; padding: 8px 14px; }

/* ---------- Side navigation (desktop) ---------- */
.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: var(--side-w);
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 74px;
}
.side-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--panel);
  opacity: .64;
}

.logo { display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; }
.logo:hover { color: #fff; }
.logo-mark { width: 58px; height: 58px; margin-bottom: 14px; }
.logo-name { font-size: 17px; font-weight: 800; letter-spacing: .5px; line-height: 1.25; text-transform: uppercase; }
.logo-text { display: flex; flex-direction: column; }
.logo-sub { margin-top: 3px; font-size: 10px; font-weight: 700; letter-spacing: 3.3px; color: var(--muted); text-transform: uppercase; }

.side-nav .logo { margin-bottom: 34px; }

.menu { list-style: none; margin: 0; padding: 0; text-align: center; }
.menu li { padding: 12px 0; }
.menu li:first-child { padding-top: 0; }
.menu a {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.menu a:hover,
.menu a.active { color: #fff; }
.side-divider { width: 1px; height: 15px; margin: 15px auto 0; background: #fff; }

/* ---------- Section dots (right) ---------- */
.bullets {
  position: fixed;
  top: 50%;
  right: 30px;
  z-index: 98;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transform: translateY(-50%);
}
.bullets a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: border-color .3s ease;
}
.bullets a::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  transition: all .3s ease;
}
.bullets a:hover::after { background: #fff; }
.bullets a.active { border-color: #fff; }
.bullets a.active::after { width: 7px; height: 7px; background: #fff; }

/* ---------- Mobile header + menu ---------- */
.mobile-header { display: none; }
.mobile-menu { display: none; }

/* ---------- Sections ---------- */
.section {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 160px 0 160px var(--side-w);
  overflow: hidden;
  background: #1b1b1b;
}
.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.section-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, .62);
}
.bg-home::after { background: rgba(12, 12, 12, .55); }
.bg-about::after { background: rgba(12, 12, 12, .35); }
.bg-portfolio::after { background: rgba(12, 12, 12, .72); }
.bg-promise::after { background: rgba(12, 12, 12, .7); }

@media (min-width: 1141px) and (hover: hover) {
  .section-bg { background-attachment: fixed; }
}

.bg-home      { background-image: url("https://images.unsplash.com/photo-1694501522559-980c07631b21?auto=format&fit=crop&w=2000&q=70"); }
.bg-services  { background-image: url("https://images.unsplash.com/photo-1598928506311-c55ded91a20c?auto=format&fit=crop&w=2000&q=70"); }
.bg-portfolio { background-image: url("https://images.unsplash.com/photo-1510265119258-db115b0e8172?auto=format&fit=crop&w=2000&q=70"); }
.bg-about     { background-image: url("https://images.unsplash.com/photo-1741156386380-0236c72eb6f9?auto=format&fit=crop&w=2000&q=70"); }
.bg-process   { background-image: url("https://images.unsplash.com/photo-1775590766317-8fd3ef7d721c?auto=format&fit=crop&w=2000&q=70"); }
.bg-promise   { background-image: url("https://images.unsplash.com/photo-1773578978637-c9771e7a9913?auto=format&fit=crop&w=2000&q=70"); }
.bg-contact   { background-image: url("https://images.unsplash.com/photo-1712873068978-eb0cb20d1b62?auto=format&fit=crop&w=2000&q=70"); }

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.section-title { margin-bottom: 17px; font-size: 60px; font-weight: 800; line-height: 1.2; color: #fff; }
.section-title.upper { text-transform: uppercase; }
.dot { color: var(--accent); }
.section-intro { max-width: 760px; margin-bottom: 50px; color: var(--text); }
.section-intro.wide { max-width: none; }

/* ---------- Hero ---------- */
.hero-title {
  font-size: min(114px, calc((100vw - var(--side-w) - 110px) * .105));
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
}
.hero-title span { color: var(--accent); }
.hero-sub { margin: 0 0 20px; font-size: 43px; font-weight: 400; line-height: 1.7; color: var(--accent); }

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .8px;
  line-height: 1.7;
  text-transform: uppercase;
  color: #fff;
}
.btn-line svg { width: 16px; height: 16px; transition: transform .2s ease; }
.btn-line:hover { color: var(--accent); }
.btn-line:hover svg { transform: translateX(4px); }

/* ---------- Services ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.service-card {
  padding: 50px 20px 30px;
  border-radius: 4px;
  background: #fff;
  color: #515151;
  text-align: center;
}
.service-card.dark {
  border-radius: 4px 4px 0 0;
  border-bottom: 2px solid var(--accent);
  background: rgba(10, 10, 10, .8);
  color: #cecece;
}
.service-icon { display: flex; align-items: center; justify-content: center; height: 80px; margin-bottom: 25px; color: var(--accent); }
.service-icon svg { width: 76px; height: 76px; }
.service-card h3 { margin-bottom: 15px; font-size: 18px; font-weight: 700; line-height: 1.55; text-transform: uppercase; color: #1e1e1e; }
.service-card.dark h3 { color: #fff; }
.service-card p { margin: 0; font-size: 15px; line-height: 1.7; }

/* ---------- Carousel (portfolio + process) ---------- */
.arrows { display: flex; flex-shrink: 0; gap: 8px; padding-top: 14px; }
.arrows.center { justify-content: center; padding-top: 0; margin-top: 40px; }
.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  padding: 0;
  border: 3px solid var(--accent);
  border-radius: 50%;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.arrow svg { width: 20px; height: 20px; }
.arrow:hover { background: var(--accent); color: #fff; }

.carousel-track {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item { flex: 0 0 calc((100% - 80px) / 3); scroll-snap-align: start; }

/* Portfolio cards */
.work-card { display: flex; flex-direction: column; background: #f5f5f5; }
.work-thumb { overflow: hidden; }
.work-thumb img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; }
.work-card:hover .work-thumb img { transform: scale(1.06); }
.work-body { padding: 40px 40px 30px; }
.work-body h3 { margin-bottom: 8px; font-size: 16px; font-weight: 800; line-height: 1.2; text-transform: uppercase; color: #353535; }
.work-cat { display: block; margin-bottom: 7px; font-size: 15px; font-style: italic; line-height: 1.7; color: #757575; }
.work-body p { margin: 0; padding-top: 11px; color: #5e5e5e; }

/* ---------- About ---------- */
.section.about { align-items: stretch; padding: 0 0 0 var(--side-w); }
.about-panel {
  position: relative;
  z-index: 1;
  width: 700px;
  max-width: 100%;
  margin: 0 auto;
  padding: 150px 60px 210px;
  overflow: hidden;
  background: #fff;
  color: #6d6d6d;
}
.about-panel .section-title { margin-bottom: 25px; font-size: 52px; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }
.about-panel .lead-in { color: var(--accent); }
.check-list { list-style: none; margin: 0 0 28px; padding: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 14px; padding: 4px 0; font-weight: 700; color: #3d3d3d; }
.check-list svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 6px; color: var(--accent); }
.about-panel a:hover { color: #3d3d3d; }
.about-art { position: absolute; right: 0; bottom: 0; left: 0; height: 170px; color: var(--accent); opacity: .35; pointer-events: none; }
.about-art svg { width: 100%; height: 100%; }

/* ---------- Process (news-style grid) ---------- */
.step { display: flex; flex-direction: column; }
.step-num { margin-bottom: 10px; font-size: 15px; font-weight: 700; letter-spacing: 2px; color: var(--accent); }
.step h3 { margin-bottom: 15px; font-size: 24px; font-weight: 800; line-height: 1.2; text-transform: uppercase; color: #fff; }
.step-info { display: flex; align-items: center; gap: 8px; margin-bottom: 15px; color: #bcbcbc; }
.step-info svg { width: 16px; height: 16px; color: var(--accent); }
.step p { flex: 1; margin-bottom: 30px; color: var(--text); }
.step::after { content: ""; display: block; height: 2px; background: var(--accent); }

/* ---------- Promise (testimonial-style) ---------- */
.center-text { text-align: center; }
.slides { position: relative; }
.slide { display: none; }
.slide.active { display: block; animation: fadeIn .6s ease; }
.quote { max-width: 900px; margin: 30px auto 35px; font-size: 21px; font-style: italic; line-height: 1.7; color: #f9f9f9; }
.quote-author { display: inline-flex; align-items: center; gap: 15px; text-align: left; }
.quote-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: rgba(22, 22, 22, .8);
  color: var(--accent);
}
.quote-avatar svg { width: 24px; height: 24px; }
.quote-name { font-size: 15px; font-weight: 700; line-height: 1.7; color: #fff; }
.quote-pos { font-size: 15px; line-height: 1.7; color: #d3d3d3; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: start; }
.contact-form .section-title { margin-bottom: 30px; }
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 2px; font-size: 15px; color: #fff; }
.field input,
.field textarea {
  width: 100%;
  padding: 6px 0 8px;
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, .85);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .2s ease;
}
.field input:focus,
.field textarea:focus { border-bottom-color: var(--accent); }
.field textarea { height: 74px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn-solid {
  display: inline-block;
  padding: 19px 31px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .8px;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease;
}
.btn-solid:hover { background: var(--accent-hover); }
.btn-solid[disabled] { opacity: .6; cursor: wait; }
.form-status { min-height: 27px; margin: 16px 0 0; font-size: 15px; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #ff8f8f; }

.office h3 { margin-bottom: 24px; font-size: 29px; font-weight: 800; line-height: 1.2; color: #fff; }
.info-list { list-style: none; margin: 0 0 48px; padding: 0; }
.info-list li { display: flex; gap: 20px; margin-bottom: 20px; font-size: 17px; line-height: 1.7; color: #fff; }
.info-list svg { flex-shrink: 0; width: 22px; height: 22px; margin-top: 3px; color: #fff; }
.info-list a { color: var(--accent); }
.info-list a:hover { color: #fff; }
.info-list .tel { color: #fff; }
.info-list .tel:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { padding-left: var(--side-w); background: var(--footer); color: #838383; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 30px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 38px var(--gutter);
  font-size: 14px;
  line-height: 1.7;
}
.footer-inner a { color: #838383; }
.footer-inner a:hover { color: var(--accent); }

/* ---------- Hero entrance ---------- */
.fade-up { animation: fadeUp .9s ease both; }
.hero-sub.fade-up { animation-delay: .15s; }
.btn-line.fade-up { animation-delay: .3s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .slide.active,
  .fade-up { animation: none; }
}

/* ---------- Simple inner page (privacy) ---------- */
.page { min-height: 100vh; padding: 140px 0 100px var(--side-w); }
.page .container { max-width: 900px; }
.page h1 { margin-bottom: 30px; font-size: 52px; color: #fff; }
.page h2 { margin: 40px 0 12px; font-size: 22px; text-transform: uppercase; color: #fff; }
.page ul { padding-left: 20px; }

/* ================= Responsive ================= */
@media (max-width: 1140px) {
  :root { --side-w: 0px; }

  .side-nav,
  .bullets { display: none; }

  .mobile-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: var(--panel);
  }
  .mobile-header .logo { flex-direction: row; gap: 12px; text-align: left; }
  .mobile-header .logo-mark { width: 36px; height: 36px; margin: 0; }
  .mobile-header .logo-name { font-size: 15px; }
  .mobile-header .logo-sub { font-size: 8px; letter-spacing: 2.6px; }

  .menu-toggle {
    position: relative;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span,
  .menu-toggle::before,
  .menu-toggle::after {
    content: "";
    position: absolute;
    left: 3px;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: transform .3s ease, opacity .3s ease;
  }
  .menu-toggle::before { top: 7px; }
  .menu-toggle span { top: 14px; }
  .menu-toggle::after { top: 21px; }
  .menu-open .menu-toggle::before { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span { opacity: 0; }
  .menu-open .menu-toggle::after { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 22, 22, .97);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
  }
  .menu-open .mobile-menu { opacity: 1; visibility: visible; }
  .mobile-menu .menu a { font-size: 16px; }
  .menu-open { overflow: hidden; }

  .section { min-height: 0; padding: 130px 0 100px; }
  .section.hero { min-height: 100vh; min-height: 100svh; }
  .section[id] { scroll-margin-top: 60px; }
  .section.about { padding: 0; }
  .about-panel { padding: 130px 60px 200px; }

  .hero-title { font-size: min(114px, 11vw); }
  .page { padding-left: 0; }
}

@media (max-width: 999px) {
  .carousel-item { flex-basis: calc((100% - 40px) / 2); }
  .grid-3 { gap: 24px; }
  .service-card { padding: 40px 16px 26px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; }

  .mobile-header { padding: 10px 16px; }
  .section { padding: 110px 0 80px; }
  .section[id] { scroll-margin-top: 56px; }
  .section-title { font-size: 40px; }
  .section-intro { margin-bottom: 36px; }
  .hero-title { font-size: 13.5vw; }
  .hero-sub { font-size: 24px; line-height: 1.5; margin-bottom: 28px; }

  .grid-3 { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }

  .section-head { flex-direction: column; gap: 0; }
  .section-head .arrows { order: 3; padding-top: 0; margin-bottom: 30px; }

  .about-panel { padding: 110px 24px 170px; }
  .about-panel .section-title { font-size: 38px; }

  .step h3 { font-size: 21px; }
  .quote { font-size: 18px; }
  .office h3 { font-size: 24px; }
  .info-list li { font-size: 16px; gap: 16px; }

  .footer-inner { flex-direction: column; padding-top: 30px; padding-bottom: 30px; }
  .page h1 { font-size: 36px; }
}

@media (max-width: 639px) {
  .carousel-item { flex-basis: 100%; }
  .work-body { padding: 30px 26px 26px; }
}
