/* Nirvista AI — Global Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

:root {
  --teal:        #017573;
  --teal-dark:   #015f5d;
  --teal-light:  #e0f4f4;
  --teal-mid:    #029e9b;
  --black:       #0a0f0f;
  --gray-900:    #111818;
  --gray-800:    #1e2828;
  --gray-600:    #4a5f5f;
  --gray-400:    #8aa3a3;
  --gray-200:    #d4e4e4;
  --gray-100:    #eef6f6;
  --white:       #ffffff;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 3px rgba(1,117,115,.08),0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(1,117,115,.12),0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:   0 12px 40px rgba(1,117,115,.15),0 4px 12px rgba(0,0,0,.08);
  --transition:  all .22s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5,h6 { font-family: 'Syne', sans-serif; line-height: 1.2; color: var(--black); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
p  { color: var(--gray-600); font-size: 1.05rem; }
a  { color: var(--teal); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--teal-dark); }

/* ── LAYOUT ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-200);
  padding: 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1.25rem; color: var(--black);
  text-decoration: none;
}
.nav-logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-mark svg { width: 20px; height: 20px; fill: white; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500; color: var(--gray-600);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); background: var(--teal-light); }
.nav-cta {
  background: var(--teal); color: white !important;
  padding: 9px 20px !important; border-radius: var(--radius-sm) !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; color: white !important; }

.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--gray-800); margin: 5px 0; border-radius: 2px; transition: var(--transition); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif; font-size: .95rem; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition);
  text-decoration: none; line-height: 1;
}
.btn-primary   { background: var(--teal); color: white; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-dark); color: white; box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-outline   { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); }
.btn-outline:hover { background: var(--teal-light); }
.btn-ghost     { background: var(--gray-100); color: var(--gray-800); }
.btn-ghost:hover { background: var(--gray-200); }
.btn-white     { background: white; color: var(--teal); }
.btn-white:hover { background: var(--teal-light); }

/* ── BADGE ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--teal-light); color: var(--teal);
  font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 99px; border: 1px solid rgba(1,117,115,.2);
}

/* ── HERO ── */
.hero {
  padding: 120px 0 96px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(1,117,115,.08) 0%, transparent 70%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 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='none' fill-rule='evenodd'%3E%3Cg fill='%23017573' 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/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; margin: 0 auto; }
