/*
Theme Name: Rupee Neo
Theme URI: https://rupeeneofinance.com
Author: Rupee Neo Gold Finance & Rupee Neo Chit Funds Pvt Ltd
Description: Custom theme for Rupee Neo Gold Finance & Rupee Neo Chit Funds Pvt Ltd — Kannur, Kerala.
Version: 1.0
Text Domain: rupee-neo
*/

/* Rupee Neo — shared theme */
:root {
  --navy: #0a1f44;
  --navy-light: #12305f;
  --gold: #c9a227;
  --gold-light: #e8c96b;
  --gold-gradient: linear-gradient(135deg, #f4d06f 0%, #c9a227 50%, #a67c1e 100%);
  --cream: #faf6ec;
  --cream-dark: #f0e8d6;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-muted: #5a5f73;
  --border: #e3d9bd;
  --shadow: 0 10px 30px rgba(10, 31, 68, 0.12);
  --radius: 14px;
  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.25;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-alt { background: var(--white); }

.section-tag {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.1rem;
  margin-bottom: 14px;
}

.section-sub {
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 40px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.35);
}

.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(201, 162, 39, 0.45); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold);
}

.btn-outline:hover { background: var(--gold); color: var(--navy); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover { background: var(--navy-light); }

/* Top bar */
.topbar {
  background: var(--navy);
  color: var(--cream-dark);
  font-size: 0.82rem;
  padding: 8px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar a { color: var(--gold-light); }
.topbar span { margin-right: 18px; }

/* Header / Nav */
header.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(10, 31, 68, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.3rem;
  font-family: 'Playfair Display', serif;
  flex-shrink: 0;
}

.brand-text .brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.1;
}

.brand-text .brand-tag {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  color: var(--gold);
  text-transform: uppercase;
}

nav.main-nav ul {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
}

nav.main-nav a:hover,
nav.main-nav a.active,
nav.main-nav li.current-menu-item > a { color: var(--navy); }

nav.main-nav a:hover::after,
nav.main-nav a.active::after,
nav.main-nav li.current-menu-item > a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--gold);
}

.nav-cta { display: flex; align-items: center; gap: 16px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--navy);
  cursor: pointer;
}

/* Hero */
.hero {
  background: radial-gradient(ellipse at top right, var(--navy-light), var(--navy) 70%);
  color: var(--white);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-eyebrow {
  color: var(--gold-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h1 {
  color: var(--white);
  font-size: 2.7rem;
  margin-bottom: 18px;
}

.hero h1 span { color: var(--gold-light); }

.hero p {
  color: #d7ddef;
  margin-bottom: 30px;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pot-badge {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  position: relative;
}

.pot-badge::before {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 2px dashed rgba(10,31,68,0.35);
}

.pot-badge .rupee {
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  color: var(--navy);
  font-weight: 700;
}

/* Stats strip */
.stats-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 36px 24px;
  text-align: center;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--navy);
  font-weight: 700;
}

.stat-label { color: var(--text-muted); font-size: 0.85rem; }

/* Service cards */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(10,31,68,0.18); }

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 16px; }
.card .link-arrow { color: var(--navy); font-weight: 600; font-size: 0.9rem; }

/* Why choose us */
.feature-row {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}

.feature-row .num {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--cream-dark);
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.feature-row h4 { font-size: 1.05rem; margin-bottom: 4px; }
.feature-row p { color: var(--text-muted); font-size: 0.9rem; }

/* CTA band */
.cta-band {
  background: var(--gold-gradient);
  color: var(--navy);
  padding: 60px 0;
  text-align: center;
}

.cta-band h2 { color: var(--navy); margin-bottom: 12px; }
.cta-band p { color: #3a3320; margin-bottom: 26px; }

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 { color: var(--white); font-size: 2.2rem; margin-bottom: 10px; }
.page-hero .crumb { color: var(--gold-light); font-size: 0.9rem; }
.page-hero .crumb a { color: var(--gold-light); text-decoration: underline; }

/* Service detail page */
.detail-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text-dark);
}

.detail-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px;
}

.contact-card h3 { color: var(--gold-light); margin-bottom: 20px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-item .ic { color: var(--gold); font-size: 1.2rem; }
.contact-item a, .contact-item span { color: #d7ddef; font-size: 0.94rem; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 26px;
  border: 1px solid var(--border);
}

.map-embed iframe { width: 100%; height: 280px; border: 0; }

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Contact Form 7 styling to match theme */
.contact-form-wrap .wpcf7-form-control-wrap { display: block; margin-bottom: 18px; }
.contact-form-wrap label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.contact-form-wrap input[type=text],
.contact-form-wrap input[type=email],
.contact-form-wrap input[type=tel],
.contact-form-wrap select,
.contact-form-wrap textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
}
.contact-form-wrap input:focus, .contact-form-wrap textarea:focus, .contact-form-wrap select:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form-wrap .wpcf7-submit { margin-top: 4px; }
.contact-form-wrap .wpcf7-not-valid-tip { color: #b3261e; font-size: 0.8rem; margin-top: 4px; }
.contact-form-wrap .wpcf7-response-output { border-radius: 10px; margin-top: 16px; font-size: 0.9rem; }

/* Footer */
footer.site-footer {
  background: var(--navy);
  color: #c7cde0;
  padding-top: 60px;
}

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

.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.footer-grid ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid ul li a:hover { color: var(--gold-light); }

.footer-brand p { font-size: 0.88rem; color: #a9b1cc; margin: 14px 0; max-width: 300px; }

.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}
.social-row a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

.footer-disclosure {
  font-size: 0.76rem;
  color: #8b93ad;
  padding: 22px 0;
  line-height: 1.7;
}

.footer-disclosure strong { color: #b7bfd9; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: #8b93ad;
}

/* Generic page content wrapper (for text-only edited pages) */
.entry-content-wrap { padding: 60px 0; }
.entry-content-wrap .container { max-width: 860px; }
.entry-content-wrap h2 { margin-top: 30px; margin-bottom: 14px; }
.entry-content-wrap p { margin-bottom: 16px; color: var(--text-dark); }
.entry-content-wrap ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.entry-content-wrap li { margin-bottom: 8px; }

/* Mobile */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-art { order: -1; }
  .pot-badge { max-width: 240px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .stats-strip .container { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  nav.main-nav {
    position: fixed;
    top: 74px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  nav.main-nav.open { max-height: 500px; }
  nav.main-nav ul { flex-direction: column; padding: 20px 24px; gap: 18px; }
  .menu-toggle { display: block; }
  .nav-cta .btn span { display: none; }
  .topbar .container { flex-direction: column; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
}
