/* ========================================================
   ARCUS VENTURIS 
   ======================================================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* palette — dark blue, red, gold, cream */
  --blue:       #1B2A4A;
  --blue-deep:  #0E1929;
  --blue-mid:   #263B5E;
  --red:        #C03028;
  --red-dark:   #9B2520;
  --gold:       #C9A84C;
  --gold-light: #DCC06A;
  --gold-dim:   rgba(201,168,76,.15);
  --cream:      #F5F0E8;
  --cream-dark: #E8E0D0;
  --white:      #FFFFFF;
  --black:      #0C0C0C;
  --text-light: #F5F0E8;
  --text-dim:   #9A9488;
  --border:     rgba(201,168,76,.18);
  --border-light: rgba(255,255,255,.08);

  --radius:     0px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --nav-h:      60px;

  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--blue-deep);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }

::selection { background: var(--gold); color: var(--blue-deep); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: var(--blue-deep);
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.nav__logo:hover { text-decoration: none; }

.nav__logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1;
}

.nav__logo-text {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: .04em;
}
.nav__logo:hover .nav__logo-text { color: var(--gold-light); }

.nav__links { display: flex; gap: 4px; }

.nav__link {
  color: rgba(245,240,232,.5);
  padding: 8px 20px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.nav__link:hover {
  color: var(--cream);
  border-color: rgba(245,240,232,.15);
}
.nav__link--active {
  color: var(--gold);
  border-color: var(--gold);
}

/* ---------- GEOMETRIC LAYER ---------- */
.geo {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}

.geo__block { position: absolute; }
.geo__block--1 {
  width: 44%; height: 100vh;
  left: 0; top: 0;
  background: var(--blue);
  opacity: 1;
}
.geo__block--2 {
  width: 160px; height: 160px;
  right: 12%; top: 18%;
  background: var(--red);
  opacity: .06;
  transform: rotate(45deg);
}
.geo__block--3 {
  width: 100%; height: 1px;
  bottom: 60px; left: 0;
  background: var(--gold);
  opacity: .12;
}

.geo__circle {
  position: absolute;
  border-radius: 50%;
}
.geo__circle--1 {
  width: 420px; height: 420px;
  top: -160px; right: -80px;
  border: 1px solid var(--gold);
  opacity: .08;
}
.geo__circle--2 {
  width: 200px; height: 200px;
  bottom: -40px; left: 34%;
  background: var(--red);
  opacity: .04;
}

.geo__line { position: absolute; background: var(--gold); }
.geo__line--1 {
  width: 1px; height: 50vh;
  left: 44%; top: var(--nav-h);
  opacity: .10;
}
.geo__line--2 {
  width: 140px; height: 1px;
  bottom: 30%; right: 8%;
  opacity: .08;
}
.geo__line--3 {
  width: 1px; height: 30vh;
  right: 22%; bottom: 0;
  opacity: .06;
}

/* ---------- MAIN ---------- */
.main {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; align-items: stretch;
}

/* ---------- PANELS ---------- */
.panel {
  display: none;
  width: 100%;
  animation: fadeIn .5s ease both;
}
.panel.active { display: flex; }

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---------- SPLIT LAYOUT ---------- */
.split {
  display: flex; width: 100%; min-height: 100vh;
}

.split__left {
  flex: 0 0 44%;
  background: var(--blue);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) 64px 60px;
  position: relative;
  overflow: hidden;
}

.split__right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 48px 40px;
  background: var(--cream);
}

/* ---------- BRAND ---------- */
.brand { position: relative; z-index: 1; }

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1;
  margin-bottom: 28px;
}

