@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Josefin+Sans:wght@300;400;600&display=swap');

:root {
  --gold: #c9a84c;
  --gold-light: #f0d080;
  --gold-dim: rgba(201,168,76,0.4);
  --gold-faint: rgba(201,168,76,0.08);
  --bg: #0a0804;
  --bg2: #110e06;
  --bg3: #1a1408;
  --cream: #f5e8c8;
  --cream-dim: rgba(245,232,200,0.5);
  --cream-faint: rgba(245,232,200,0.15);
  --border: rgba(201,168,76,0.18);
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Josefin Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(201,168,76,0.025) 0, rgba(201,168,76,0.025) 1px, transparent 1px, transparent 44px),
    repeating-linear-gradient(-45deg, rgba(201,168,76,0.025) 0, rgba(201,168,76,0.025) 1px, transparent 1px, transparent 44px);
  pointer-events: none; z-index: 0;
}

/* ══════════════════════════════════════
   LOGO SVG (inline, used in navbar & footer)
══════════════════════════════════════ */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  position: relative;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  color: var(--cream);
  letter-spacing: 2px;
}

.logo-name span { color: var(--gold); }

.logo-tagline-text {
  font-size: 7px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(201,168,76,0.5);
  margin-top: 1px;
}

/* Footer logo — bigger */
.footer .brand-logo .logo-mark { width: 48px; height: 48px; }
.footer .brand-logo .logo-name { font-size: 26px; letter-spacing: 3px; }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,8,4,0.93);
  backdrop-filter: blur(14px);
  border-bottom: 0.5px solid var(--border);
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 300;
  color: var(--cream); text-decoration: none; letter-spacing: 2px;
}
.navbar-brand span { color: var(--gold); }

.navbar-links {
  display: flex; align-items: center; gap: 32px; list-style: none;
}
.navbar-links a {
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--cream-dim); text-decoration: none; transition: color 0.2s;
}
.navbar-links a:hover, .navbar-links a.active { color: var(--gold); }

.navbar-cta {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold) !important; border: 0.5px solid var(--gold-dim) !important;
  padding: 8px 18px; transition: background 0.2s !important;
}
.navbar-cta:hover { background: var(--gold-faint) !important; }

/* ══════════════════════════════════════
   PAGE WRAPPER
══════════════════════════════════════ */
.page-content { position: relative; z-index: 1; }

/* ══════════════════════════════════════
   SECTION DIVIDER
══════════════════════════════════════ */
.divider { display:flex; align-items:center; gap:12px; margin:40px 0; }
.divider-line { flex:1; height:0.5px; background:linear-gradient(to right, transparent, var(--border), transparent); }
.divider-diamond { width:6px; height:6px; background:var(--gold); transform:rotate(45deg); flex-shrink:0; }

.section-label {
  font-size: 9px; letter-spacing: 3px; color: rgba(201,168,76,0.55);
  text-transform: uppercase; text-align: center; display: block; margin-bottom: 6px;
}

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn-gold {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px;
  background: linear-gradient(135deg, rgba(201,168,76,0.18), rgba(201,168,76,0.08));
  border: 0.5px solid var(--gold-dim); color: var(--gold);
  font-family: var(--font-body); font-size: 10px; letter-spacing: 2.5px;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: all 0.25s; border-radius: 2px; position: relative; overflow: hidden;
}
.btn-gold::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-light));
  transform: scaleY(0); transition: transform 0.25s; transform-origin: bottom;
}
.btn-gold:hover { background: rgba(201,168,76,0.15); border-color: var(--gold); }
.btn-gold:hover::before { transform: scaleY(1); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px;
  background: transparent; border: 0.5px solid var(--border); color: var(--cream-dim);
  font-family: var(--font-body); font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: all 0.2s; border-radius: 2px;
}
.btn-outline:hover { border-color: var(--gold-dim); color: var(--cream); }

/* ══════════════════════════════════════
   INPUTS
══════════════════════════════════════ */
.form-group { margin-bottom: 20px; }
.form-label { display:block; font-size:9px; letter-spacing:2.5px; text-transform:uppercase; color:rgba(201,168,76,0.6); margin-bottom:8px; }
.form-input {
  width:100%; background:rgba(201,168,76,0.04); border:0.5px solid var(--border);
  color:var(--cream); font-family:var(--font-body); font-size:13px;
  padding:12px 16px; border-radius:2px; outline:none; transition:border-color 0.2s; letter-spacing:0.5px;
}
.form-input:focus { border-color: var(--gold-dim); }
.form-input::placeholder { color: var(--cream-faint); }
select.form-input option { background: var(--bg2); color: var(--cream); }
textarea.form-input { resize: vertical; min-height: 120px; }

