/* Tyagi Enterprises - Global Styles */
/* Modern font */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap');

:root {
  --brand: #0f7bff;
  --brand-2: #6d28d9;
  --brand-dark: #0a5fc2;
  --ink: #0b1220;
  --ink-2: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f7f9fc;
  --accent: #12b886;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 12px 30px rgba(0,0,0,0.14);
  --ring: 0 0 0 8px rgba(15,123,255,0.08);
}

/* Dark theme */
[data-theme="dark"] {
  --ink: #e5ecf7;
  --ink-2: #d1d5db;
  --muted: #94a3b8;
  --bg: #0b1020;
  --bg-alt: #0f172a;
  --brand-dark: #2b74ff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-md: 0 12px 30px rgba(0,0,0,0.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--ink);
  background: radial-gradient(1200px 800px at 120% -10%, rgba(109,40,217,0.10), transparent 60%),
              radial-gradient(1200px 800px at -20% 0%, rgba(15,123,255,0.10), transparent 60%), var(--bg);
  line-height: 1.6;
}

/* Layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
header.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid rgba(226,232,240,0.7);
}
[data-theme="dark"] header.site-header {
  background: rgba(10,15,26,0.6);
  border-bottom-color: rgba(51,65,85,0.6);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px;
}
.nav .right { display: flex; align-items: center; gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .logo-t {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--accent)); color: white; font-weight: 800; box-shadow: var(--shadow-sm);
}
.brand span { font-weight: 800; color: var(--ink); font-size: 1.1rem; letter-spacing: 0.2px; }

.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-weight: 600; padding: 8px 10px; border-radius: 8px; }
.nav-links a:hover { background: var(--bg-alt); }
.nav-links a.active { color: var(--brand); background: rgba(15,123,255,0.10); box-shadow: var(--ring); }

.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; }
.icon-btn { background: transparent; border: 1px solid #e5e7eb; color: var(--ink); padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.icon-btn:hover { border-color: var(--brand); color: var(--brand); box-shadow: var(--ring); }
[data-theme="dark"] .icon-btn { border-color: #334155; }

@media (max-width: 880px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: white; border-bottom: 1px solid #e5e7eb; padding: 10px 20px 16px; flex-direction: column; align-items: flex-start; }
  body.nav-open .nav-links { display: flex; }
  .nav-toggle { display: inline-flex; }
}
[data-theme="dark"] .nav-links { background: #0f172a; border-bottom-color: #334155; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: center; padding: 72px 0; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -40px -10% auto -10%; height: 380px; z-index: -1;
  background: radial-gradient(50% 50% at 10% 20%, rgba(109,40,217,0.22) 0%, rgba(109,40,217,0.00) 60%),
              radial-gradient(50% 50% at 90% 30%, rgba(15,123,255,0.22) 0%, rgba(15,123,255,0.00) 60%);
  filter: blur(16px);
}
.hero h1 { font-size: clamp(2.1rem, 1.8rem + 1.6vw, 3.2rem); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.015em; }
.hero p.sub { color: var(--muted); font-size: 1.05rem; margin: 0 0 22px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 12px; text-decoration: none; font-weight: 800; border: 1px solid transparent; cursor: pointer; transition: transform .08s ease, box-shadow .2s ease, background .2s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: white; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 16px 40px rgba(15,123,255,0.25); }
.btn-gradient { color: white; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 16px 40px rgba(15,123,255,0.25); }
.btn-gradient:hover { filter: saturate(1.05) brightness(1.05); }
.btn-outline { background: white; color: var(--ink); border-color: #e5e7eb; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.hero-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.00) 60%, rgba(0,0,0,0.22)); opacity: .2; pointer-events: none; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
}

/* Sections */
section { padding: 64px 0; }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-header h2 { margin: 0; font-size: 1.8rem; }
.kicker { color: var(--brand); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { border: 1px solid #e5e7eb; border-radius: var(--radius); overflow: hidden; background: white; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(2,6,23,0.12); border-color: rgba(15,123,255,0.35); }
.card .media { height: 180px; background: #f2f3f6; overflow: hidden; }
.card .media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.card:hover .media img { transform: scale(1.05); }
.card .body { padding: 16px; }
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.muted { color: var(--muted); }

.feature {
  display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; border: 1px solid #e5e7eb; border-radius: var(--radius); padding: 14px; background: white; box-shadow: var(--shadow-sm);
}
.feature .icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(15,123,255,0.1); color: var(--brand); font-weight: 800; }
.feature:hover { box-shadow: 0 10px 24px rgba(2,6,23,0.1); border-color: rgba(15,123,255,0.35); }

.band { background: var(--bg-alt); border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; }
[data-theme="dark"] .band { border-color: #334155; }

/* Footer */
footer {
  padding: 48px 0; background: linear-gradient(180deg, #0a0f1a, #070b13); color: #d1d5db; margin-top: 40px; border-top: 1px solid #0f172a;
}
footer a { color: #c9e0ff; text-decoration: none; }
footer .brand span { color: #e5ecf7; }
footer .cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 20px; }
footer .muted { color: #9aa6bf; }
@media (max-width: 960px) { footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { footer .cols { grid-template-columns: 1fr; } }

/* Forms */
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form .row.single { grid-template-columns: 1fr; }
label { font-weight: 600; display: block; margin: 10px 0 6px; }
input, textarea { width: 100%; padding: 12px 12px; border: 1px solid #e5e7eb; border-radius: 10px; font: inherit; }
textarea { min-height: 140px; resize: vertical; }
.error { color: var(--danger); font-size: 0.9rem; display: none; }
.has-error .error { display: block; }
.consent { display: flex; gap: 10px; align-items: start; }

/* Toast */
.toast {
  position: fixed; right: 16px; bottom: 16px; background: #0b8a51; color: white; padding: 14px 16px; border-radius: 10px; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(8px); pointer-events: none; transition: all .25s ease;
}
.toast.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* Utility */
.pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(18,184,134,0.12); color: var(--accent); font-weight: 700; padding: 6px 10px; border-radius: 999px; font-size: 0.85rem; }
.spacer { height: 16px; }
.center { text-align: center; }
.lead { font-size: 1.1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Map placeholder */
.map-placeholder { height: 300px; border-radius: var(--radius); border: 1px dashed #cbd5e1; display: grid; place-items: center; color: var(--muted); background: repeating-linear-gradient(45deg, #f8fafc, #f8fafc 10px, #f1f5f9 10px, #f1f5f9 20px); }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(10px) scale(0.99); transition: all .6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0) scale(1); }

