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

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

:root {
  --navy: #0a1628;
  --navy-mid: #152240;
  --navy-light: #1e3160;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --cream: #f7f3ec;
  --cream-dark: #ede7da;
  --cream-border: #d5cbb8;
  --text-mid: #3a4a6b;
  --text-light: #8a95aa;
  --white: #ffffff;
  --max: 1140px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Source Serif 4', Georgia, serif; background: var(--cream); color: var(--navy); font-size: 16px; line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

/* TYPOGRAPHY */
h1 { font-family: 'Playfair Display', serif; font-size: clamp(36px, 5vw, 56px); font-weight: 700; line-height: 1.1; }
h2 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 3.5vw, 40px); font-weight: 700; line-height: 1.2; }
h3 { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 600; line-height: 1.3; }
p { font-weight: 300; line-height: 1.85; }
.eyebrow { display: block; font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); font-weight: 300; margin-bottom: 14px; }
.gold-rule { width: 44px; height: 2px; background: var(--gold); margin-bottom: 24px; }

/* LAYOUT */
.w { max-width: var(--max); margin: 0 auto; padding: 0 48px; }
section { padding: 96px 0; }

/* BUTTONS */
.btn { display: inline-block; font-family: 'Source Serif 4', serif; font-size: 11px; font-weight: 400; letter-spacing: 2.5px; text-transform: uppercase; padding: 14px 32px; cursor: pointer; border: none; transition: all .2s; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost { border: 1px solid rgba(255,255,255,.32); color: rgba(255,255,255,.85); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-line { border: 1px solid var(--cream-border); color: var(--text-mid); background: transparent; }
.btn-line:hover { border-color: var(--navy); color: var(--navy); }

/* NAV */
#nav { position: sticky; top: 0; z-index: 500; background: var(--navy); border-bottom: 2px solid var(--gold); height: 70px; transition: box-shadow .3s; }
#nav.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,.45); }
.nav-w { max-width: var(--max); margin: 0 auto; padding: 0 48px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--white); line-height: 1.2; }
.nav-logo small { display: block; font-family: 'Source Serif 4', serif; font-size: 9px; font-weight: 300; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { font-family: 'Source Serif 4', serif; font-size: 11px; font-weight: 300; color: rgba(255,255,255,.7); letter-spacing: 2px; text-transform: uppercase; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta { background: var(--gold) !important; color: var(--navy) !important; padding: 9px 22px !important; }
.nav-cta:hover { background: var(--gold-light) !important; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.burger span { width: 22px; height: 1.5px; background: var(--white); display: block; transition: .3s; }
.mob-nav { display: none; position: fixed; inset: 70px 0 0; background: var(--navy); z-index: 499; flex-direction: column; padding: 40px 48px; gap: 28px; border-top: 1px solid rgba(201,168,76,.25); }
.mob-nav.open { display: flex; }
.mob-nav a { font-family: 'Source Serif 4', serif; font-size: 14px; font-weight: 300; color: rgba(255,255,255,.8); letter-spacing: 2px; text-transform: uppercase; }
.mob-nav a:hover { color: var(--gold); }

/* PAGE HERO (inner pages) */
.page-hero { background: var(--navy); padding: 80px 0; border-bottom: 2px solid var(--gold); }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.6); max-width: 560px; font-size: 17px; }

/* TRUST BAR */
.trust-bar { background: var(--cream-dark); border-top: 1px solid var(--cream-border); border-bottom: 1px solid var(--cream-border); padding: 28px 0; }
.trust-row { display: flex; }
.trust-item { flex: 1; text-align: center; padding: 0 20px; }
.trust-item + .trust-item { border-left: 1px solid var(--cream-border); }
.trust-num { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: 5px; }
.trust-lbl { font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-mid); font-weight: 300; }

/* CARDS */
.card-white { background: var(--white); border: 1px solid var(--cream-border); border-top: 3px solid var(--gold); padding: 40px 32px; }
.card-navy { background: var(--navy-mid); border: 1px solid rgba(201,168,76,.13); padding: 40px 32px; transition: background .2s; }
.card-navy:hover { background: var(--navy-light); }
.card-bar { width: 36px; height: 2px; background: var(--gold); margin-bottom: 20px; }
.card-title { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.card-title-w { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.card-body { font-size: 14px; font-weight: 300; color: var(--text-mid); line-height: 1.8; }
.card-body-w { font-size: 14px; font-weight: 300; color: rgba(255,255,255,.55); line-height: 1.8; }

/* TESTIMONIAL */
.testi-card { background: var(--white); border: 1px solid var(--cream-border); padding: 32px 28px; }
.testi-stars { color: var(--gold); font-size: 13px; letter-spacing: 3px; margin-bottom: 14px; }
.testi-q { font-family: 'Cormorant Garamond', serif; font-size: 17px; font-style: italic; color: var(--text-mid); line-height: 1.8; margin-bottom: 20px; }
.testi-name { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--navy); font-weight: 400; }
.testi-role { font-size: 12px; color: var(--text-light); font-weight: 300; margin-top: 2px; }

/* FORM */
.form-group { margin-bottom: 20px; }
.f-label { display: block; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-mid); margin-bottom: 7px; font-weight: 300; }
.f-input, .f-select, .f-textarea { width: 100%; padding: 13px 15px; background: var(--white); border: 1px solid var(--cream-border); font-family: 'Source Serif 4', serif; font-size: 15px; font-weight: 300; color: var(--navy); outline: none; transition: border-color .2s; appearance: none; }
.f-input:focus, .f-select:focus, .f-textarea:focus { border-color: var(--gold); }
.f-textarea { resize: vertical; min-height: 130px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-success { background: #f0f9f4; border: 1px solid #a8d5b5; padding: 16px 20px; color: #1a6b3a; font-size: 14px; display: none; margin-bottom: 20px; }

/* FOOTER */
footer { background: #060e1a; border-top: 2px solid var(--gold); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 64px; margin-bottom: 48px; }
.f-brand { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.f-tagline { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.38); line-height: 1.75; max-width: 280px; }
.f-head { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); font-weight: 300; margin-bottom: 18px; }
.f-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.f-links a { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.5); transition: color .2s; }
.f-links a:hover { color: var(--gold); }
.f-ci { margin-bottom: 14px; }
.f-clabel { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.f-cval { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.55); }
.f-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.f-copy { font-size: 11px; font-weight: 300; color: rgba(255,255,255,.25); }

/* PAGE LOAD FADE */
body { opacity: 0; transition: opacity .5s ease; }
body.loaded { opacity: 1; }

/* SCROLL ANIMATIONS */
.fade-up { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-left { opacity: 0; transform: translateX(-36px); transition: opacity .7s ease, transform .7s ease; }
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right { opacity: 0; transform: translateX(36px); transition: opacity .7s ease, transform .7s ease; }
.fade-right.visible { opacity: 1; transform: translateX(0); }
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }
.fade-up:nth-child(5) { transition-delay: .4s; }
.fade-up:nth-child(6) { transition-delay: .5s; }

/* ENHANCED CARD HOVERS */
.card-navy { transform: translateY(0); box-shadow: none; transition: background .25s, transform .25s, box-shadow .25s; }
.card-navy:hover { background: var(--navy-light); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.card-white { transition: transform .25s, box-shadow .25s, border-color .25s; }
.card-white:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(201,168,76,.12); border-color: var(--gold); }
.testi-card { transition: transform .25s, box-shadow .25s; }
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.serve-card { transition: transform .25s, box-shadow .25s, border-color .25s; }
.serve-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(201,168,76,.12); border-top-color: var(--gold-light); }

/* NAV ACTIVE INDICATOR */
.nav-links a { position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width .3s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* MOBILE MENU ANIMATION */
.mob-nav { transform: translateX(100%); transition: transform .35s ease; display: flex !important; pointer-events: none; opacity: 0; }
.mob-nav.open { transform: translateX(0); pointer-events: all; opacity: 1; }

/* BURGER ANIMATION */
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* BACK TO TOP */
#back-top { position: fixed; bottom: 32px; right: 32px; width: 44px; height: 44px; background: var(--gold); color: var(--navy); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; opacity: 0; transform: translateY(16px); transition: opacity .3s, transform .3s; z-index: 400; }
#back-top.show { opacity: 1; transform: translateY(0); }
#back-top:hover { background: var(--gold-light); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .w { padding: 0 20px; }
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .f-row { grid-template-columns: 1fr; }
}
