/* ==========================================================================
   ABDM Hospital Management Software Odisha — Design System
   Dark teal + mint accent. Modern, animated, responsive.
   ========================================================================== */

:root {
  --bg-deep: #072826;
  --bg-teal: #0d3b3a;
  --bg-teal-2: #10514e;
  --mint: #14b8a6;
  --mint-bright: #2dd4bf;
  --mint-soft: #99f6e4;
  --wa-green: #128c4b;
  --wa-green-dark: #0e7040;
  --ink: #0b1f1e;
  --paper: #f6fbfa;
  --paper-2: #ffffff;
  --muted: #5a6d6b;
  --line: #e2eeeb;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 6px 20px rgba(7, 40, 38, 0.08);
  --shadow-md: 0 18px 45px rgba(7, 40, 38, 0.14);
  --shadow-glow: 0 0 40px rgba(20, 184, 166, 0.35);
  --max: 1200px;
  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: 16px;
}

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

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

.section { padding: 90px 0; position: relative; }
.section--dark { background: var(--bg-teal); color: var(--white); }
.section--deep { background: var(--bg-deep); color: var(--white); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { color: inherit; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--mint);
  background: rgba(20, 184, 166, 0.12);
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(20, 184, 166, 0.28);
  margin-bottom: 18px;
}
.section--dark .eyebrow, .section--deep .eyebrow { color: var(--mint-bright); }

.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }
.section--dark .section-head p, .section--deep .section-head p { color: var(--mint-soft); }

.text-muted { color: var(--muted); }
.grad-text {
  background: linear-gradient(100deg, var(--mint-bright), var(--mint-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  cursor: pointer; border: none; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  font-family: var(--font); white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-wa { background: var(--wa-green); color: #fff; box-shadow: 0 12px 30px rgba(18, 140, 75, 0.35); }
.btn-wa:hover { background: var(--wa-green-dark); transform: translateY(-3px); box-shadow: 0 16px 38px rgba(18, 140, 75, 0.45); }
.btn-primary { background: var(--mint); color: var(--ink); box-shadow: 0 12px 30px rgba(20, 184, 166, 0.35); }
.btn-primary:hover { background: var(--mint-bright); transform: translateY(-3px); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { border-color: var(--mint-bright); color: var(--mint-bright); transform: translateY(-3px); }
.btn-dark { background: var(--bg-teal); color: #fff; }
.btn-dark:hover { background: var(--bg-teal-2); transform: translateY(-3px); }
.btn svg { width: 20px; height: 20px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 18px 0;
}
.nav.scrolled {
  background: rgba(7, 40, 38, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; }
.brand-logo {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--mint), var(--mint-bright));
  display: grid; place-items: center; color: var(--ink); font-weight: 900;
  box-shadow: var(--shadow-glow);
}
.brand-name { font-size: 1.05rem; line-height: 1.1; }
.brand-name small { display: block; font-size: 0.66rem; font-weight: 600; color: var(--mint-soft); letter-spacing: 0.04em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: rgba(255,255,255,0.85); font-weight: 600; font-size: 0.95rem; position: relative; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--mint-bright); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--mint-bright); transition: width .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 11px 20px; font-size: 0.9rem; }

.hamburger { display: none; width: 44px; height: 44px; border: none; background: transparent; cursor: pointer; position: relative; }
.hamburger span { display: block; position: absolute; left: 10px; right: 10px; height: 2.5px; background: #fff; border-radius: 3px; transition: .3s; }
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 150px 0 90px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(20,184,166,0.22), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(45,212,191,0.14), transparent 55%),
    linear-gradient(160deg, var(--bg-deep), var(--bg-teal));
  color: #fff; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero-lead { font-size: 1.12rem; color: var(--mint-soft); max-width: 560px; margin-bottom: 16px; }
.hero-def {
  font-size: 0.98rem; color: rgba(255,255,255,0.82); max-width: 560px; margin-bottom: 30px;
  border-left: 3px solid var(--mint); padding-left: 16px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats .stat b { font-size: 1.7rem; color: var(--mint-bright); display: block; }
.hero-stats .stat span { font-size: 0.85rem; color: rgba(255,255,255,0.75); }

/* Floating dashboard mockup */
.hero-visual { position: relative; }
.mockup {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px; padding: 14px; backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md); animation: float 6s ease-in-out infinite;
}
.mockup-bar { display: flex; gap: 7px; padding: 6px 8px 12px; }
.mockup-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.3); display: block; }
.mockup-screen { border-radius: 12px; overflow: hidden; background: var(--bg-deep); }
.mockup-screen .m-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mockup-screen .m-top b { color: var(--mint-bright); font-size: 0.9rem; }
.mockup-screen .m-top span { font-size: 0.7rem; color: rgba(255,255,255,0.6); }
.m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; }
.m-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 12px; }
.m-card b { display: block; color: var(--mint-bright); font-size: 1.3rem; }
.m-card span { font-size: 0.66rem; color: rgba(255,255,255,0.65); }
.m-rows { padding: 0 16px 16px; display: grid; gap: 8px; }
.m-row { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.04); border-radius: 8px; padding: 9px 12px; }
.m-row i { width: 26px; height: 26px; border-radius: 7px; background: rgba(20,184,166,0.25); display: block; flex-shrink: 0; }
.m-row .l1 { height: 8px; background: rgba(255,255,255,0.22); border-radius: 4px; flex: 1; }
.m-row .l2 { height: 8px; width: 40px; background: rgba(20,184,166,0.4); border-radius: 4px; }

