/* ===========================================================
   North India Developers — Corporate site stylesheet
   Infrastructure & Municipal Services · Navy + Safety Amber
   =========================================================== */

:root {
  --navy-900: #0b1f3a;
  --navy-800: #102a4c;
  --navy-700: #16365f;
  --navy-600: #1d4373;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-50:  #eff5ff;
  --amber:    #f59e0b;
  --amber-600:#d97706;
  --amber-50: #fff7e6;
  --ink:      #0f1a2b;
  --body:     #374151;
  --muted:    #64748b;
  --line:     #e5e9f0;
  --bg:       #ffffff;
  --bg-soft:  #f5f8fc;
  --radius:   14px;
  --shadow-sm:0 1px 3px rgba(11, 31, 58, .08);
  --shadow:   0 12px 32px rgba(11, 31, 58, .14);
  --maxw:     1180px;
  --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--body); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: var(--blue-500); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--amber-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 700; }

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

.section { padding: 76px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy-900); }
.section--navy .section__title, .section--navy h3 { color: #fff; }
.section--navy .section__sub, .section--navy p { color: #c4d3e8; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section__eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; font-weight: 700; color: var(--amber-600);
  background: var(--amber-50); padding: 6px 14px; border-radius: 6px; margin-bottom: 16px;
}
.section__title { font-size: clamp(1.7rem, 3.2vw, 2.55rem); margin-bottom: 14px; }
.section__sub { color: var(--muted); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 8px;
  font-weight: 600; font-size: .98rem; cursor: pointer; border: 2px solid transparent; transition: all .2s ease;
  overflow: hidden; position: relative;
}
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 0 38%, rgba(255,255,255,.45) 48%, transparent 58%); transform: translateX(-120%); transition: transform .55s ease; }
.btn:hover::after { transform: translateX(120%); }
.btn--primary { background: var(--amber); color: var(--navy-900); }
.btn--primary:hover { background: var(--amber-600); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-900); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn--ghost:hover { background: #fff; color: var(--navy-800); }

/* ---------- Initial loader ---------- */
.site-loader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #eff5ff 54%, #fff7e6 100%);
  transition: opacity .45s ease, visibility .45s ease;
}
.site-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.site-loader__card { display: grid; justify-items: center; gap: 18px; padding: 32px; text-align: center; }
.site-loader__logo {
  width: 96px; height: 96px; border-radius: 22px; background: #fff url("../images/images.jpeg") center / contain no-repeat;
  box-shadow: 0 18px 45px rgba(11,31,58,.14); border: 1px solid var(--line);
  animation: loaderFloat 1.6s ease-in-out infinite;
}
.site-loader__text { color: var(--navy-900); font-weight: 800; letter-spacing: .02em; }
.site-loader__bar { width: 172px; height: 4px; overflow: hidden; border-radius: 999px; background: #d7e3f5; }
.site-loader__bar span { display: block; width: 42%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #28b487, #0f6f95); animation: loaderBar 1.2s ease-in-out infinite; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #b9cae3; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 22px; }
.topbar a { color: #d7e3f5; }
.topbar a:hover { color: #fff; }
.topbar__contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__links { display: flex; gap: 18px; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.98);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, background .25s ease;
}
.header.is-scrolled { background: rgba(255,255,255,.94); box-shadow: 0 14px 34px rgba(11,31,58,.13); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 0 0 auto; }
.brand__logo {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 10px;
  background: #fff url("../images/images.jpeg") center / contain no-repeat;
  display: grid; place-items: center; color: transparent; font-weight: 800; font-size: 0;
  box-shadow: var(--shadow-sm); border: 2px solid #e8eef5;
}
.brand__name { min-width: 0; font-weight: 800; color: var(--ink); font-size: .98rem; line-height: 1.08; letter-spacing: .01em; white-space: nowrap; }
.brand__name span { display: block; font-size: .62rem; font-weight: 600; color: var(--amber-600); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

.menu { display: flex; align-items: center; justify-content: flex-end; flex-wrap: nowrap; gap: 2px; list-style: none; min-width: 0; flex: 1 1 auto; }
.menu > li { position: relative; }
.menu > li > a {
  display: inline-flex; align-items: center; gap: 5px; padding: 10px 9px; border-radius: 8px;
  color: var(--ink); font-weight: 600; font-size: .9rem; line-height: 1.1; white-space: nowrap;
}
.menu > li > a:hover, .menu > li.active > a { color: var(--navy-800); background: var(--blue-50); }

.dropdown__panel {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; list-style: none;
}
.menu > li:hover .dropdown__panel, .dropdown.open .dropdown__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown__panel a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--body); font-size: .92rem; font-weight: 500; }
.dropdown__panel a:hover { background: var(--blue-50); color: var(--navy-800); }
.caret { font-size: .62rem; transition: transform .2s ease; }
.menu > li:hover .caret { transform: rotate(180deg); }

.nav__cta { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(115deg, rgba(11,31,58,.95) 40%, rgba(29,67,115,.85)),
    radial-gradient(900px 400px at 85% -10%, rgba(245,158,11,.28), transparent 60%),
    var(--navy-900);
}
.hero--editable { background-size: cover; background-position: center; }
.hero::after { content:""; position:absolute; inset:0; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px); pointer-events:none; }
.hero::before { content:""; position:absolute; width: 420px; height: 420px; right: -120px; bottom: -180px; background: radial-gradient(circle, rgba(245,158,11,.22), transparent 68%); animation: pulseGlow 5s ease-in-out infinite; pointer-events:none; }
.hero__inner { position: relative; z-index: 1; padding: 96px 0 104px; max-width: 780px; animation: heroRise .75s ease both; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(245,158,11,.18); color: #ffd98a; padding: 7px 16px; border-radius: 6px; font-size: .82rem; font-weight: 600; letter-spacing: .03em; margin-bottom: 22px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.5rem); margin-bottom: 18px; line-height: 1.08; }
.hero .tag { color: var(--amber); font-weight: 700; }
.hero p { font-size: 1.16rem; color: #d4e0f0; margin-bottom: 32px; max-width: 640px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* page hero */
.pagehero { color: #fff; padding: 62px 0 54px; background: linear-gradient(115deg, rgba(11,31,58,.96), rgba(29,67,115,.9)), var(--navy-900); position: relative; }
.pagehero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 10px; }
.breadcrumb { font-size: .9rem; color: #b9cae3; }
.breadcrumb a { color: #b9cae3; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); border-top: 3px solid var(--amber); }
.stat__num { font-size: 2.2rem; font-weight: 800; color: var(--navy-800); }
.stat__label { color: var(--muted); font-size: .92rem; margin-top: 4px; }

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

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(245,158,11,.42); }
.card__icon { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; font-size: 1.5rem; background: var(--blue-50); color: var(--navy-700); margin-bottom: 18px; }
.card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }

/* service card with list */
.service-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow:hidden; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; display:flex; flex-direction:column; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(245,158,11,.42); }
.service-card__top { padding: 26px 26px 0; }
.service-card__icon { width:58px; height:58px; border-radius:12px; display:grid; place-items:center; font-size:1.6rem; background: var(--navy-800); color: var(--amber); margin-bottom:16px; }
.service-card h3 { font-size:1.2rem; margin-bottom:10px; }
.service-card p { color: var(--muted); font-size:.95rem; }
.service-card__list { list-style:none; padding: 14px 26px 28px; margin-top: 8px; display:grid; gap:9px; }
.service-card__list li { display:flex; gap:10px; align-items:flex-start; font-size:.93rem; color: var(--body); }
.service-card__list li::before { content:"▸"; color: var(--amber-600); font-weight:800; }

/* ---------- Split / content rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.media-block { border-radius: var(--radius); min-height: 320px; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); display: grid; place-items: center; color: var(--amber); font-size: 3.6rem; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.05); transition: transform .35s ease, box-shadow .35s ease; }
.media-block:hover { transform: translateY(-6px) scale(1.015); box-shadow: 0 18px 44px rgba(11,31,58,.2); }
.lead { font-size: 1.12rem; color: var(--body); }
.prose p { margin-bottom: 16px; }
.prose h2 { margin: 28px 0 12px; font-size: 1.5rem; }
.prose h3 { margin: 22px 0 10px; font-size: 1.2rem; color: var(--navy-700); }
.prose ul { margin: 0 0 16px 20px; }
.prose li { margin-bottom: 8px; }

/* checklist */
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 6px; background: var(--amber-50); color: var(--amber-600); display: grid; place-items: center; font-weight: 800; font-size: .85rem; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 28px 20px; box-shadow: var(--shadow-sm); position: relative; transition: transform .28s ease, box-shadow .28s ease; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step__num { width: 46px; height: 46px; border-radius: 10px; background: var(--navy-800); color: var(--amber); font-weight: 800; font-size: 1.1rem; display: grid; place-items: center; margin-bottom: 14px; }
.step h4 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .9rem; }

/* ---------- Leadership ---------- */
.leader { display:grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.leader__photo { width: 200px; height: 200px; border-radius: 16px; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); color: var(--amber); display:grid; place-items:center; font-size: 3.2rem; font-weight: 800; }
.leader blockquote { font-size: 1.12rem; font-style: italic; color: var(--navy-800); border-left: 4px solid var(--amber); padding-left: 18px; margin: 14px 0; }
.leader .sign { font-weight: 700; color: var(--navy-900); }
.leader .sign small { display:block; font-weight:500; color: var(--muted); }

/* info table */
.info-table { width:100%; border-collapse: collapse; background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); }
.info-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .96rem; vertical-align: top; }
.info-table tr:last-child td { border-bottom: none; }
.info-table td:first-child { font-weight: 700; color: var(--navy-800); width: 38%; background: var(--bg-soft); }

