/* =================================================================
   Wealthify Global Investments — static recreation
   Recreated from the original BeTheme "Architect6" WordPress build.
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
  --accent:        #d94d20;
  --accent-light:  #e4734d;
  --dark:          #161922;
  --dark-2:        #1a1c1d;
  --charcoal:      #25282a;
  --cream:         #f5f3ef;
  --stone:         #e0e0dc;
  --muted:         #8d9691;
  --white:         #ffffff;
  --text:          #25282a;
  --header-h:      96px;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Roboto Slab", Georgia, "Times New Roman", serif;

  --maxw: 1240px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--dark);
}

p { margin: 0 0 1.1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 18px;
}

.section { padding: 96px 0; }
.section--dark { background: var(--dark); color: var(--stone); }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--cream { background: var(--cream); }

.lead { font-size: 1.15rem; color: #4a4f51; }
.section--dark .lead { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .03em;
  padding: 15px 34px;
  border-radius: 2px;
  cursor: pointer;
  transition: all .25s ease;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
}
.btn:hover { background: var(--accent-light); border-color: var(--accent-light); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--dark); border-color: #fff; }
.btn--dark { background: var(--dark); border-color: var(--dark); }
.btn--dark:hover { background: var(--accent); border-color: var(--accent); }

/* =================================================================
   Header
   ================================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: background .3s ease, height .3s ease, box-shadow .3s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header.scrolled,
.site-header.solid {
  background: var(--dark);
  height: 76px;
  box-shadow: 0 6px 30px rgba(0,0,0,.25);
}
.logo img { height: 46px; width: auto; transition: height .3s ease; }
.site-header.scrolled .logo img,
.site-header.solid .logo img { height: 40px; }

.main-nav ul {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.main-nav a {
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .03em;
  padding: 6px 0;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--accent-light); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.social-link {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: #fff;
  transition: all .25s ease;
}
.social-link:hover { background: var(--accent); border-color: var(--accent); }
.social-link svg { width: 18px; height: 18px; fill: currentColor; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 26px; height: 2px; background: #fff;
  transition: transform .3s ease, opacity .3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =================================================================
   Hero slider
   ================================================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.08);
  transition: opacity 1s ease, transform 6s ease;
}
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,15,20,.78) 0%, rgba(13,15,20,.45) 55%, rgba(13,15,20,.25) 100%);
}
.slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.slide-inner { position: relative; z-index: 2; max-width: 720px; }
.slide .eyebrow { color: var(--accent-light); }
.slide h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  margin-bottom: .35em;
}
.slide h1 span { font-weight: 300; }
.slide p.sub { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 540px; }
.slide-actions { margin-top: 30px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero-counter {
  position: absolute;
  right: 40px; bottom: 48px;
  z-index: 3;
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: .1em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.hero-counter .cur { font-size: 2rem; font-weight: 700; }
.hero-counter .sep { opacity: .5; font-weight: 200; }

.hero-dots {
  position: absolute;
  left: 50%; bottom: 36px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 12px;
}
.hero-dots button {
  width: 36px; height: 3px; border: 0; padding: 0;
  background: rgba(255,255,255,.4); cursor: pointer;
  transition: background .25s ease;
}
.hero-dots button.active { background: var(--accent); }

/* =================================================================
   Intro / about split
   ================================================================= */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: start;
}
.split h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }

/* About gallery: first (portrait poster) shown full, others stacked below */
.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-content: start;
}
.about-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  box-shadow: 0 14px 36px rgba(20,22,30,.10);
}
.about-gallery img:first-child { grid-column: 1 / -1; }

/* =================================================================
   Service cards
   ================================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.card {
  background: #fff;
  border: 1px solid #e7e3dc;
  padding: 40px 34px;
  border-radius: 4px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(20,22,30,.12);
  border-color: var(--accent);
}
.card .num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.35rem; }
.card p { color: #5a5f61; margin-bottom: 0; }

.section-head { max-width: 760px; margin: 0 auto 10px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }

/* =================================================================
   Sectors grid (numbered)
   ================================================================= */
.sectors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 50px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.sector {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: background .25s ease, padding-left .25s ease;
}
.sector:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); padding-right: 30px; }
.sector:nth-child(even) { padding-left: 30px; }
.sector:hover { background: rgba(217,77,32,.08); }
.sector .s-num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 46px;
}
.sector .s-name { color: var(--white); font-weight: 500; font-size: 1.1rem; }

/* Image sector cards */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.sector-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
}
.sector-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.sector-card:hover img { transform: scale(1.08); }
.sector-card .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 22px 20px;
  border-bottom: 3px solid transparent;
  background: linear-gradient(to top, rgba(13,15,20,.92) 0%, rgba(13,15,20,.4) 48%, rgba(13,15,20,0) 78%);
  transition: border-color .3s ease;
}
.sector-card:hover .overlay { border-bottom-color: var(--accent); }
.sector-card h3 {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.3;
  margin: 0;
}

/* =================================================================
   CTA band
   ================================================================= */
