/* =========================================================
   Moneza — Global Stylesheet
   Sections:
   1.  CSS Reset & Variables
   2.  Base Typography
   3.  Layout Utilities
   4.  Buttons
   5.  Header / Navigation
   6.  Hero & Page Banners
   7.  Sections (cards, grids, features)
   8.  Forms
   9.  Footer
   10. Floating Elements (WhatsApp, Scroll-top)
   11. Animations
   12. Responsive
   ========================================================= */

/* ---------- 1. Reset & Variables ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

:root {
  --navy:       #0d1b2a;
  --navy-deep:  #08111c;
  --navy-soft:  #1b2a40;
  --gold:       #c9a24b;
  --gold-light: #e0bf73;
  --white:      #ffffff;
  --gray-50:    #f7f8fa;
  --gray-100:   #eef0f3;
  --gray-200:   #dfe3e8;
  --gray-400:   #9aa3ad;
  --charcoal:   #1f2933;
  --text:       #2b333d;
  --muted:      #5b6571;

  --shadow-sm: 0 2px 6px rgba(13, 27, 42, .06);
  --shadow-md: 0 8px 24px rgba(13, 27, 42, .08);
  --shadow-lg: 0 18px 40px rgba(13, 27, 42, .12);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --container: 1200px;

  --font-head: "Playfair Display", "Georgia", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- 2. Typography ---------- */
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--text); }
.section-title { text-align: center; margin-bottom: .5rem; }
.section-sub   { text-align: center; color: var(--muted); max-width: 720px; margin: 0 auto 2.5rem; }

/* ---------- 3. Layout Utilities ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.section   { padding: 4.5rem 0; }
.section.alt { background: var(--gray-50); }
.grid      { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border: 1.5px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-soft); transform: translateY(-2px); }
.btn-ghost { color: var(--navy); border: 1.5px solid var(--gray-200); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }

/* ---------- 5. Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid rgba(13, 27, 42, 0.08);
  box-shadow: 0 8px 24px rgba(13, 27, 42, 0.04);
}

.modern-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 1.25rem;
}

.brand-modern {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 100px;
}

.brand-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 14px;
  flex-shrink: 0;
  background: transparent;
}

.brand-logo.footer-brand-logo {
  width: 54px;
  height: 54px;
}

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

.brand-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 0.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-text.light .brand-title,
.brand-text.light .brand-tagline {
  color: var(--white);
}

.brand-text.light .brand-tagline {
  color: rgba(255,255,255,.72);
}

.nav-links-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  flex: 1;
}

.nav-links-modern a {
  position: relative;
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  color: var(--charcoal);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.nav-links-modern a:hover {
  color: var(--gold);
  background: rgba(201, 162, 75, 0.08);
}

.nav-links-modern a.active {
  color: var(--navy);
  background: rgba(13, 27, 42, 0.06);
}

.nav-links-modern a.active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 8px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
}

.nav-actions-modern {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.15rem;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.1);
  color: #1ea952;
  font-weight: 700;
  border: 1px solid rgba(37, 211, 102, 0.18);
  transition: all 0.25s ease;
}

.btn-wa:hover {
  background: #25D366;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.22);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gray-50);
  color: var(--navy);
  border: 1px solid var(--gray-200);
  font-size: 1.4rem;
  transition: all 0.2s ease;
}

.nav-toggle:hover {
  background: var(--navy);
  color: var(--white);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 0 1.25rem;
  animation: fadeDown 0.25s ease;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 0.95rem 1rem;
  border-radius: 12px;
  color: var(--charcoal);
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--gray-100);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: var(--gray-50);
  color: var(--gold);
}

.mobile-menu .btn {
  justify-content: center;
  margin-top: 0.4rem;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 6. Hero & Banners ---------- */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background:
    linear-gradient(135deg, rgba(8,17,28,.85), rgba(13,27,42,.7)),
    url('../images/hero.jpg') center/cover no-repeat;
  padding: 6rem 0 5rem;
}
.hero-inner { max-width: 820px; }
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero h1 span { color: var(--gold); }
.hero .lead { font-size: 1.15rem; color: rgba(255,255,255,.85); margin-bottom: 1rem; }
.hero .intro { color: rgba(255,255,255,.7); margin-bottom: 2rem; max-width: 680px; }
.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; }

