:root{
  --bg0:#070b14;
  --bg1:#0b1220;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.08);
  --stroke: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --muted2: rgba(255,255,255,.58);
  --blue:#2f6bff;
  --blue2:#1f4cff;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius: 18px;
  --radius2: 24px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(47,107,255,.18), transparent 60%),
    radial-gradient(900px 520px at 80% 0%, rgba(47,107,255,.12), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  /* subtle texture image (no logo watermark) */
  background-image:
    radial-gradient(1200px 600px at 20% 10%, rgba(47,107,255,.18), transparent 60%),
    radial-gradient(900px 520px at 80% 0%, rgba(47,107,255,.12), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1)),
    url("../images/cresto-background-texture.jpg");
  background-size: auto, auto, auto, 1200px;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-position: center, center, center, center;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(7,11,20,.55);
  border-bottom:1px solid rgba(255,255,255,.07);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width: 260px;
}

.brand-mark{
  width:58px;
  height:58px;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  display:grid;
  place-items:center;
  border: 1px solid rgba(255,255,255,.35);
}
.brand-mark img{
  width:48px;
  height:48px;
  object-fit:contain;
}

.brand-name{
  font-weight:800;
  letter-spacing:.04em;
  font-size:16px;
  color: rgba(255,255,255,.90);
}

.nav-links{
  display:flex;
  align-items:center;
  gap:22px;
}

.nav-link{
  color: rgba(255,255,255,.72);
  font-weight:600;
  padding:8px 10px;
  border-radius: 12px;
}
.nav-link:hover{
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.06);
}
.nav-link.active{
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius: 14px;
  font-weight:700;
  border:1px solid transparent;
  cursor:pointer;
  transition: transform .08s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  user-select:none;
  white-space:nowrap;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: linear-gradient(180deg, var(--blue), var(--blue2));
  color:white;
  box-shadow: 0 14px 40px rgba(47,107,255,.28);
  border-color: rgba(255,255,255,.08);
}
.btn-primary:hover{
  box-shadow: 0 18px 55px rgba(47,107,255,.34);
}

.btn-ghost{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
  color: rgba(255,255,255,.90);
}
.btn-ghost:hover{
  background: rgba(255,255,255,.08);
}

.btn-block{ width:100%; }

.btn-cta{
  padding:12px 18px;
  border-radius: 16px;
}

/* Hero */
.hero{
  position:relative;
  padding: 64px 0 32px;
}
.hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(7,11,20,.88), rgba(7,11,20,.55) 60%, rgba(7,11,20,.78)),
    url("../images/cresto-hero-global-finance.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(800px 300px at 20% 35%, rgba(47,107,255,.26), transparent 60%),
    radial-gradient(640px 280px at 80% 20%, rgba(47,107,255,.16), transparent 60%);
  pointer-events:none;
}

.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:28px;
  align-items:start;
}

.hero-left h1{
  margin: 12px 0 10px;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: .02em;
}

.eyebrow{
  display:flex;
  align-items:center;
  gap:10px;
  color: rgba(255,255,255,.72);
  font-weight:700;
}
.dot{
  width:10px; height:10px;
  border-radius:999px;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(47,107,255,.18);
}

.lead{
  margin: 0 0 18px;
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.55;
  max-width: 58ch;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin: 18px 0 18px;
}

.feature-row{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  margin-top: 16px;
}

.tile{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 14px 14px;
  box-shadow: 0 16px 50px rgba(0,0,0,.18);
}
.tile-title{
  font-weight:800;
  margin-bottom: 6px;
}
.tile-text{
  color: rgba(255,255,255,.72);
  font-weight:600;
  font-size: 13px;
}

/* Right card */
.card{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.glass{
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  backdrop-filter: blur(12px);
}

.card-head{
  padding: 18px 18px 8px;
}
.card-head h2{
  margin:0;
  font-size: 18px;
}
.card-head p{
  margin:6px 0 0;
  color: rgba(255,255,255,.68);
  font-weight:600;
  font-size: 13px;
}

.principle{
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin: 10px 16px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(7,11,20,.25);
}

.icon{
  width:34px; height:34px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(47,107,255,.18);
  border: 1px solid rgba(47,107,255,.25);
  color: rgba(255,255,255,.92);
  flex: 0 0 auto;
  font-weight:900;
}
.p-title{ font-weight:800; margin-bottom:2px; }
.p-text{ color: rgba(255,255,255,.70); font-weight:600; font-size: 13px; line-height:1.4; }

.cta-box{
  padding: 14px 16px 18px;
}
.cta-subtext{
  margin-top: 10px;
  color: rgba(255,255,255,.60);
  font-weight:600;
  font-size: 12px;
}

/* Sections */
.section{
  padding: 54px 0;
}
.section-alt{
  padding: 54px 0;
  background: rgba(255,255,255,.03);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.section-kicker{
  letter-spacing: .18em;
  font-weight:800;
  color: rgba(47,107,255,.95);
  font-size: 12px;
  margin-bottom: 10px;
}
.section-title{
  font-size: 34px;
  line-height: 1.12;
  margin: 0 0 12px;
  font-weight: 900;
}
.section-lead{
  margin: 0 0 22px;
  color: rgba(255,255,255,.72);
  font-weight:600;
  max-width: 76ch;
  line-height: 1.6;
}

/* Cards */
.cards-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
  margin-top: 20px;
}

.info-card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px;
  overflow:hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}
