/* =============================================
   SURPLUSVIEWS GLOBAL LIMITED — Shared Styles
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Outfit:wght@300;400;500;600&display=swap');

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

:root {
  --navy:      #0d1f6e;
  --navy-deep: #081248;
  --gold:      #f0c040;
  --gold-muted:#c9a535;
  --cream:     #faf8f2;
  --white:     #ffffff;
  --text:      #12122a;
  --muted:     #5c5c80;
  --border:    #e4e0d4;
  --r:         10px;
  --r-lg:      18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

/* ── NAV ── */
nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  box-shadow: 0 2px 20px rgba(0,0,0,.22);
}

.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  cursor: pointer;
  text-decoration: none;
}

.logo-badge {
  width: 40px; height: 40px;
  background: var(--white);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  letter-spacing: -.5px;
  flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; }
.logo-name {
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.15;
}
.logo-tagline {
  color: var(--gold);
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,.8);
  font-size: .88rem;
  font-weight: 400;
  letter-spacing: .03em;
  transition: color .2s;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .25s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 600 !important;
  padding: .45rem 1.2rem;
  border-radius: 6px;
  transition: background .2s, transform .15s !important;
}
.nav-cta:hover { background: #ffd55a !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* ── FOOTER ── */
footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.75);
  padding: 3.5rem 5% 1.5rem;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .logo-name { font-size: 1.2rem; }

.footer-desc {
  margin-top: 1rem;
  font-size: .87rem;
  line-height: 1.8;
  color: rgba(255,255,255,.6);
}

.footer-col h4 {
  color: var(--gold);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a {
  font-size: .87rem;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: .8rem;
  font-size: .87rem;
  color: rgba(255,255,255,.65);
}

.footer-contact-icon {
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

.tagline-footer {
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
}

/* ── SHARED SECTION STYLES ── */
.section { padding: 5rem 5%; }
.section-alt { background: var(--cream); }

.section-label {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy);
  max-width: 600px;
  margin-bottom: 1.2rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 580px;
  margin-bottom: 3rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: .75rem 1.8rem;
  border-radius: 7px;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: all .2s;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: #ffd55a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(240,192,64,.35); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: 0 8px 32px rgba(13,31,110,.1); transform: translateY(-3px); }

/* ── FORM ELEMENTS ── */
.form-group { margin-bottom: 1.5rem; }

label {
  display: block;
  font-weight: 500;
  font-size: .88rem;
  margin-bottom: .5rem;
  color: var(--text);
}

label span.req { color: #c0392b; margin-left: 2px; }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-family: 'Outfit', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13,31,110,.08);
}

textarea { resize: vertical; min-height: 120px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp .6s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .22s; }
.delay-3 { animation-delay: .34s; }
.delay-4 { animation-delay: .46s; }

/* ── GOLD RULE ── */
.gold-rule {
  width: 56px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 1.2rem;
}

/* ── HAMBURGER BUTTON ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s, width .3s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE DRAWER ── */
.nav-drawer {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--navy-deep);
  z-index: 190;
  padding: 2rem 1.5rem;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.nav-drawer.open {
  transform: translateX(0);
}
.nav-drawer a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  font-weight: 400;
  text-decoration: none;
  transition: color .2s, padding-left .2s;
}
.nav-drawer a:hover { color: var(--gold); padding-left: .5rem; }
.nav-drawer a.active { color: var(--gold); }
.nav-drawer .drawer-cta {
  margin-top: 2rem;
  display: block;
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  padding: .85rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  border-bottom: none;
}
.nav-drawer .drawer-cta:hover { background: #ffd55a; padding-left: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
}

@media (max-width: 860px) {
  .nav-links { gap: 1rem; }
  .nav-links li:not(:last-child) a { font-size: .8rem; }
}

@media (max-width: 620px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer { display: flex; }
}