.brand__name {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .02em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.brand__tagline {
  font-size: .95rem;
  color: rgba(245,240,232,.5);
  line-height: 1.6;
  max-width: 320px;
}

/* abstract composition on left panel */
.brand__abstract {
  position: absolute;
  bottom: 60px; right: 48px;
  width: 180px; height: 180px;
}

.brand__circle {
  width: 130px; height: 130px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: .15;
  position: absolute; top: 0; right: 0;
}

.brand__rect {
  width: 70px; height: 70px;
  background: var(--red);
  opacity: .12;
  position: absolute; bottom: 0; left: 0;
}

.brand__tri {
  width: 0; height: 0;
  border-left: 28px solid transparent;
  border-right: 28px solid transparent;
  border-bottom: 48px solid var(--gold);
  opacity: .10;
  position: absolute; top: 45px; left: 28px;
}

/* ---------- CARD ---------- */
.card {
  width: 420px;
  max-width: 100%;
}

.card__title {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--blue-deep);
  letter-spacing: .01em;
  margin-bottom: 6px;
}

.card__subtitle {
  font-size: .85rem;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.card__footer {
  margin-top: 28px;
  text-align: center;
  font-size: .82rem;
  color: var(--text-dim);
}

/* ---------- FORM ---------- */
.form { display: flex; flex-direction: column; gap: 20px; }

.form__group { display: flex; flex-direction: column; gap: 6px; }

.form__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-mid);
}

.form__input {
  font-family: var(--font-sans);
  font-size: .9rem;
  padding: 13px 16px;
  border: 1px solid var(--cream-dark);
  background: var(--white);
  color: var(--blue-deep);
  border-radius: var(--radius);
  outline: none;
  transition: border var(--transition), box-shadow var(--transition);
}
.form__input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.form__input::placeholder { color: #B0A898; }

.form__textarea { resize: vertical; min-height: 90px; }

.form__row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .82rem;
}
.form__row--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__check {
  display: flex; align-items: center; gap: 6px;
  cursor: pointer; font-size: .82rem;
  color: var(--text-dim);
}
.form__check input[type="checkbox"] {
  accent-color: var(--gold);
  width: 14px; height: 14px;
}

.form__link {
  font-size: .82rem;
  font-weight: 500;
  color: var(--red);
}

/* ---------- BUTTON ---------- */
.btn {
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: none;
  background: var(--blue);
  color: var(--cream);
  cursor: pointer;
  transition: all var(--transition);
}
.btn:hover {
  background: var(--blue-deep);
  color: var(--cream);
}
.btn:active { transform: scale(.98); }

/* ---------- CONTACT DETAILS ---------- */
.contact-details {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.contact-details__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-details__label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-details__value {
  font-size: .9rem;
  color: rgba(245,240,232,.55);
}

/* ---------- FOOTER ---------- */
.footer {
  position: relative; z-index: 1;
  padding: 20px 48px;
  font-size: .75rem;
  color: rgba(245,240,232,.4);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--blue-deep);
  border-top: 1px solid var(--border);
}
.footer a { font-size: .75rem; color: var(--gold); }
.footer__sep { opacity: .3; }

/* ---------- TOAST ---------- */
.toast {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--blue-deep);
  color: var(--gold);
  padding: 14px 28px;
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .04em;
  border-left: 3px solid var(--red);
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  opacity: 0;
  transition: all .4s ease;
  z-index: 200;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .split { flex-direction: column; }
  .split__left {
    flex: none;
    padding: calc(var(--nav-h) + 32px) 32px 40px;
    min-height: auto;
  }
  .split__right { padding: 32px 24px 48px; }
  .brand__abstract { display: none; }
  .nav { padding: 0 20px; }
  .nav__logo-text { font-size: 1rem; }
  .form__row--grid { grid-template-columns: 1fr; }
  .footer { padding: 16px 20px; flex-wrap: wrap; }
  .geo__block--1 { display: none; }
  .geo__line--1 { display: none; }
}

@media (max-width: 480px) {
  .brand__mark { width: 52px; height: 52px; font-size: 1.3rem; }
  .brand__name { font-size: 1.5rem; }
  .card__title { font-size: 1.3rem; }
  .nav__logo-box { width: 32px; height: 32px; font-size: .85rem; }
}