.hero-badge {
  position: absolute; z-index: 3; background: #fff; color: var(--ink); border-radius: 14px;
  padding: 12px 16px; box-shadow: var(--shadow-md); font-weight: 700; font-size: 0.85rem;
  display: flex; align-items: center; gap: 9px; white-space: nowrap;
}
.hero-badge svg { width: 22px; height: 22px; color: var(--mint); }
.hero-badge.b1 { top: -30px; left: 8px; animation: float 5s ease-in-out infinite; }
.hero-badge.b2 { top: -30px; right: 8px; animation: float 7s ease-in-out infinite 0.5s; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.wave-divider { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.wave-divider svg { width: 100%; height: 70px; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--bg-deep); color: #fff; padding: 20px 0; }
.trustbar-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 34px; }
.trust-item { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 0.92rem; color: var(--mint-soft); }
.trust-item svg { width: 20px; height: 20px; color: var(--mint-bright); flex-shrink: 0; }
.trust-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); opacity: 0.5; }

/* ---------- Problem / Solution ---------- */
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.ps-card { border-radius: var(--radius); padding: 32px; }
.ps-card h3 { margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.ps-card.prob { background: #fff5f4; border: 1px solid #ffdedb; }
.ps-card.prob h3 { color: #d64545; }
.ps-card.sol { background: #eefbf8; border: 1px solid #c7f0e8; }
.ps-card.sol h3 { color: var(--bg-teal); }
.ps-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(0,0,0,0.07); align-items: flex-start; }
.ps-list li:last-child { border-bottom: none; }
.ps-list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; }
.ps-card.prob svg { color: #d64545; }
.ps-card.sol svg { color: var(--mint); }

/* ---------- Module category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.cat-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--mint); }
.cat-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(20,184,166,0.16), rgba(45,212,191,0.1));
  color: var(--bg-teal); margin-bottom: 16px; transition: transform .3s;
}
.cat-card:hover .cat-icon { transform: scale(1.1) rotate(-4deg); }
.cat-icon svg { width: 26px; height: 26px; }
.cat-card h3 { margin-bottom: 12px; }
.cat-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.cat-tags span { font-size: 0.78rem; background: rgba(20,184,166,0.09); color: var(--bg-teal); padding: 5px 11px; border-radius: 999px; font-weight: 600; border: 1px solid rgba(20,184,166,0.15); }

/* ---------- Screenshots showcase ---------- */
.shot-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.shot-tab {
  padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 0.9rem; cursor: pointer;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.12);
  transition: .25s;
}
.shot-tab.active { background: var(--mint); color: var(--ink); border-color: var(--mint); }
.shot-stage { max-width: 900px; margin: 0 auto; }
.shot-panel { display: none; animation: fadeUp .5s ease; }
.shot-panel.active { display: block; }
.shot-frame {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px; padding: 12px; box-shadow: var(--shadow-md);
}
.shot-head { display: flex; align-items: center; gap: 12px; padding: 6px 8px 14px; }
.shot-head .dots { display: flex; gap: 6px; }
.shot-head .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.shot-head b { color: var(--mint-bright); font-size: 0.85rem; }
.shot-body { background: var(--bg-deep); border-radius: 12px; padding: 22px; min-height: 300px; }
.shot-body h4 { color: var(--mint-bright); margin-bottom: 6px; }
.shot-body > p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 18px; }
.shot-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px,1fr)); gap: 12px; margin-bottom: 18px; }
.shot-metric { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 14px; }
.shot-metric b { color: var(--mint-bright); font-size: 1.4rem; display: block; }
.shot-metric span { font-size: 0.72rem; color: rgba(255,255,255,0.65); }
.shot-lines { display: grid; gap: 9px; }
.shot-lines .ln { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.04); border-radius: 9px; padding: 11px 14px; }
.shot-lines .ln i { width: 30px; height: 30px; border-radius: 8px; background: rgba(20,184,166,0.25); flex-shrink: 0; }
.shot-lines .ln .bar { height: 9px; background: rgba(255,255,255,0.18); border-radius: 5px; flex: 1; }
.shot-lines .ln .pill { font-size: 0.68rem; color: var(--mint-bright); background: rgba(20,184,166,0.18); padding: 4px 10px; border-radius: 999px; font-weight: 700; }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 22px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: .3s; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-teal); color: var(--mint-bright); margin-bottom: 16px; }
.why-icon svg { width: 25px; height: 25px; }
.why-card h3 { margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; position: relative; }
.step { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 30px; position: relative; }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--mint); color: var(--ink);
  font-weight: 900; display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 18px;
  box-shadow: var(--shadow-glow);
}
.step h3 { color: #fff; margin-bottom: 10px; }
.step p { color: var(--mint-soft); font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.tst-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px,1fr)); gap: 22px; }
.tst-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.tst-stars { color: #f5b301; margin-bottom: 14px; letter-spacing: 2px; }
.tst-card p { font-size: 1rem; margin-bottom: 20px; }
.tst-who { display: flex; align-items: center; gap: 12px; }
.tst-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--mint), var(--bg-teal)); color: #fff; display: grid; place-items: center; font-weight: 800; }
.tst-who b { display: block; font-size: 0.95rem; }
.tst-who span { font-size: 0.82rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; transition: box-shadow .25s; }
.faq-item.open { box-shadow: var(--shadow-sm); border-color: var(--mint); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.faq-q svg { width: 22px; height: 22px; color: var(--mint); flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Final CTA ---------- */
.cta-banner {
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(45,212,191,0.25), transparent 60%),
    linear-gradient(120deg, var(--bg-teal), var(--bg-teal-2));
  border-radius: 26px; padding: 56px; text-align: center; color: #fff; position: relative; overflow: hidden;
}
.cta-banner h2 { margin-bottom: 14px; }
.cta-banner p { color: var(--mint-soft); max-width: 560px; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-addr { margin-top: 26px; font-size: 0.9rem; color: rgba(255,255,255,0.75); display: inline-flex; align-items: center; gap: 8px; }
.cta-addr svg { width: 18px; height: 18px; color: var(--mint-bright); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-deep); color: rgba(255,255,255,0.75); padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.72); font-size: 0.92rem; transition: color .2s; }
.footer-links a:hover { color: var(--mint-bright); }
.footer .brand { margin-bottom: 16px; }
.footer-about p { font-size: 0.92rem; margin-bottom: 16px; max-width: 340px; }
.foot-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.9rem; align-items: flex-start; }
.foot-contact svg { width: 18px; height: 18px; color: var(--mint-bright); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; }

