/* ═══════════════════════════════════════════
   TROVEN GLOBAL STYLESHEET
   Brand: Navy #1B3A6B | Gold #C9A84C
   Fonts: Playfair Display + Montserrat
═══════════════════════════════════════════ */

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

:root {
  --navy:       #1B3A6B;
  --navy-deep:  #0F2347;
  --gold:       #C9A84C;
  --gold-deep:  #A07C2E;
  --white:      #F8F7F4;
  --gray-light: #F0EFec;
  --gray-mid:   #8A8A8A;
  --gray-border:#E4E3E0;
  --text:       #1A1A1A;
  --text-light: #555;
  --font-display:'Playfair Display', Georgia, serif;
  --font-body:   'Montserrat', sans-serif;
  --radius:      8px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.06);
  --shadow-md:   0 6px 24px rgba(27,58,107,.1);
  --shadow-lg:   0 16px 48px rgba(27,58,107,.15);
  --transition:  .22s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background:#fff; font-size:15px; line-height:1.65; }
a { text-decoration:none; color:inherit; }
img { display:block; max-width:100%; }
ul { list-style:none; }

/* ── TOPBAR ── */
.topbar { background:var(--navy-deep); color:#ccc; font-size:12.5px; padding:8px 0; }
.topbar-inner { max-width:1160px; margin:0 auto; padding:0 24px; display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.topbar-left { display:flex; gap:20px; align-items:center; }
.topbar-left a { color:#ccc; display:flex; align-items:center; gap:6px; transition:color var(--transition); }
.topbar-left a:hover { color:var(--gold); }
.topbar-right { display:flex; align-items:center; gap:14px; }
.topbar-right span { color:#aaa; }
.topbar-social { display:flex; gap:10px; }
.topbar-social a { color:#aaa; width:26px; height:26px; display:flex; align-items:center; justify-content:center; border:1px solid #333; border-radius:4px; transition:all var(--transition); }
.topbar-social a:hover { color:var(--gold); border-color:var(--gold); }

/* ── NAV ── */
nav { background:#fff; border-bottom:1px solid var(--gray-border); position:sticky; top:0; z-index:100; box-shadow:var(--shadow-sm); }
.nav-inner { max-width:1160px; margin:0 auto; padding:0 24px; display:flex; align-items:center; justify-content:space-between; height:68px; }
.logo { display:flex; align-items:center; gap:10px; }
.logo-mark { width:40px; height:40px; background:var(--navy); border-radius:6px; display:flex; align-items:center; justify-content:center; color:var(--gold); font-family:var(--font-display); font-weight:700; font-size:20px; }
.logo-text { display:flex; flex-direction:column; line-height:1.1; }
.logo-text .brand { font-family:var(--font-display); font-weight:700; font-size:18px; color:var(--navy); letter-spacing:.5px; }
.logo-text .sub { font-size:9px; color:var(--gray-mid); letter-spacing:1.5px; text-transform:uppercase; font-weight:600; }
.nav-links { display:flex; gap:4px; align-items:center; }
.nav-links a { padding:8px 14px; border-radius:6px; font-size:13.5px; font-weight:500; color:#444; transition:all var(--transition); }
.nav-links a:hover, .nav-links a.active { color:var(--navy); background:var(--gray-light); }
.nav-cta { background:var(--navy) !important; color:#fff !important; padding:10px 20px !important; border-radius:6px !important; font-weight:600 !important; }
.nav-cta:hover { background:var(--navy-deep) !important; }
.nav-toggle { display:none; background:none; border:none; cursor:pointer; padding:8px; }
.nav-mobile { display:none; }

/* ── BUTTONS ── */
.btn { display:inline-flex; align-items:center; gap:8px; padding:13px 26px; border-radius:var(--radius); font-family:var(--font-body); font-weight:600; font-size:14px; cursor:pointer; border:none; transition:all var(--transition); }
.btn-primary { background:var(--gold); color:var(--navy-deep); }
.btn-primary:hover { background:var(--gold-deep); transform:translateY(-1px); }
.btn-navy { background:var(--navy); color:#fff; }
.btn-navy:hover { background:var(--navy-deep); transform:translateY(-1px); }
.btn-outline-navy { border:2px solid var(--navy); color:var(--navy); background:transparent; }
.btn-outline-navy:hover { background:var(--navy); color:#fff; }
.btn-outline-white { border:1.5px solid rgba(255,255,255,.4); color:#fff; background:transparent; }
.btn-outline-white:hover { border-color:var(--gold); color:var(--gold); }
.btn-white { background:#fff; color:var(--navy-deep); border:2px solid transparent; }
.btn-white:hover { border-color:var(--navy-deep); }
.btn-lg { padding:16px 32px; font-size:15px; }
.btn-sm { padding:9px 18px; font-size:13px; }

/* ── LAYOUT ── */
.container { max-width:1160px; margin:0 auto; padding:0 24px; }
section { padding:80px 0; }
.section-eyebrow { font-size:11px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:var(--gold); margin-bottom:10px; }
.section-title { font-family:var(--font-display); font-size:clamp(26px,3.5vw,38px); font-weight:700; color:var(--navy-deep); margin-bottom:12px; }
.section-sub { color:var(--gray-mid); font-size:15px; max-width:520px; line-height:1.75; margin-bottom:48px; }
.title-rule { width:48px; height:3px; background:var(--gold); border-radius:2px; margin:16px 0 48px; }
.centered { text-align:center; }
.centered .section-sub { margin-left:auto; margin-right:auto; }
.centered .title-rule { margin-left:auto; margin-right:auto; }

/* ── PAGE HERO (inner pages) ── */
.page-hero { background:linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%); padding:72px 0; position:relative; overflow:hidden; }
.page-hero::before { content:''; position:absolute; inset:0; background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E"); }
.page-hero .container { position:relative; z-index:1; }
.page-hero .breadcrumb { font-size:12px; color:rgba(255,255,255,.5); margin-bottom:16px; display:flex; gap:8px; align-items:center; }
.page-hero .breadcrumb a { color:rgba(255,255,255,.5); transition:color var(--transition); }
.page-hero .breadcrumb a:hover { color:var(--gold); }
.page-hero h1 { font-family:var(--font-display); font-size:clamp(30px,4vw,48px); font-weight:700; color:#fff; margin-bottom:16px; }
.page-hero p { color:rgba(255,255,255,.7); font-size:16px; max-width:540px; line-height:1.75; }

/* ── CARDS ── */
.card { background:#fff; border:1px solid var(--gray-border); border-radius:12px; padding:28px 24px; transition:all var(--transition); }
.card:hover { border-color:var(--navy); box-shadow:var(--shadow-md); transform:translateY(-2px); }
.card-icon { width:48px; height:48px; background:var(--gray-light); border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:22px; margin-bottom:16px; transition:background var(--transition); }
.card:hover .card-icon { background:var(--navy); }
.card h3 { font-size:15px; font-weight:700; color:var(--navy); margin-bottom:8px; }
.card p { font-size:13.5px; color:#666; line-height:1.65; }

/* ── TRUST STRIP ── */
.trust-strip { background:var(--white); border-bottom:1px solid var(--gray-border); padding:20px 0; }
.trust-inner { max-width:1160px; margin:0 auto; padding:0 24px; display:flex; align-items:stretch; justify-content:space-between; }
.trust-item { display:flex; align-items:center; gap:12px; flex:1; padding:0 24px; border-right:1px solid #ddd; }
.trust-item:first-child { padding-left:0; }
.trust-item:last-child { border-right:none; }
.trust-icon { width:36px; height:36px; background:var(--navy); border-radius:8px; display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--gold); }
.trust-text strong { display:block; font-size:13px; font-weight:700; color:var(--navy); }
.trust-text span { font-size:11.5px; color:var(--gray-mid); }

/* ── CTA BANNER ── */
.cta-banner { background:linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%); padding:64px 0; }
.cta-inner { display:flex; align-items:center; justify-content:space-between; gap:32px; }
.cta-text h2 { font-family:var(--font-display); font-size:clamp(24px,3vw,32px); font-weight:700; color:var(--navy-deep); margin-bottom:8px; }
.cta-text p { color:rgba(15,35,71,.7); font-size:15px; }
.cta-buttons { display:flex; gap:14px; flex-shrink:0; flex-wrap:wrap; }

/* ── FOOTER ── */
footer { background:var(--navy-deep); color:rgba(255,255,255,.65); padding:60px 0 0; }
.footer-inner { display:grid; grid-template-columns:2fr 1fr 1fr 1.4fr; gap:48px; }
.footer-brand .logo-mark { background:rgba(255,255,255,.1); }
.footer-tagline { font-size:13px; color:rgba(255,255,255,.5); margin:16px 0 20px; line-height:1.7; }
.footer-contact-item { display:flex; align-items:center; gap:10px; font-size:13px; margin-bottom:10px; color:rgba(255,255,255,.6); }
.footer-contact-item a { color:rgba(255,255,255,.6); transition:color var(--transition); }
.footer-contact-item a:hover { color:var(--gold); }
.footer-col h4 { font-size:11px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--gold); margin-bottom:18px; }
.footer-col ul li { margin-bottom:9px; }
.footer-col ul li a { font-size:13.5px; color:rgba(255,255,255,.6); transition:color var(--transition); }
.footer-col ul li a:hover { color:#fff; }
.footer-socials { display:flex; gap:10px; margin-top:12px; }
.footer-socials a { width:32px; height:32px; border:1px solid rgba(255,255,255,.15); border-radius:6px; display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.5); transition:all var(--transition); }
.footer-socials a:hover { border-color:var(--gold); color:var(--gold); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.08); margin-top:48px; padding:20px 24px; max-width:1160px; margin-left:auto; margin-right:auto; display:flex; justify-content:space-between; align-items:center; font-size:12px; color:rgba(255,255,255,.35); flex-wrap:wrap; gap:12px; }

/* ── FORMS ── */
.form-group { margin-bottom:20px; }
.form-group label { display:block; font-size:13px; font-weight:600; color:var(--navy); margin-bottom:6px; }
.form-group input, .form-group textarea, .form-group select { width:100%; padding:12px 16px; border:1.5px solid var(--gray-border); border-radius:var(--radius); font-family:var(--font-body); font-size:14px; color:var(--text); background:#fff; transition:border-color var(--transition); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline:none; border-color:var(--navy); }
.form-group textarea { resize:vertical; min-height:120px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }

/* ── ACCORDION (FAQ) ── */
.accordion-item { border:1px solid var(--gray-border); border-radius:var(--radius); margin-bottom:12px; overflow:hidden; }
.accordion-header { padding:18px 20px; font-weight:600; font-size:14.5px; color:var(--navy); cursor:pointer; display:flex; justify-content:space-between; align-items:center; background:#fff; transition:background var(--transition); }
.accordion-header:hover { background:var(--gray-light); }
.accordion-header.open { background:var(--navy); color:#fff; }
.accordion-body { padding:0 20px; max-height:0; overflow:hidden; transition:max-height .3s ease, padding .3s ease; }
.accordion-body.open { padding:16px 20px; max-height:500px; }
.accordion-body p { font-size:14px; color:var(--text-light); line-height:1.75; }

/* ── TESTIMONIALS ── */
.testimonial-card { background:#fff; border:1px solid var(--gray-border); border-radius:12px; padding:28px; position:relative; }
.testimonial-card::before { content:'"'; font-family:var(--font-display); font-size:72px; color:var(--gold); opacity:.2; position:absolute; top:12px; left:20px; line-height:1; }
.testimonial-text { font-size:14.5px; color:var(--text-light); line-height:1.8; margin-bottom:20px; padding-top:24px; }
.testimonial-author { display:flex; align-items:center; gap:12px; }
.author-avatar { width:44px; height:44px; border-radius:50%; background:var(--navy); display:flex; align-items:center; justify-content:center; color:var(--gold); font-family:var(--font-display); font-weight:700; font-size:18px; flex-shrink:0; }
.author-name { font-weight:700; font-size:13.5px; color:var(--navy); }
.author-role { font-size:12px; color:var(--gray-mid); }
.stars { color:var(--gold); font-size:14px; margin-bottom:12px; }

/* ── BADGES ── */
.badge { display:inline-flex; align-items:center; gap:6px; padding:4px 12px; border-radius:20px; font-size:11.5px; font-weight:600; }
.badge-gold { background:rgba(201,168,76,.12); color:var(--gold-deep); }
.badge-navy { background:rgba(27,58,107,.1); color:var(--navy); }
.badge-green { background:rgba(34,197,94,.1); color:#15803d; }

/* ── RESPONSIVE ── */
@media (max-width:900px) {
  .footer-inner { grid-template-columns:1fr 1fr; }
  .trust-inner { flex-wrap:wrap; gap:16px; }
  .trust-item { border-right:none; border-bottom:1px solid #ddd; padding-bottom:12px; min-width:calc(50% - 8px); }
  .form-row { grid-template-columns:1fr; }
  .cta-inner { flex-direction:column; text-align:center; }
  .cta-buttons { justify-content:center; }
}
@media (max-width:600px) {
  section { padding:56px 0; }
  .footer-inner { grid-template-columns:1fr; gap:32px; }
  .topbar-right { display:none; }
  .nav-links { display:none; }
  .nav-links.open { display:flex; flex-direction:column; position:absolute; top:68px; left:0; right:0; background:#fff; border-bottom:1px solid var(--gray-border); padding:16px 24px; gap:4px; box-shadow:var(--shadow-md); }
  .nav-toggle { display:flex; flex-direction:column; gap:5px; }
  .nav-toggle span { width:22px; height:2px; background:var(--navy); border-radius:2px; transition:all var(--transition); }
  .trust-item { min-width:100%; }
  .page-hero { padding:48px 0; }
}

/* ── PERFORMANCE & ACCESSIBILITY ADDITIONS ── */

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Focus indicators (keyboard navigation) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #C9A84C;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Minimum tap target size (mobile) */
.nav-links a, .btn, .footer-col ul li a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-col ul li a { min-height: 36px; }

/* Body text minimum size */
body { font-size: 15px; }
p { font-size: 14.5px; }

/* High contrast check — ensure text on dark bg meets AA */
.topbar, footer, .page-hero, .how-it-works { color: rgba(255,255,255,.85); }

/* Print styles */
@media print {
  .topbar, nav, .cta-banner, footer, #cookie-banner, [aria-label="Chat on WhatsApp"] { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 10pt; }
}

/* Grid fixes for services page on mobile */
@media (max-width: 768px) {
  [style*="grid-template-columns: 80px 1fr auto"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns: 1fr 3fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns: 1fr 1.2fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: 1fr 1.4fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns: repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }
  [style*="grid-template-columns: repeat(5,1fr)"],
  [style*="grid-template-columns: repeat(5, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }
  [style*="grid-template-columns: 1fr 1.2fr"] {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 480px) {
  [style*="grid-template-columns: repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(2,1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}