.page-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--white);
  padding: 4rem 0 3.5rem;
  text-align: center;
  position: relative;
}
.page-banner h1 { color: var(--white); margin-bottom: .5rem; }
.page-banner .crumbs { color: rgba(255,255,255,.7); font-size: .9rem; }
.page-banner .crumbs a { color: var(--gold); }

/* ---------- 7. Cards & Sections ---------- */
.trust-strip {
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem 0;
}
.trust-strip .grid { gap: 1rem; }
.trust-item { display: flex; gap: .65rem; align-items: center; justify-content: center; font-size: .92rem; }
.trust-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-img {
  aspect-ratio: 4/3; background: var(--gray-100);
  background-size: cover; background-position: center;
  position: relative;
}
.card-img .tag {
  position: absolute; top: .75rem; left: .75rem;
  background: var(--gold); color: var(--navy);
  padding: .25rem .65rem; font-size: .75rem; font-weight: 600;
  border-radius: 999px;
}
.card-body { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body h3 { color: var(--navy); }
.card-body p { color: var(--muted); font-size: .92rem; }
.card-body .btn { margin-top: auto; align-self: flex-start; }

.feature {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--gray-100);
  transition: transform .2s, border-color .2s;
}
.feature:hover { transform: translateY(-3px); border-color: var(--gold); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(201,162,75,.12); color: var(--gold);
  display: grid; place-items: center; font-size: 1.4rem;
  margin-bottom: .9rem;
}
.feature h3 { font-family: var(--font-body); font-size: 1.05rem; margin-bottom: .35rem; color: var(--navy); }
.feature p { color: var(--muted); font-size: .9rem; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.split-img {
  aspect-ratio: 4/3; border-radius: var(--radius-lg);
  background: var(--gray-100) center/cover no-repeat;
  box-shadow: var(--shadow-md);
}

.cta-block {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--white); border-radius: var(--radius-lg);
  padding: 3rem 2rem; text-align: center;
}
.cta-block h2 { color: var(--white); margin-bottom: .5rem; }
.cta-block p { color: rgba(255,255,255,.8); margin-bottom: 1.5rem; }
.cta-block .btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

.testimonial {
  background: var(--white); border-radius: var(--radius-md);
  padding: 2rem; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
.testimonial .stars { color: var(--gold); margin-bottom: .75rem; letter-spacing: 2px; }
.testimonial blockquote { font-size: 1.02rem; color: var(--charcoal); font-style: italic; margin-bottom: 1rem; }
.testimonial .who { display: flex; align-items: center; gap: .75rem; }
.testimonial .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-weight: 700; }
.testimonial .who strong { color: var(--navy); display: block; }
.testimonial .who span   { color: var(--muted); font-size: .85rem; }

/* Steps (How we work) */
.steps { counter-reset: step; }
.step {
  background: var(--white); padding: 1.5rem; border-radius: var(--radius-md);
  border: 1px solid var(--gray-100); position: relative;
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); color: var(--gold); font-size: 1.6rem; font-weight: 700;
  display: block; margin-bottom: .35rem;
}
.step h3 { color: var(--navy); font-family: var(--font-body); font-size: 1rem; margin-bottom: .25rem; }
.step p  { color: var(--muted); font-size: .9rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery .tile {
  aspect-ratio: 1/1; border-radius: var(--radius-md); overflow: hidden;
  background: var(--gray-100) center/cover no-repeat;
  position: relative; cursor: pointer; transition: transform .25s;
}
.gallery .tile:hover { transform: scale(1.02); }
.gallery .tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(13,27,42,.55));
  opacity: 0; transition: opacity .2s;
}
.gallery .tile:hover::after { opacity: 1; }

/* FAQ accordion */
.faq-item {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-md); margin-bottom: .75rem; overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; padding: 1.1rem 1.25rem;
  font-weight: 600; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-q .ic { color: var(--gold); transition: transform .2s; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 1.25rem; color: var(--muted); }
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 1.1rem; }