.img-wrap{
  height: 160px;
  overflow:hidden;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.img-wrap img{
  width:100%;
  height:100%;
  object-fit: cover;
  transform: scale(1.02);
}
.info-card h3{
  margin: 14px 14px 8px;
  font-size: 18px;
}
.info-card p{
  margin: 0 14px 16px;
  color: rgba(255,255,255,.72);
  font-weight:600;
  line-height: 1.55;
}

/* Values */
.values{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items:start;
}
.value{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 12px;
}
.v-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(47,107,255,.16);
  border: 1px solid rgba(47,107,255,.22);
  font-weight: 900;
  margin-bottom: 10px;
}
.v-text{
  color: rgba(255,255,255,.72);
  font-weight:600;
  line-height: 1.55;
}

/* Page hero (non-home) */
.page-hero{
  padding: 44px 0 22px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.page-title{
  margin: 10px 0 10px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
}
.page-lead{
  margin: 0;
  color: rgba(255,255,255,.72);
  font-weight:600;
  max-width: 80ch;
  line-height: 1.6;
}

/* Capabilities */
.cap-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.cap-card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 18px 60px rgba(0,0,0,.20);
}
.cap-card h2{ margin: 0 0 10px; }
.cap-card ul{
  margin: 0 0 12px 18px;
  padding: 0;
  color: rgba(255,255,255,.78);
  font-weight:700;
}
.muted{ color: rgba(255,255,255,.68); font-weight:600; line-height:1.55; }

.callout{
  margin-top: 18px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}
.callout-title{ font-weight:900; margin-bottom:4px; }
.callout-text{ color: rgba(255,255,255,.72); font-weight:600; }

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.panel{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 18px 60px rgba(0,0,0,.20);
}
.panel-form{ padding: 18px; }
.checklist{
  list-style:none;
  padding:0;
  margin: 12px 0 0;
}
.checklist li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding: 10px 10px;
  margin: 8px 0;
  border-radius: 16px;
  background: rgba(7,11,20,.25);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.78);
  font-weight:700;
}
.checklist li span{
  width:26px; height:26px;
  display:grid;
  place-items:center;
  border-radius: 10px;
  background: rgba(47,107,255,.16);
  border: 1px solid rgba(47,107,255,.22);
  flex:0 0 auto;
  font-weight:900;
}
.mini-note{
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.70);
  font-weight:600;
  line-height:1.55;
}

.form{
  display:grid;
  gap: 12px;
  margin-top: 12px;
}
label{
  display:grid;
  gap: 8px;
  font-weight:800;
  color: rgba(255,255,255,.84);
}
input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(7,11,20,.35);
  color: rgba(255,255,255,.92);
  font-weight:650;
  outline:none;
}
input:focus, textarea:focus{
  border-color: rgba(47,107,255,.55);
  box-shadow: 0 0 0 4px rgba(47,107,255,.18);
}
.fineprint{
  margin: 10px 0 0;
  color: rgba(255,255,255,.58);
  font-weight:600;
  font-size: 12px;
  line-height:1.5;
}

/* Footer */
.footer{
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(7,11,20,.55);
  backdrop-filter: blur(10px);
}
.footer-grid{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap:wrap;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.footer-brand img{
  width:46px; height:46px;
  background: rgba(255,255,255,.90);
  border-radius: 14px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.30);
}
.footer-name{ font-weight:900; letter-spacing:.03em; }
.footer-sub{ color: rgba(255,255,255,.62); font-weight:650; font-size: 12px; }
.footer-links a{
  margin-right: 14px;
  color: rgba(255,255,255,.68);
  font-weight:700;
}
.footer-links a:hover{ color: rgba(255,255,255,.92); }
.footer-meta{ color: rgba(255,255,255,.58); font-weight:650; font-size: 12px; }

/* Responsive */
@media (max-width: 980px){
  .nav-links{ display:none; }
  .btn-cta{ display:none; }
  .hero-grid{ grid-template-columns: 1fr; }
  .feature-row{ grid-template-columns: 1fr; }
  .cards-3{ grid-template-columns: 1fr; }
  .values{ grid-template-columns: 1fr; }
  .cap-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
}