.cta {
  position: relative;
  padding: 110px 0;
  background: var(--charcoal) url("../images/bg-wealthify.jpg") center/cover fixed no-repeat;
  color: #fff;
  text-align: center;
}
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(13,15,20,.82); }
.cta .container { position: relative; z-index: 2; }
.cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 12px; }
.cta .contact-row {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  margin: 34px 0;
}
.cta .contact-row a, .cta .contact-row span { color: #fff; }
.cta .contact-row .label { display: block; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 6px; }
.cta .contact-row .val { font-size: 1.3rem; font-weight: 600; font-family: var(--font-head); }

/* =================================================================
   Page hero (interior pages)
   ================================================================= */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 90px;
  background: var(--dark) center/cover no-repeat;
  color: #fff;
  text-align: center;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(13,15,20,.7); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.breadcrumb { color: var(--muted); font-size: 14px; letter-spacing: .05em; }
.breadcrumb a:hover { color: var(--accent-light); }

/* =================================================================
   Contact
   ================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}
.info-item { margin-bottom: 30px; }
.info-item .label { text-transform: uppercase; letter-spacing: .15em; font-size: 12px; color: var(--accent); font-weight: 600; margin-bottom: 6px; }
.info-item .val { font-size: 1.1rem; font-weight: 500; }

.contact-form { display: grid; gap: 18px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #555; display: block; margin-bottom: 6px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d8d4cc;
  border-radius: 3px;
  font: inherit;
  font-size: 15px;
  background: #fff;
  transition: border-color .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.map-embed { margin-top: 56px; border-radius: 4px; overflow: hidden; }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* =================================================================
   Footer
   ================================================================= */
.site-footer { background: var(--dark-2); color: var(--muted); padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 50px;
}
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: 14px; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 22px; }
.site-footer img.flogo { height: 50px; width: auto; margin-bottom: 22px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 12px; }
.footer-grid a:hover { color: var(--accent-light); }
.footer-grid p { margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  text-align: center;
  font-size: 14px;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  z-index: 900;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* =================================================================
   Newsletter subscribe popup
   ================================================================= */
.nl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,15,20,.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.nl-overlay.open { opacity: 1; visibility: visible; }
.nl-modal {
  background: #fff;
  width: 100%;
  max-width: 460px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  transform: translateY(24px);
  transition: transform .35s ease;
}
.nl-overlay.open .nl-modal { transform: none; }
.nl-close {
  position: absolute;
  top: 10px; right: 14px;
  background: none; border: 0;
  color: #fff; font-size: 28px; line-height: 1;
  cursor: pointer; opacity: .85; z-index: 2;
}
.nl-close:hover { opacity: 1; }
.nl-head {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 30px 30px 26px;
}
.nl-head img { height: 44px; width: auto; margin: 0 auto 14px; }
.nl-head h3 { color: #fff; font-size: 1.45rem; margin: 0 0 6px; }
.nl-head p { color: var(--muted); margin: 0; font-size: .95rem; }
.nl-body { padding: 26px 30px 30px; }
.nl-body input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d8d4cc;
  border-radius: 3px;
  font: inherit; font-size: 15px;
  margin-bottom: 16px;
}
.nl-body input[type="email"]:focus { outline: none; border-color: var(--accent); }
.nl-consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: #555; line-height: 1.5;
  margin-bottom: 18px;
}
.nl-consent input { margin-top: 3px; flex: 0 0 auto; }
.nl-consent a { color: var(--accent); font-weight: 600; text-decoration: underline; }
.nl-body .btn { width: 100%; }
.nl-note { margin: 14px 0 0; font-size: 14px; font-weight: 600; text-align: center; min-height: 1em; }
.nl-note.ok { color: #1f8a4c; }
.nl-note.err { color: var(--accent); }
.footer-subscribe { margin-top: 8px; }

/* Unsubscribe page */
.unsub-wrap { max-width: 540px; margin: 0 auto; text-align: center; }
.unsub-form { margin-top: 26px; }
.unsub-form input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d8d4cc;
  border-radius: 3px;
  font: inherit; font-size: 15px;
  margin-bottom: 16px;
}
.unsub-form input[type="email"]:focus { outline: none; border-color: var(--accent); }
.unsub-note { margin: 16px 0 0; font-size: 14px; font-weight: 600; min-height: 1em; }
.unsub-note.ok { color: #1f8a4c; }
.unsub-note.err { color: var(--accent); }

/* Contact form status note */
.form-note { margin: 0; font-size: 14px; font-weight: 600; min-height: 1em; }
.form-note.ok { color: #1f8a4c; }
.form-note.err { color: var(--accent); }

/* =================================================================
   Responsive
   ================================================================= */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sector-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(80vw, 320px);
    background: var(--dark);
    transform: translateX(100%);
    transition: transform .35s ease;
    padding: 110px 36px 40px;
    box-shadow: -10px 0 40px rgba(0,0,0,.4);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 6px; }
  .main-nav a { font-size: 18px; display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .burger { display: flex; z-index: 1100; }
  .social-link { display: none; }
  .hero-counter { right: 20px; bottom: 80px; }
  .sectors { grid-template-columns: 1fr; }
  .sector:nth-child(odd) { border-right: 0; padding-right: 14px; }
  .sector:nth-child(even) { padding-left: 14px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .cta .contact-row { gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-gallery { grid-template-columns: 1fr 1fr; }
}