/* ---------- Clients / areas chips ---------- */
.chips { display:flex; flex-wrap:wrap; gap:12px; }
.chip { background:#fff; border:1px solid var(--line); border-radius: 999px; padding: 10px 20px; font-weight:600; font-size:.92rem; color: var(--navy-800); box-shadow: var(--shadow-sm); }
.chip--amber { background: var(--amber-50); border-color: #fde7bd; color: var(--amber-600); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; position: relative; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); color: var(--amber); display: grid; place-items: center; text-align: center; padding: 14px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.gallery-item:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow); }
.gallery-item img { transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item span { font-size: 2.2rem; }
.gallery-item small { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(11,31,58,.75); color:#fff; padding: 8px; font-size: .8rem; }
.gallery-item img, .media-block img, .card__icon img, .service-card__image, .leader__photo--image { width: 100%; height: 100%; object-fit: cover; }
.media-block--image { padding: 0; overflow: hidden; background: var(--navy-900); }
.card__icon--image { overflow: hidden; padding: 0; background: var(--blue-50); }
.card__icon--image img { object-fit: contain; padding: 6px; }
.service-card__image { height: 210px; border-bottom: 1px solid var(--line); }
.leader__photo--image { display: block; color: transparent; font-size: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.info-card { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.info-card .ic { width: 48px; height: 48px; flex: none; border-radius: 10px; background: var(--navy-800); color: var(--amber); display: grid; place-items: center; font-size: 1.3rem; }
.info-card h4 { margin-bottom: 4px; }
.info-card p { color: var(--muted); font-size: .95rem; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); border-top: 3px solid var(--amber); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; color: var(--ink); background: #fff; transition: border .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(37,99,235,.14); }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.map-embed { border: 0; width: 100%; height: 320px; border-radius: var(--radius); margin-top: 30px; box-shadow: var(--shadow-sm); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(115deg, var(--navy-800), var(--navy-900)); color: #fff; text-align: center; border-radius: 18px; padding: 56px 30px; position: relative; overflow: hidden; }
.cta-band::before { content:""; position:absolute; right:-40px; top:-40px; width:200px; height:200px; background: rgba(245,158,11,.18); border-radius:50%; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 12px; position: relative; }
.cta-band p { color: #cdd9ec; max-width: 580px; margin: 0 auto 26px; position: relative; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #b9cae3; padding: 60px 0 0; }
.footer a { color: #b9cae3; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.4fr; gap: 36px; padding-bottom: 40px; }
.footer h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; }
.footer ul { list-style: none; display: grid; gap: 10px; font-size: .92rem; }
.footer__brand p { font-size: .92rem; margin-top: 14px; max-width: 330px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; text-align: center; font-size: .85rem; color: #8ba4c4; }

/* ---------- Admin panel ---------- */
.admin-page { background: var(--bg-soft); }
.admin-shell { min-height: 100vh; }
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 26px; margin-bottom: 22px; }
.admin-card--login { width: min(100%, 440px); }
.admin-card h1, .admin-card h2, .admin-card h3 { margin-bottom: 12px; }
.admin-panel { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; background: #fff; border-right: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 28px; }
.admin-nav { display: grid; gap: 10px; }
.admin-nav button, .admin-actions button { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 11px 13px; border-radius: 8px; cursor: pointer; font: inherit; font-weight: 600; text-align: left; }
.admin-nav button.active, .admin-nav button:hover, .admin-actions button:hover { background: var(--blue-50); color: var(--navy-800); }
.admin-logout { margin-top: auto; justify-content: center; }
.admin-content { padding: 30px; max-width: 1120px; width: 100%; }
.admin-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 26px; }
.admin-top h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 6px; }
.admin-tab { display: none; }
.admin-tab.active { display: block; }
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.admin-row, .admin-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.admin-row select { flex: 1; min-width: 220px; }
.admin-toolbar { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.admin-toolbar .field { min-width: 240px; margin-bottom: 0; }
.admin-section__head { display: flex; justify-content: space-between; gap: 14px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 18px; }
.admin-section__head span { display: block; color: var(--muted); font-size: .88rem; margin-top: 3px; }
.admin-items { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.admin-items__head, .admin-item__head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 14px; }
.admin-items__head h3 { margin-bottom: 0; }
.admin-items__head button { border: 1px solid var(--line); background: var(--navy-800); color: #fff; padding: 10px 14px; border-radius: 8px; cursor: pointer; font: inherit; font-weight: 700; }
.admin-item { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin-bottom: 14px; }
.admin-item__head strong { color: var(--navy-800); }
.admin-check { display: flex; gap: 10px; align-items: center; padding: 12px 0; font-weight: 600; color: var(--ink); }
.admin-check input { width: auto; }
.admin-add { border-style: dashed; }
.admin-page textarea, .admin-page input, .admin-page select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; color: var(--ink); background: #fff; }
.admin-page textarea:focus, .admin-page input:focus, .admin-page select:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(37,99,235,.14); }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .nav__cta { display: none; }
  .menu > li > a { padding: 10px 10px; font-size: .91rem; }
}

@media (max-width: 1120px) {
  .nav__toggle { display: flex; }
  .nav { position: relative; }
  .brand { flex: 1 1 auto; }
  .menu {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; flex-wrap: nowrap;
    background:#fff; padding:14px 22px; gap:4px; border-bottom:1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-130%); opacity: 0; pointer-events: none;
    transition: transform .3s ease, opacity .25s ease; z-index:99; max-height: calc(100vh - var(--header-h)); overflow-y:auto;
  }
  .menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .menu > li > a { width: 100%; justify-content: space-between; padding: 12px 14px; font-size: .96rem; }
  .dropdown__panel { position: static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:none; min-width:0; padding: 4px 4px 4px 16px; display:none; }
  .dropdown.open .dropdown__panel { display:block; }
}

@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .leader { grid-template-columns: 1fr; text-align:center; }
  .leader__photo { margin: 0 auto; }
  .admin-panel { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .admin-content { padding: 22px; }
  .admin-grid, .admin-toolbar { grid-template-columns: 1fr; display: grid; }
  .admin-top { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  .topbar { display: none; }
  .grid--2, .grid--3, .grid--4, .steps { grid-template-columns: 1fr; }
}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; transition-delay: var(--reveal-delay, 0ms); }
.reveal.in { opacity: 1; transform: none; }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(.95); opacity: .75; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes loaderFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.03); }
}

@keyframes loaderBar {
  0% { transform: translateX(-110%); }
  50% { transform: translateX(75%); }
  100% { transform: translateX(250%); }
}

@media (max-width: 520px) {
  :root { --header-h: 70px; }
  .container { padding: 0 16px; }
  .brand__logo { width: 40px; height: 40px; flex-basis: 40px; }
  .brand__name { font-size: .88rem; }
  .brand__name span { font-size: .56rem; letter-spacing: .05em; }
  .hero__inner { padding: 72px 0 82px; }
  .section { padding: 58px 0; }
  .stats { grid-template-columns: 1fr; }
}

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