/* CARDS */
.card { background:rgba(201,168,76,0.04); border:0.5px solid var(--border); border-radius:3px; padding:24px; transition:border-color 0.2s; }
.card:hover { border-color: var(--gold-dim); }

/* ══════════════════════════════════════
   FOOTER — ANIMATED WAVE DIVIDER
══════════════════════════════════════ */

/* Wave shape divider sits above the footer */
.footer-wave {
  position: relative;
  z-index: 1;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -2px;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* Animated ornament divider */
.footer-ornament {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: hidden;
  padding: 0;
  margin-bottom: -1px;
  background: var(--bg2);
}

.footer-ornament svg {
  width: 100%;
  height: 90px;
  display: block;
}

/* The actual footer block */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg2);
  border-top: none;
  padding: 0;
}

.footer-inner {
  padding: 48px 32px 36px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  max-width: 1140px;
  margin: 0 auto;
  align-items: start;
}

@media(max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
    padding: 40px 24px 28px;
  }
  .footer-col-right { align-items: center; }
}

.footer-col-left { display: flex; flex-direction: column; gap: 16px; }
.footer-col-center { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-col-right { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }

@media(max-width: 768px) {
  .footer-col-left, .footer-col-center, .footer-col-right {
    align-items: center;
  }
}

.footer-about {
  font-size: 11px;
  color: rgba(245,232,200,0.35);
  letter-spacing: 0.5px;
  line-height: 1.8;
  max-width: 220px;
}

.footer-nav-title {
  font-size: 8px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(201,168,76,0.45);
  margin-bottom: 4px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-links a {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream-faint);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: rgba(245,232,200,0.4);
  letter-spacing: 0.5px;
}
.footer-contact-item i { font-size: 14px; color: rgba(201,168,76,0.45); }
.footer-contact-item a { color: rgba(245,232,200,0.4); text-decoration: none; }
.footer-contact-item a:hover { color: var(--gold); }

.footer-social-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.footer-social-btn {
  width: 36px; height: 36px;
  border: 0.5px solid var(--border);
  background: var(--gold-faint);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: rgba(201,168,76,0.5);
  font-size: 16px; transition: all 0.2s;
}
.footer-social-btn:hover { border-color: var(--gold-dim); color: var(--gold); background: rgba(201,168,76,0.12); }

.footer-bottom {
  border-top: 0.5px solid rgba(201,168,76,0.08);
  padding: 16px 32px;
  text-align: center;
  background: var(--bg2);
}

.footer-copy {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: rgba(245,232,200,0.12);
  text-transform: uppercase;
}

/* ══════════════════════════════════════
   TOAST
══════════════════════════════════════ */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg2); border: 0.5px solid var(--gold-dim);
  color: var(--cream); font-size: 12px; letter-spacing: 1px;
  padding: 12px 24px; border-radius: 2px; opacity: 0;
  transition: all 0.3s; z-index: 999; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease forwards; }
.fade-up-1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-2 { animation-delay: 0.2s; opacity: 0; }
.fade-up-3 { animation-delay: 0.3s; opacity: 0; }
.fade-up-4 { animation-delay: 0.4s; opacity: 0; }

/* ══════════════════════════════════════
   HAMBURGER (mobile)
══════════════════════════════════════ */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { display:block; width:22px; height:1px; background:var(--cream-dim); transition:all 0.3s; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navbar-links {
    display: none; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(10,8,4,0.98); padding: 20px 32px; gap: 20px;
    border-bottom: 0.5px solid var(--border);
  }
  .navbar-links.open { display: flex; }
  .navbar { padding: 0 20px; }
}

/* ══════════════════════════════════════
   AMIGO CONSULTING CREDIT
══════════════════════════════════════ */
.footer-amigo {
  border-top: 0.5px solid rgba(201,168,76,0.08);
  padding: 16px 32px;
  background: var(--bg2);
}

.footer-amigo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-amigo-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245,232,200,0.2);
}

