/* =========================================================
   Velox Capital Advisors — static rebuild
   Palette / metrics mirror the original veloxcapital.ge
   ========================================================= */

:root{
  --navy:#283444;
  --navy-deep:#00132e;
  --sand:#ddccb8;
  --ink:#333;
  --body:#666;
  --grey:#f2f2f2;
  --panel:#f4f4f4;
  --panel-border:#d9d9d9;

  --font-display:"Darker Grotesque", Helvetica, Arial, Lucida, sans-serif;
  --font-body:"Open Sans", Arial, sans-serif;

  --row-max:1080px;
  --gutter:5.5%;
  --header-h:54px;
}

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

html{scroll-behavior:smooth;scroll-padding-top:var(--header-h)}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

body{
  margin:0;
  font-family:var(--font-body);
  font-size:14px;
  line-height:1.7;
  color:var(--body);
  background:#fff;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
p{margin:0 0 1em}
p:last-child{margin-bottom:0}

h1,h2,h3,h4,h5{
  font-family:var(--font-display);
  font-weight:900;
  color:var(--ink);
  margin:0;
  line-height:1.1;
}

button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}

:focus-visible{outline:2px solid var(--sand);outline-offset:3px}

.skip-link{
  position:absolute;left:-9999px;top:0;z-index:100000;
  background:var(--navy);color:#fff;padding:10px 18px;font-weight:600;
}
.skip-link:focus{left:8px;top:8px}

/* ---------- layout ---------- */
.row{
  width:80%;
  max-width:var(--row-max);
  margin:0 auto;
  position:relative;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  column-gap:var(--gutter);
  row-gap:50px;
}

.section-title{
  font-size:60px;
  text-align:center;
  margin-bottom:34px;
}
.section-title--left{text-align:left}

/* ---------- header ---------- */
.site-header{
  position:fixed;
  inset:0 0 auto 0;
  z-index:9999;
  background:#fff;
  box-shadow:0 0 7px rgba(0,0,0,.1);
  transition:box-shadow .3s ease;
}