/* Legal pages / generic content */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin: 2rem 0 .75rem; }
.prose p, .prose ul { margin-bottom: 1rem; color: var(--text); }
.prose ul { padding-left: 1.25rem; list-style: disc; }

/* ---------- 8. Forms ---------- */
.form {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-md); padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.form-field label { font-size: .85rem; color: var(--charcoal); font-weight: 600; }
.form-field input, .form-field textarea, .form-field select {
  border: 1px solid var(--gray-200); border-radius: 10px;
  padding: .75rem .9rem; font-family: inherit; font-size: .95rem;
  background: var(--gray-50); transition: border-color .2s, background .2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--gold); background: var(--white);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form .error { color: #c0392b; font-size: .8rem; }
.form-message { margin-top: 1rem; font-size: .9rem; color: var(--gold); display: none; }
.form-message.show { display: block; }

/* Contact info card */
.info-card { background: var(--navy); color: var(--white); padding: 2rem; border-radius: var(--radius-md); }
.info-card h3 { color: var(--white); margin-bottom: 1rem; }
.info-card .row { display: flex; gap: .85rem; margin-bottom: 1rem; align-items: flex-start; }
.info-card .row .ic { color: var(--gold); width: 22px; flex-shrink: 0; }
.info-card .row span { color: rgba(255,255,255,.85); font-size: .92rem; }
.map-placeholder {
  margin-top: 2rem; height: 300px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: grid; place-items: center; color: var(--muted); font-size: .9rem;
  border: 1px dashed var(--gray-200);
}

/* ---------- 9. Footer ---------- */
.site-footer {
  background: var(--navy-deep); color: rgba(255,255,255,.75);
  padding: 4rem 0 1.5rem;
}
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: 1rem; margin-bottom: 1rem; letter-spacing: .04em; text-transform: uppercase; }
.site-footer a { color: rgba(255,255,255,.7); transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-grid p { color: rgba(255,255,255,.7); font-size: .92rem; }
.footer-grid ul li { margin-bottom: .55rem; font-size: .92rem; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.08);
}
.socials a:hover { background: var(--gold); color: var(--navy); }
.copyright {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.25rem; text-align: center; font-size: .85rem; color: rgba(255,255,255,.5);
}

/* ---------- 10. Floating elements ---------- */
.fab-wa {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: white;
  display: grid; place-items: center; font-size: 1.6rem;
  box-shadow: 0 10px 25px rgba(37,211,102,.4);
  transition: transform .2s;
}
.fab-wa:hover { transform: scale(1.08); }
.scroll-top {
  position: fixed; right: 1.2rem; bottom: 5.5rem; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: none; place-items: center;
  box-shadow: var(--shadow-md); transition: transform .2s;
}
.scroll-top.show { display: grid; }
.scroll-top:hover { transform: translateY(-3px); }

/* ---------- 11. Animations ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Catalogue Page ---------- */

.catalogue-intro {
  margin-top: 1rem;
  color: var(--muted);
}

.catalogue-card {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  background: var(--gray-50);
  box-shadow: var(--shadow-sm);
}

.catalogue-card h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.catalogue-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.catalogue-disclaimer {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--gold);
  background: rgba(201, 162, 75, 0.08);
  color: var(--charcoal);
  font-size: 0.9rem;
  border-radius: 10px;
}

.catalogue-disclaimer strong {
  color: var(--navy);
}

.catalogue-whatsapp {
  margin-top: 1rem;
}

@media (max-width: 720px) {
  .catalogue-card {
    padding: 1.25rem;
  }

  .catalogue-disclaimer {
    font-size: 0.88rem;
  }
}

/* ---------- 12. Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links-modern {
    gap: 0;
  }

  .nav-links-modern a {
    padding: 0.7rem 0.75rem;
    font-size: 0.88rem;
  }

  .brand-tagline {
    display: none;
  }
}

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .nav-links-modern,
  .nav-actions-modern .btn-primary,
  .nav-actions-modern .btn-wa {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .modern-nav {
    min-height: 78px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-title {
    font-size: 1.35rem;
  }
}

@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 3rem 0; }
  .hero { padding: 4rem 0 3.5rem; }
}