.hero h1 { margin: 20px 0 24px; }
.hero p   { font-size: 1.15rem; max-width: 560px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-trust { margin-top: 56px; display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.hero-trust span { font-size: .85rem; color: var(--gray-400); font-weight: 500; display: flex; align-items: center; gap: 6px; }

/* ── CARDS ── */
.card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 32px;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); border-color: rgba(1,117,115,.25); transform: translateY(-2px); }
.card-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--teal-light); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--teal);
}
.card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.card p  { font-size: .93rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

/* ── SECTION HEADER ── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header h2 { margin: 12px 0 16px; }
.section-header p  { font-size: 1.05rem; }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(255,255,255,.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band h2 { color: white; margin-bottom: 16px; }
.cta-band p  { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 500px; margin: 0 auto 36px; }
.cta-band .btn-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: var(--gray-900); color: var(--gray-400);
  padding: 64px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .nav-logo { color: white; margin-bottom: 16px; display: flex; }
.footer-brand p { font-size: .88rem; line-height: 1.7; }
.footer-brand .cin { font-size: .78rem; color: var(--gray-600); margin-top: 12px; }
footer h4 { font-family: 'Syne', sans-serif; font-size: .85rem; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul li a { color: var(--gray-400); font-size: .9rem; transition: var(--transition); }
footer ul li a:hover { color: var(--teal-mid); }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid var(--gray-800); padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .82rem; flex-wrap: wrap; gap: 12px;
}

/* ── FLOATING BUTTONS ── */
.float-call {
  position: fixed; bottom: 88px; right: 24px; z-index: 99;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--teal); color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(1,117,115,.4);
  transition: var(--transition); text-decoration: none;
}
.float-call:hover { background: var(--teal-dark); transform: scale(1.08); color: white; }
.float-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 99;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: var(--transition); text-decoration: none;
}
.float-wa:hover { background: #1da851; transform: scale(1.08); color: white; }
.float-call svg, .float-wa svg { width: 22px; height: 22px; fill: white; }

/* ── FORM ── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; color: var(--gray-800); margin-bottom: 7px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif; font-size: .95rem; color: var(--gray-800);
  background: white; transition: var(--transition); outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(1,117,115,.1); }
.form-group textarea { min-height: 130px; resize: vertical; }

/* ── MISC ── */
.divider { border: none; border-top: 1px solid var(--gray-200); margin: 0; }
.text-teal  { color: var(--teal); }
.text-muted { color: var(--gray-400); }
.mt-4  { margin-top: 16px; }
.mb-0  { margin-bottom: 0; }

/* ── LEGAL PAGES ── */
.legal-hero { padding: 80px 0 48px; background: var(--gray-100); border-bottom: 1px solid var(--gray-200); }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal-hero .updated { font-size: .88rem; color: var(--gray-400); margin-top: 10px; }
.legal-body { padding: 64px 0 96px; }
.legal-body .prose { max-width: 780px; }
.legal-body .prose h2 { font-size: 1.4rem; margin-top: 48px; margin-bottom: 16px; padding-top: 24px; border-top: 1px solid var(--gray-200); }
.legal-body .prose h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.legal-body .prose h3 { font-size: 1.05rem; margin-top: 28px; margin-bottom: 10px; }
.legal-body .prose p  { margin-bottom: 16px; font-size: .97rem; line-height: 1.75; }
.legal-body .prose ul { margin: 12px 0 20px 24px; }
.legal-body .prose ul li { font-size: .97rem; color: var(--gray-600); margin-bottom: 8px; line-height: 1.6; }
.legal-body .prose a  { color: var(--teal); font-weight: 500; }
.legal-sidebar { position: sticky; top: 90px; max-width: 240px; }
.legal-sidebar nav ul { list-style: none; }
.legal-sidebar nav ul li a {
  display: block; padding: 7px 0; font-size: .88rem;
  color: var(--gray-600); border-left: 2px solid var(--gray-200);
  padding-left: 14px; transition: var(--transition);
}
.legal-sidebar nav ul li a:hover { color: var(--teal); border-left-color: var(--teal); }
.legal-layout { display: grid; grid-template-columns: 1fr 240px; gap: 64px; align-items: start; }

/* ── ABOUT ── */
.stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.stat-card { text-align: center; padding: 40px 24px; background: white; border-radius: var(--radius-md); border: 1px solid var(--gray-200); }
.stat-card .num { font-family: 'Syne', sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--teal); }
.stat-card .label { font-size: .9rem; color: var(--gray-600); margin-top: 6px; }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-visual {
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.about-visual-inner { text-align: center; color: white; position: relative; z-index: 1; }
.about-visual-inner .big { font-family: 'Syne', sans-serif; font-size: 5rem; font-weight: 800; opacity: .15; line-height: 1; }
.about-visual-inner .tag { font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.values-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--teal-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--teal); }

/* ── SERVICES PAGE ── */
.service-card { padding: 40px; }
.service-card h3 { font-size: 1.25rem; margin: 16px 0 12px; }
.service-card .features { list-style: none; margin-top: 20px; }
.service-card .features li { font-size: .9rem; color: var(--gray-600); padding: 6px 0; border-bottom: 1px solid var(--gray-100); display: flex; align-items: center; gap: 8px; }
.service-card .features li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform: translateY(24px); } to { opacity:1; transform: translateY(0); } }
@keyframes pulse  { 0%,100% { opacity:1; } 50% { opacity:.6; } }
.fade-up { animation: fadeUp .6s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(3,1fr); }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-sidebar { display: none; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 68px; left: 0; right: 0;
    background: white; border-bottom: 1px solid var(--gray-200);
    padding: 16px; gap: 4px; box-shadow: var(--shadow-md);
  }
  .hero { padding: 80px 0 64px; }
  .section { padding: 64px 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