/* ---------- Sticky WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa-green);
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(18,140,75,0.5);
  color: #fff; animation: pulse 2.4s infinite;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 12px 30px rgba(18,140,75,0.5), 0 0 0 0 rgba(18,140,75,0.5); }
  70% { box-shadow: 0 12px 30px rgba(18,140,75,0.5), 0 0 0 18px rgba(18,140,75,0); }
  100% { box-shadow: 0 12px 30px rgba(18,140,75,0.5), 0 0 0 0 rgba(18,140,75,0); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 140px 0 70px; text-align: center; color: #fff;
  background:
    radial-gradient(700px 400px at 80% -10%, rgba(20,184,166,0.22), transparent 60%),
    linear-gradient(160deg, var(--bg-deep), var(--bg-teal));
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { color: var(--mint-soft); max-width: 620px; margin: 0 auto; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--mint-bright); }

/* ---------- Modules page search/filter ---------- */
.mod-controls { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 34px; }
.mod-search { position: relative; flex: 1; max-width: 380px; min-width: 240px; }
.mod-search input {
  width: 100%; padding: 13px 16px 13px 44px; border-radius: 999px; border: 1px solid var(--line);
  font-family: var(--font); font-size: 0.95rem; outline: none; transition: border-color .2s, box-shadow .2s;
}
.mod-search input:focus { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(20,184,166,0.12); }
.mod-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.mod-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.mod-filter { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: .2s; color: var(--muted); }
.mod-filter.active, .mod-filter:hover { background: var(--bg-teal); color: #fff; border-color: var(--bg-teal); }

.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 18px; }
.mod-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; transition: .3s; }
.mod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--mint); }
.mod-card .m-ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(20,184,166,0.12); color: var(--bg-teal); display: grid; place-items: center; margin-bottom: 14px; }
.mod-card .m-ic svg { width: 22px; height: 22px; }
.mod-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.mod-card p { font-size: 0.88rem; color: var(--muted); }
.mod-card .m-cat { display: inline-block; margin-top: 12px; font-size: 0.72rem; font-weight: 700; color: var(--mint); text-transform: uppercase; letter-spacing: 0.05em; }
.mod-empty { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 40px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 7px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line);
  font-family: var(--font); font-size: 0.95rem; outline: none; transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(20,184,166,0.12); }
