﻿/*
Theme Name: Medi ERP
Theme URI: https://medierp.in/
Author: Medi ERP
Author URI: https://medierp.in/
Description: Marketing theme for Medi ERP hospital software. Homepage, pricing, modules, and contact are editable from the page editor (not Customizer-only).
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: medierp
License: GNU General Public License v2 or later
*/
:root {
  --ink: #102a2c;
  --muted: #4b625f;
  --teal: #0f766e;
  --teal-dark: #115e59;
  --paper: #f4f7f6;
  --white: #ffffff;
  --line: #d7e3df;
  --gold: #9a6b2f;
  --max: 1120px;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 17px;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal-dark); }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip-link {
  position: absolute; left: -999px; top: 8px;
}
.skip-link:focus { left: 12px; background: #fff; padding: 8px 12px; z-index: 20; }

.topbar {
  background: var(--ink);
  color: #d7e3df;
  font-size: 14px;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar-inner {
  display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center;
  padding: 8px 0;
}
.topbar-hours { margin-left: auto; color: #9fb5b1; }
.navbar { border-bottom: 1px solid var(--line); background: #fff; }
.navbar-inner {
  display: flex; align-items: center; gap: 20px; min-height: 76px;
}
.brand img, .custom-logo { display: block; height: 48px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav .menu {
  display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0;
}
.site-nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px;
}
.site-nav .current-menu-item > a,
.site-nav a:hover { color: var(--teal); }
.nav-toggle { display: none; }
.btn-nav { white-space: nowrap; }
.notice-bar {
  background: #ecfdf5; color: var(--teal-dark);
  text-align: center; padding: 10px 16px; font-size: 14.5px; font-weight: 600;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 18px; border-radius: 4px; font-weight: 700;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; font-size: 15px;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.hero .btn-ghost { color: #fff; }
.btn-light { background: #fff; color: var(--teal-dark); border-color: var(--line); }
.kicker {
  letter-spacing: .12em; text-transform: uppercase; font-size: 12px;
  font-weight: 700; color: var(--teal); margin: 0 0 8px;
}
.kicker.light { color: #99f6e4; }

.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-slide {
  display: none; min-height: 520px;
  background:
    linear-gradient(90deg, rgba(16,42,44,.94) 0%, rgba(16,42,44,.72) 46%, rgba(15,118,110,.35) 100%),
    var(--hero-image, none) center/cover no-repeat,
    radial-gradient(circle at 80% 20%, #0f766e 0%, #102a2c 55%);
  padding: 72px 0 96px;
}
.hero-slide.is-active { display: block; }
.hero-copy { max-width: 640px; }
.hero h1, h1, h2, h3 {
  font-family: Fraunces, Georgia, serif; font-weight: 680; letter-spacing: -.02em;
}
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.12; margin: 0 0 16px; }
.lead, .hero .lead { font-size: 18.5px; color: #d7e3df; margin: 0 0 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-nav {
  position: absolute; left: 0; right: 0; bottom: 20px;
  display: flex; align-items: center; gap: 12px; color: #fff;
}
.hero-nav button {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35);
  padding: 6px 12px; cursor: pointer;
}
.hero-dots { display: flex; gap: 8px; }
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%; padding: 0; border: 0; background: rgba(255,255,255,.35);
}
.hero-dots button.is-active { background: #fff; }

.section { padding: 72px 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--ink); color: #e7eeec; }
.section-dark h2 { color: #fff; }
.section h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 12px; }
.section-lead { max-width: 640px; color: var(--muted); margin: 0 0 32px; }

.plan-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.plan-card {
  background: #fff; border: 1px solid var(--line); padding: 22px 20px;
  display: flex; flex-direction: column; min-height: 100%;
}
.plan-card h3 { margin: 0 0 6px; font-size: 22px; }
.plan-who { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.plan-price { font-size: 28px; font-family: Fraunces, Georgia, serif; margin: 0; }
.plan-price span { font-size: 14px; font-family: "Source Sans 3", sans-serif; color: var(--muted); font-weight: 600; }
.plan-sub { font-size: 13.5px; color: var(--muted); margin: 4px 0 14px; }
.plan-card ul { margin: 0 0 18px; padding: 0 0 0 16px; color: var(--ink); font-size: 14.5px; flex: 1; }
.plan-card li { margin: 0 0 6px; }
.plan-card-accent { border-color: var(--teal); background: #f0fdfa; }

.mod-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.mod-card {
  background: #fff; border-top: 3px solid var(--teal); padding: 16px 16px 18px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line);
}
.mod-card h3 { font-size: 18px; margin: 0 0 8px; }
.mod-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.center-link { text-align: center; margin: 28px 0 0; font-weight: 700; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.three h3 { margin: 0 0 8px; font-size: 22px; }
.three p { margin: 0; color: var(--muted); }
.comp-list { columns: 1; max-width: 760px; padding-left: 18px; }
.comp-list li { margin: 0 0 10px; }

.client-list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  list-style: none; margin: 0; padding: 0;
}
.client-list li {
  border: 1px solid var(--line); padding: 16px; background: #fff; font-weight: 600;
}
.client-list-lg { grid-template-columns: repeat(2, 1fr); }

.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
blockquote {
  margin: 0; background: #fff; padding: 20px; border-left: 4px solid var(--teal);
}
blockquote p { margin: 0 0 14px; }
blockquote footer { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }

.cta-band { background: var(--teal); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.cta-band p { color: #ccfbf1; max-width: 520px; }

.page-hero {
  background: var(--ink); color: #fff; padding: 56px 0 48px;
}
.page-hero .lead { color: #d7e3df; max-width: 640px; }
.page-body { padding: 48px 0 72px; }
.prose { max-width: 720px; }
.prose h2 { font-size: 28px; }
.about-prose { max-width: 760px; }

.contact-layout, .two-col {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start;
}
.contact-aside { background: var(--paper); padding: 24px; }
.briefing-form .form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.briefing-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; margin: 0 0 12px; }
.briefing-form input, .briefing-form select, .briefing-form textarea {
  font: inherit; padding: 10px 12px; border: 1px solid var(--line); width: 100%;
}
.form-status { margin-top: 12px; font-weight: 600; }
.form-status.is-ok { color: var(--teal-dark); }
.form-status.is-err { color: #b42318; }

.post-tease { border-bottom: 1px solid var(--line); padding: 0 0 24px; margin: 0 0 24px; }
.post-tease h2 { margin: 0 0 6px; }
.muted { color: var(--muted); }

.site-footer { background: #0b1f21; color: #c5d4d1; padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 36px; }
.site-footer h3 { color: #fff; font-size: 16px; margin: 0 0 10px; font-family: "Source Sans 3", sans-serif; }
.site-footer a { color: #e7eeec; }
.site-footer .menu { list-style: none; margin: 0; padding: 0; }
.site-footer .menu li { margin: 0 0 6px; }
.footer-copy {
  border-top: 1px solid #1d3533; padding: 14px 0 22px; font-size: 13px; color: #8aa19c;
}

@media (max-width: 980px) {
  .plan-grid, .mod-grid { grid-template-columns: repeat(2, 1fr); }
  .three, .quote-grid, .footer-grid, .contact-layout, .two-col { grid-template-columns: 1fr; }
  .client-list { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .topbar-hours { margin-left: 0; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .btn-nav { display: none; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px; }
  .navbar { position: relative; }
  .site-nav.is-open { display: block; }
  .site-nav .menu { flex-direction: column; }
  .plan-grid, .mod-grid, .client-list, .briefing-form .form-grid { grid-template-columns: 1fr; }
  .hero-slide { min-height: 460px; padding: 48px 0 88px; }
}