.footer-amigo-link {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  transition: opacity 0.2s;
  opacity: 0.55;
}

.footer-amigo-link:hover { opacity: 1; }

.footer-amigo-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(201,168,76,0.2);
  filter: grayscale(30%);
  transition: filter 0.2s;
}

.footer-amigo-link:hover .footer-amigo-logo { filter: grayscale(0%); }

.footer-amigo-name {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: rgba(245,232,200,0.5);
  font-family: var(--font-body);
  text-transform: uppercase;
}

.footer-amigo-link:hover .footer-amigo-name { color: var(--gold); }

/* ══════════════════════════════════════
   HOME PROFILE SPLIT SECTION
══════════════════════════════════════ */
.profile-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
  padding: 56px 32px 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media(max-width: 768px) {
  .profile-split {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 48px 20px 32px;
    gap: 32px;
  }
  .profile-split-right { order: -1; }
  .profile-img-frame { max-width: 280px; margin: 0 auto; }
}

/* Left — text/profile */
.profile-split-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

@media(max-width:768px) {
  .profile-split-left { align-items: center; }
}

.profile-avatar-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
}

.avatar-ring-sm {
  width: 72px; height: 72px;
  border-radius: 50%;
  padding: 2.5px;
  background: conic-gradient(#c9a84c 0%,#f0d080 25%,#c9a84c 50%,#8a6a20 75%,#c9a84c 100%);
  animation: spin-ring 8s linear infinite;
  flex-shrink: 0;
}

.avatar-ring-sm .avatar-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  animation: spin-ring 8s linear infinite reverse;
}

.avatar-initials-sm {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 300;
  color: var(--gold); letter-spacing: 1px;
}

.profile-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); border: 0.5px solid rgba(201,168,76,0.35);
  padding: 4px 14px; border-radius: 1px;
}
.profile-badge::before,.profile-badge::after { content:'✦'; font-size:7px; }

.profile-name-big {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300; letter-spacing: 3px;
  color: var(--cream); line-height: 1.1; margin-bottom: 2px;
}
.profile-name-big em { font-style: italic; color: var(--gold); }

.profile-tagline-big {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(201,168,76,0.65); margin-bottom: 4px;
}

.profile-location-big {
  font-size: 11px; color: var(--cream-faint); letter-spacing: 1px;
  display: flex; align-items: center; gap: 6px;
}

.profile-bio {
  font-size: 12px; color: rgba(245,232,200,0.45);
  line-height: 1.9; letter-spacing: 0.3px;
  border-left: 2px solid rgba(201,168,76,0.25);
  padding-left: 14px; max-width: 380px;
}

@media(max-width:768px) {
  .profile-bio { border-left: none; padding-left: 0; text-align: center; }
}

/* Right — photo frame */
.profile-split-right

.profile-img-frame {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  border: 0.5px solid var(--border);
}

.profile-img-frame img {
  width: 100%; display: block;
  aspect-ratio: 3/4; object-fit: cover;
}

.profile-img-frame::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(10,8,4,0.6) 100%);
  z-index: 1; pointer-events: none;
}

.profile-img-corner {
  position: absolute;
  width: 28px; height: 28px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.5;
}
.profile-img-corner.tl { top: 10px; left: 10px; border-width: 1.5px 0 0 1.5px; }
.profile-img-corner.tr { top: 10px; right: 10px; border-width: 1.5px 1.5px 0 0; }
.profile-img-corner.bl { bottom: 10px; left: 10px; border-width: 0 0 1.5px 1.5px; }
.profile-img-corner.br { bottom: 10px; right: 10px; border-width: 0 1.5px 1.5px 0; }

.profile-img-badge {
  
  z-index: 2;
  background: rgba(10,8,4,0.7);
  backdrop-filter: blur(8px);
  border: 0.5px solid rgba(201,168,76,0.25);
  border-radius: 2px;
  padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between;
}

.profile-img-badge-name {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 400;
  color: var(--cream); letter-spacing: 1px;
}

.profile-img-badge-role {
  font-size: 8px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
}

.profile-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
}
.profile-img-placeholder i { font-size: 48px; color: rgba(201,168,76,0.12); }
.profile-img-placeholder span { font-size: 10px; letter-spacing: 2px; color: rgba(201,168,76,0.2); text-transform: uppercase; }