.form-row textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 12px; text-align: center; }
.info-card { background: var(--bg-teal); color: #fff; border-radius: var(--radius); padding: 30px; margin-bottom: 22px; }
.info-card h3 { color: #fff; margin-bottom: 20px; }
.info-line { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.info-line svg { width: 22px; height: 22px; color: var(--mint-bright); flex-shrink: 0; margin-top: 2px; }
.info-line b { display: block; font-size: 0.95rem; }
.info-line span { font-size: 0.9rem; color: var(--mint-soft); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 280px; border: 0; display: block; }

/* ---------- Feature detail ---------- */
.feat-block { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 30px; }
.feat-block:nth-child(even) .feat-media { order: -1; }
.feat-list li { display: flex; gap: 12px; padding: 9px 0; align-items: flex-start; }
.feat-list svg { width: 20px; height: 20px; color: var(--mint); flex-shrink: 0; margin-top: 3px; }
.feat-media {
  background: linear-gradient(135deg, var(--bg-teal), var(--bg-teal-2)); border-radius: var(--radius);
  padding: 30px; color: #fff; box-shadow: var(--shadow-md);
}
.feat-media .fm-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.feat-media .fm-tile { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 16px; }
.feat-media .fm-tile svg { width: 26px; height: 26px; color: var(--mint-bright); margin-bottom: 8px; }
.feat-media .fm-tile b { font-size: 0.92rem; display: block; }
.feat-media .fm-tile span { font-size: 0.75rem; color: var(--mint-soft); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .4s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .ps-grid, .contact-grid, .feat-block { grid-template-columns: 1fr; }
  .feat-block:nth-child(even) .feat-media { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { max-width: 480px; margin: 10px auto 0; }
  .nav-links, .nav-cta .btn-secondary-desktop { display: none; }
  .hamburger { display: block; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(7,40,38,0.97); backdrop-filter: blur(14px); padding: 20px; gap: 6px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.mobile-open a { padding: 12px 4px; width: 100%; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .cta-banner { padding: 36px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .m-cards { grid-template-columns: repeat(3,1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