.header-inner{
  width:80%;
  max-width:var(--row-max);
  margin:0 auto;
  height:var(--header-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.logo img{height:35px;width:auto}

.primary-nav ul{
  display:flex;
  align-items:center;
  gap:22px;
  list-style:none;
  margin:0;
  padding:0;
}

.primary-nav a{
  font-size:16px;
  font-weight:600;
  color:var(--ink);
  padding:4px 0;
  position:relative;
  transition:color .25s ease;
}
.primary-nav a::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:2px;
  background:var(--sand);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .28s ease;
}
.primary-nav a:hover,
.primary-nav a.is-current{color:#b99a6d}
.primary-nav a:hover::after,
.primary-nav a.is-current::after{transform:scaleX(1)}

/* hamburger */
.nav-toggle{
  display:none;
  width:34px;height:26px;
  padding:0;
  position:relative;
}
.nav-toggle span{
  position:absolute;left:3px;right:3px;height:2px;
  background:var(--ink);
  transition:transform .3s ease,opacity .2s ease,top .3s ease;
}
.nav-toggle span:nth-child(1){top:5px}
.nav-toggle span:nth-child(2){top:12px}
.nav-toggle span:nth-child(3){top:19px}
.nav-toggle[aria-expanded="true"] span:nth-child(1){top:12px;transform:rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){top:12px;transform:rotate(-45deg)}

/* ---------- hero ---------- */
.hero{
  margin-top:var(--header-h);
  padding:102px 0;
  min-height:459px;
  display:flex;
  align-items:center;
  background:
    linear-gradient(rgba(0,19,46,.6),rgba(0,19,46,.6)),
    url("../img/financial-advisor-39.jpg") center/cover no-repeat;
}

.hero h1{
  font-size:clamp(52px,10vw,125px);
  line-height:1.55;
  color:#fff;
  text-align:center;
}

/* ---------- services ---------- */
.services{
  padding:50px 0 60px;
  background:url("../img/financial-advisor-34.png") center center no-repeat;
}

.service-icon{margin-bottom:22px}

.service-title{
  font-size:22px;
  padding-bottom:10px;
  margin-bottom:20px;
  border-bottom:2px solid var(--ink);
}

.toggle{
  background:var(--panel);
  border:1px solid var(--panel-border);
  border-radius:5px;
  padding:20px;
  transition:background-color .3s ease;
}
.toggle.is-open{background:#fff}

.toggle-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
  text-align:left;
  font-size:16px;
  font-weight:600;
  color:var(--body);
  transition:color .25s ease;
}
.toggle-title:hover{color:var(--navy)}

.toggle-title::after{
  content:"";
  flex:0 0 auto;
  width:20px;height:20px;
  border-radius:50%;
  background:var(--sand);
  position:relative;
  transition:transform .3s ease;
  background-image:
    linear-gradient(#fff,#fff),
    linear-gradient(#fff,#fff);
  background-size:9px 2px,2px 9px;
  background-position:center,center;
  background-repeat:no-repeat;
}
.toggle-title[aria-expanded="true"]::after{
  transform:rotate(135deg);
  background-size:9px 2px,2px 9px;
}

.toggle-content{
  padding-top:16px;
  font-size:14px;
}
.toggle-content p{margin-bottom:1em}

.service-quote p{
  font-size:23px;
  line-height:1.5;
  color:var(--body);
}
.service-quote em{font-style:italic}

/* ---------- about ---------- */
.about{padding:60px 0;overflow:hidden}

.about-row{
  display:grid;
  grid-template-columns:1fr 2fr;
  column-gap:var(--gutter);
  align-items:start;
}

/* The photo bleeds past its column toward the left edge, as on the original,
   but stops short of the copy so nothing sits on top of the text. */
.about-media{position:relative;min-height:620px}
.about-media img{
  position:absolute;
  top:70px;
  right:-20px;
  width:530px;
  max-width:none;
}

.about-body{position:relative;padding-top:6px}

.about-text{
  font-size:20px;
  line-height:1.7;
  margin-top:24px;
  max-width:600px;
}

.about-shape{
  position:absolute;
  top:-14px;
  right:-89px;
  width:270px;
  pointer-events:none;
  z-index:-1;
}

/* ---------- portfolio ---------- */
.portfolio{
  padding:50px 0 100px;
  background:url("../img/financial-advisor-shape-background-2.png") center bottom no-repeat;
}

.portfolio-grid{align-items:stretch}

.pcard{
  display:flex;
  flex-direction:column;
  padding:30px;
  transition:transform .35s ease,box-shadow .35s ease;
}
.pcard:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(40,52,68,.18)}

.pcard-icon{margin-bottom:20px}

.pcard h3{font-size:36px;margin-bottom:14px}
.pcard p{font-size:18px;line-height:1.55;flex:1 1 auto}

.pcard-more{
  align-self:center;
  margin-top:26px;
  font-size:18px;
  font-weight:600;
  position:relative;
  padding-bottom:2px;
}
.pcard-more::after{
  content:"";
  position:absolute;left:0;right:0;bottom:0;height:1px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .28s ease;
}
.pcard-more:hover::after{transform:scaleX(1)}

.pcard--navy{background:var(--navy);color:var(--sand)}
.pcard--navy h3{color:var(--sand)}
.pcard--navy .pcard-more{color:#fff}

.pcard--sand{background:var(--sand);color:var(--navy)}
.pcard--sand h3{color:var(--navy)}
.pcard--sand .pcard-more{color:#fff}

.pcard--grey{background:var(--grey);color:var(--navy)}
.pcard--grey h3{color:var(--navy)}
.pcard--grey .pcard-more{color:var(--navy)}

/* ---------- team ---------- */
.team{
  padding:80px 0 100px;
  background:var(--grey);
}

.team-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  column-gap:var(--gutter);
}

.member img{
  width:212px;
  max-width:100%;
  aspect-ratio:1;
  object-fit:cover;
  border-radius:50%;
  margin:0 auto 18px;
}

.member h4{
  font-family:var(--font-body);
  font-size:20px;
  font-weight:700;
  line-height:1.4;
  color:var(--ink);
  text-align:center;
}

.member-more{
  display:block;
  margin:14px auto 0;
  font-size:17px;
  font-weight:600;
  color:var(--ink);
  transition:color .25s ease;
}
.member-more:hover{color:#b99a6d}

/* ---------- contact ---------- */
.contact{
  padding:50px 0 50px;
  background:var(--navy);
  color:#fff;
}

.contact-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  column-gap:var(--gutter);
  align-items:center;
}

.contact-list{list-style:none;margin:0 0 30px;padding:0}
.contact-list li{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:18px;
  font-size:16px;
  font-weight:700;
  color:#fff;
}
.contact-list a{transition:color .25s ease}
.contact-list a:hover{color:var(--sand)}

.ci{flex:0 0 auto;width:22px;height:22px;color:var(--sand)}
.ci svg{width:22px;height:22px}

.contact-logo{width:190px;filter:brightness(0) invert(1);opacity:.95}

.contact-map{
  aspect-ratio:4/3;
  border:1px solid rgba(255,255,255,.15);
  background:#1e2836;
}
.contact-map iframe{width:100%;height:100%;border:0;display:block}

/* ---------- footer ---------- */
.site-footer{
  background:var(--navy);
  padding:0 0 22px;
  text-align:center;
}
.site-footer p{
  font-size:13px;
  color:rgba(255,255,255,.65);
}
.site-footer a{color:var(--sand)}
.site-footer a:hover{text-decoration:underline}

/* ---------- modals ---------- */
.modal-root{
  position:fixed;
  inset:0;
  z-index:100000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.modal-root[hidden]{display:none}

.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,19,46,.72);
  animation:fadeIn .25s ease;
}

.modal{
  position:relative;
  width:min(620px,100%);
  max-height:86vh;
  overflow-y:auto;
  background:#fff;
  padding:44px 40px 40px;
  border-top:4px solid var(--sand);
  box-shadow:0 30px 70px rgba(0,0,0,.35);
  animation:popIn .3s cubic-bezier(.2,.7,.3,1);
}
.modal[hidden]{display:none}

.modal h3{
  font-size:34px;
  color:var(--navy);
  margin-bottom:18px;
}
.modal p{font-size:15px;line-height:1.75}
.modal a{color:#b99a6d;text-decoration:underline}

.modal--person img{
  width:130px;
  aspect-ratio:1;
  object-fit:cover;
  border-radius:50%;
  margin-bottom:18px;
}

.modal-close{
  position:absolute;
  top:8px;right:12px;
  font-size:34px;
  line-height:1;
  color:var(--body);
  transition:color .2s ease,transform .2s ease;
}
.modal-close:hover{color:var(--navy);transform:scale(1.1)}

body.modal-open{overflow:hidden}

@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes popIn{from{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:none}}

/* ---------- scroll reveal ---------- */
.js .reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .7s ease,transform .7s ease;
  will-change:opacity,transform;
}
.js .reveal.is-visible{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce){
  .js .reveal{opacity:1;transform:none;transition:none}
  .modal,.modal-backdrop{animation:none}
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width:1100px){
  .about-shape{right:-20%}
}

@media (max-width:980px){
  .row,.header-inner{width:88%}

  .section-title{font-size:48px}

  .grid-3{grid-template-columns:repeat(2,1fr);column-gap:36px;row-gap:44px}

  .about-row{grid-template-columns:1fr;row-gap:34px}
  .about-media{min-height:0}
  .about-media img{position:static;width:100%;margin:0}
  .about-shape{display:none}
  .about-text{font-size:18px;max-width:none}
  .section-title--left{text-align:left}

  .team-grid{grid-template-columns:repeat(2,1fr);row-gap:40px}

  .contact-row{grid-template-columns:1fr;row-gap:34px}
  .contact-map{aspect-ratio:16/10}
}

@media (max-width:780px){
  .nav-toggle{display:block}

  .primary-nav{
    position:absolute;
    top:var(--header-h);
    left:0;right:0;
    background:#fff;
    box-shadow:0 12px 24px rgba(0,0,0,.12);
    max-height:0;
    overflow:hidden;
    transition:max-height .35s ease;
  }
  .primary-nav.is-open{max-height:340px}
  .primary-nav ul{
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:6px 0 14px;
  }
  .primary-nav li{border-top:1px solid #eee}
  .primary-nav li:first-child{border-top:0}
  .primary-nav a{display:block;padding:13px 6%;font-size:15px}
  .primary-nav a::after{display:none}

  .hero{padding:80px 0;min-height:340px}

  .grid-3{grid-template-columns:1fr;row-gap:40px}
  .team-grid{grid-template-columns:1fr;row-gap:44px}

  .services{padding:44px 0 50px;background-size:contain}
  .portfolio{padding:44px 0 70px}
  .team{padding:60px 0 70px}

  .section-title{font-size:42px;margin-bottom:26px}

  .modal{padding:40px 24px 28px}
  .modal h3{font-size:28px}
}

@media (max-width:480px){
  .row,.header-inner{width:92%}
  .section-title{font-size:36px}
  .pcard h3{font-size:30px}
  .pcard p{font-size:16px}
  .service-quote p{font-size:19px}
}
