/*
Theme Name: ISSR
Template: generatepress
Description: Lean child theme for issr.co.in — Indian School of Space and Robotics.
Version: 1.0.0
Text Domain: issr
*/

:root {
  --navy: #071427;
  --navy-2: #0c1d38;
  --navy-3: #13284a;
  --blue: #1373fe;
  --blue-d: #0a5ad6;
  --blue-l: #e8f1ff;
  --ink: #0b1526;
  --ink-2: #3a4658;
  --ink-3: #6b7689;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-2: #f5f7fa;
  --radius: 10px;
  --wrap: 1180px;
  --f-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- base ---------- */
body { font-family: var(--f-body); color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--f-head); color: inherit; letter-spacing: -0.02em; line-height: 1.15; font-weight: 600; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-d); }
img, video { max-width: 100%; height: auto; display: block; }
::selection { background: var(--blue); color: #fff; }

/* GeneratePress resets: full-bleed pages, no titles/containers */
.page .site.grid-container, .home .site.grid-container { max-width: none; }
.page .site-content, .one-container .site-content { padding: 0; }
.page .inside-article { padding: 0; }
.page .entry-header { display: none; }
.page .entry-content { margin-top: 0; }
.page .site-main { margin: 0; }
.separate-containers .inside-article { padding: 0; }
.entry-content > * { margin-bottom: 0; }

/* ---------- header ---------- */
.site-header { background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.admin-bar .site-header { top: 32px; }
.inside-header { max-width: var(--wrap); padding: 14px 24px; }
.site-logo img, .custom-logo { height: 34px; width: auto; }
.main-navigation, .main-navigation ul ul { background: transparent; }
.main-navigation .main-nav ul li a { font-family: var(--f-head); font-size: 14.5px; font-weight: 500; color: var(--ink-2); padding-left: 14px; padding-right: 14px; line-height: 44px; }
.main-navigation .main-nav ul li:hover > a, .main-navigation .main-nav ul li.current-menu-item > a { color: var(--blue); background: transparent; }
.main-navigation .main-nav ul li.issr-nav-cta > a { background: var(--navy); color: #fff; border-radius: 999px; line-height: 40px; margin-left: 10px; padding: 0 20px; }
.main-navigation .main-nav ul li.issr-nav-cta > a:hover { background: var(--blue); color: #fff; }
.site-header .menu-toggle, .site-header .menu-toggle:hover, .site-header .menu-toggle:focus { color: var(--ink) !important; background: transparent !important; font-size: 22px; padding: 0 6px; line-height: 44px; }
.main-navigation.toggled .main-nav > ul { background: #fff; border-top: 1px solid var(--line); padding: 8px 0 16px; }
.main-navigation.toggled .main-nav ul li a { line-height: 48px; padding-left: 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
.main-navigation.toggled .main-nav ul li.issr-nav-cta > a { border-bottom: 0; text-align: center; margin: 14px 0 0; padding: 0 20px; color: #fff; }

/* ---------- layout primitives ---------- */
.issr-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.issr-sec { padding: clamp(64px, 9vw, 112px) 0; }
.issr-sec--tight { padding: clamp(44px, 6vw, 72px) 0; }
.issr-sec--alt { background: var(--bg-2); }
.issr-sec--dark { background: var(--navy); color: #c9d3e3; }
.issr-sec--dark h2, .issr-sec--dark h3 { color: #fff; }
.issr-sec + .issr-sec:not(.issr-sec--alt):not(.issr-sec--dark) { border-top: 1px solid var(--line); }
.issr-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.issr-head p { color: var(--ink-2); font-size: 1.08rem; }
.issr-sec--dark .issr-head p { color: #a9b6cb; }
.issr-eyebrow { display: inline-block; font-family: var(--f-head); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.issr-sec--dark .issr-eyebrow, .issr-hero .issr-eyebrow { color: #6aa5ff; }
.issr-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.issr-split--center { align-items: center; }
.issr-muted { color: var(--ink-3); font-size: .92rem; }

/* ---------- buttons ---------- */
.issr-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.issr-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 600; font-size: 15px; padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent; transition: background .18s, color .18s, border-color .18s, transform .18s; line-height: 1; }
.issr-btn:hover { transform: translateY(-1px); }
.issr-btn--primary { background: var(--blue); color: #fff; }
.issr-btn--primary:hover { background: var(--blue-d); color: #fff; }
.issr-btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.issr-btn--ghost:hover { border-color: #fff; color: #fff; }
.issr-btn--dark { background: var(--navy); color: #fff; }
.issr-btn--dark:hover { background: var(--blue); color: #fff; }
.issr-btn--line { border-color: var(--line); color: var(--ink); background: #fff; }
.issr-btn--line:hover { border-color: var(--ink); color: var(--ink); }
.issr-link { font-family: var(--f-head); font-weight: 600; font-size: 14.5px; display: inline-flex; gap: 6px; align-items: center; }
.issr-link::after { content: "→"; transition: transform .18s; }
.issr-link:hover::after { transform: translateX(3px); }

/* ---------- hero ---------- */
.issr-hero { position: relative; background: var(--navy); color: #c9d3e3; overflow: hidden; isolation: isolate; }
.issr-hero__media { position: absolute; inset: 0; z-index: -2; }
.issr-hero__media video, .issr-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.issr-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,20,39,.94) 0%, rgba(7,20,39,.78) 48%, rgba(7,20,39,.35) 100%); }
.issr-hero__in { padding: clamp(88px, 13vw, 168px) 0 clamp(72px, 10vw, 128px); max-width: 760px; }
.issr-hero h1 { color: #fff; }
.issr-hero p.issr-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #b8c4d8; max-width: 620px; }
.issr-hero--page .issr-hero__in { padding: clamp(72px, 10vw, 128px) 0 clamp(56px, 8vw, 96px); }
.issr-hero--plain::before { background: radial-gradient(120% 140% at 85% 10%, #10264a 0%, var(--navy) 60%); }

/* ---------- proof strip ---------- */
.issr-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.issr-stat { padding: 28px 24px 4px 0; }
.issr-stat b { display: block; font-family: var(--f-head); font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: #fff; font-weight: 600; letter-spacing: -0.02em; }
.issr-stat span { font-size: .92rem; color: #93a2ba; }
.issr-stats--light { border-top-color: var(--line); }
.issr-stats--light .issr-stat b { color: var(--ink); }
.issr-stats--light .issr-stat span { color: var(--ink-3); }

/* ---------- cards ---------- */
.issr-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.issr-cards--3 { grid-template-columns: repeat(3, 1fr); }
.issr-cards--2 { grid-template-columns: repeat(2, 1fr); }
.issr-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.issr-card { color: inherit; }
a.issr-card:hover { border-color: var(--blue); box-shadow: 0 14px 34px -18px rgba(7,20,39,.35); transform: translateY(-2px); color: inherit; }
.issr-card__k { font-family: var(--f-head); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--ink-3); text-transform: uppercase; margin-bottom: 18px; }
.issr-card h3 { margin-bottom: .45em; }
.issr-card p { color: var(--ink-2); font-size: .98rem; flex: 1; }
.issr-card .issr-link { margin-top: 8px; }
.issr-sec--dark .issr-card { background: var(--navy-2); border-color: var(--navy-3); }
.issr-sec--dark .issr-card p { color: #a9b6cb; }
.issr-sec--dark .issr-card h3 { color: #fff; }

/* ---------- program / offer rows ---------- */
.issr-rows { border-top: 1px solid var(--line); }
.issr-row { display: grid; grid-template-columns: minmax(220px, 1fr) 1.7fr 184px; gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.issr-row h3 { margin-bottom: .35em; }
.issr-row > .issr-btn { justify-self: end; }
.issr-row p { color: var(--ink-2); margin: 0; }
.issr-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.issr-chip { font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--blue-l); color: var(--blue-d); }
.issr-chip--muted { background: var(--bg-2); color: var(--ink-2); }

/* ---------- lists ---------- */
.issr-ticks { list-style: none; margin: 0; padding: 0; }
.issr-ticks li { position: relative; padding: 9px 0 9px 28px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.issr-ticks li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.issr-sec--dark .issr-ticks li { border-bottom-color: var(--navy-3); color: #b8c4d8; }
.issr-steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.issr-step { counter-increment: s; padding-top: 20px; border-top: 2px solid var(--blue); }
.issr-step::before { content: "0" counter(s); font-family: var(--f-head); font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: .1em; display: block; margin-bottom: 10px; }
.issr-step p { color: var(--ink-2); font-size: .98rem; }

/* ---------- media ---------- */
.issr-media { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.issr-media figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: #0b1526; aspect-ratio: 9/16; }
.issr-media figure.wide { grid-column: span 2; aspect-ratio: auto; }
.issr-media video { width: 100%; height: 100%; object-fit: cover; }
.issr-media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: 13px; color: #fff; background: linear-gradient(transparent, rgba(7,20,39,.85)); pointer-events: none; }
.issr-frame { border-radius: var(--radius); overflow: hidden; background: #0b1526; }
.issr-frame video { width: 100%; }

/* ---------- FAQ ---------- */
.issr-faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.issr-faq summary { font-family: var(--f-head); font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.issr-faq summary::-webkit-details-marker { display: none; }
.issr-faq summary::after { content: "+"; color: var(--blue); font-size: 1.3rem; line-height: 1; }
.issr-faq details[open] summary::after { content: "–"; }
.issr-faq details p { color: var(--ink-2); margin: 12px 0 0; }

/* ---------- CTA band ---------- */
.issr-cta { background: var(--navy); color: #b8c4d8; border-radius: 16px; padding: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.issr-cta h2 { color: #fff; margin-bottom: .3em; }
.issr-cta p { margin: 0; }
.issr-cta .issr-actions { margin: 0; }

/* ---------- forms (Contact Form 7) ---------- */
.issr-form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(24px, 3.5vw, 40px); }
.issr-sec--dark .issr-form { color: var(--ink); }
.issr-form h3 { margin-bottom: .25em; }
.issr-form > p.issr-muted { margin-bottom: 20px; }
.wpcf7-form .issr-f { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.wpcf7-form .issr-f .full { grid-column: 1 / -1; }
.wpcf7-form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 0; }
.wpcf7-form p { margin: 0; }
.wpcf7-form input[type=text], .wpcf7-form input[type=email], .wpcf7-form input[type=tel], .wpcf7-form input[type=number], .wpcf7-form input[type=date], .wpcf7-form select, .wpcf7-form textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #cfd6e1; border-radius: 8px; background: #fff; font: inherit; font-size: 15.5px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.wpcf7-form textarea { height: 110px; resize: vertical; }
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(19,115,254,.15); }
.wpcf7-form .wpcf7-submit { margin-top: 18px; background: var(--blue); color: #fff; border: 0; border-radius: 999px; padding: 15px 30px; font-family: var(--f-head); font-weight: 600; font-size: 15px; cursor: pointer; }
.wpcf7-form .wpcf7-submit:hover { background: var(--blue-d); }
.wpcf7-not-valid-tip { font-size: 12.5px; }
.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; border-radius: 8px; padding: 12px 14px; font-size: 14.5px; }
.wpcf7-spinner { vertical-align: middle; }

/* ---------- policies ---------- */
.issr-doc { max-width: 760px; }
.issr-doc h2 { font-size: 1.5rem; margin-top: 2.2em; padding-top: .4em; }
.issr-doc h2:first-child { margin-top: 0; }
.issr-doc p, .issr-doc li { color: var(--ink-2); }
.issr-note { background: #fff8e6; border: 1px solid #f3d98b; color: #6b5312; border-radius: 8px; padding: 12px 16px; font-size: 14.5px; margin-bottom: 32px; }
.issr-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #93a2ba; }
.issr-footer { padding: 64px 0 28px; font-size: 15px; }
.issr-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.issr-footer img { height: 92px; width: auto; margin-bottom: 18px; }
.issr-footer h4 { font-family: var(--f-head); color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.issr-footer ul { list-style: none; margin: 0; padding: 0; }
.issr-footer li { margin-bottom: 9px; }
.issr-footer a { color: #b8c4d8; }
.issr-footer a:hover { color: #fff; }
.issr-footer__base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--navy-3); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 13.5px; }

/* ---------- WhatsApp floating button ---------- */
.issr-wa { position: fixed; right: 20px; bottom: 20px; z-index: 999; display: flex; align-items: center; gap: 10px; background: #1fa855; color: #fff; border-radius: 999px; padding: 12px 18px 12px 14px; font-family: var(--f-head); font-weight: 600; font-size: 14.5px; box-shadow: 0 10px 28px -8px rgba(0,0,0,.35); }
.issr-wa:hover { background: #178a45; color: #fff; }
.issr-wa svg { width: 24px; height: 24px; fill: #fff; flex: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .issr-cards { grid-template-columns: repeat(2, 1fr); }
  .issr-media { grid-template-columns: repeat(2, 1fr); }
  .issr-footer__grid { grid-template-columns: 1fr 1fr; }
  .issr-row { grid-template-columns: 1fr 1.4fr; }
  .issr-row > :last-child { grid-column: 2; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .issr-split, .issr-cta, .issr-cards--3, .issr-cards--2, .issr-steps { grid-template-columns: 1fr; }
  .issr-stats { grid-template-columns: 1fr 1fr; }
  .issr-row { grid-template-columns: 1fr; gap: 14px; }
  .issr-row > :last-child { grid-column: auto; }
  .wpcf7-form .issr-f { grid-template-columns: 1fr; }
  .issr-hero::before { background: linear-gradient(180deg, rgba(7,20,39,.82) 0%, rgba(7,20,39,.92) 100%); }
  .issr-wa span { display: none; }
  .issr-wa { padding: 14px; }
  .admin-bar .site-header { top: 0; }
  .inside-header { padding: 12px 18px; }
  .site-logo img, .custom-logo { height: 28px; }
}
@media (max-width: 560px) {
  .issr-cards { grid-template-columns: 1fr; }
  .issr-footer__grid { grid-template-columns: 1fr; }
  .issr-media figure.wide { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- use-case media cards (Fleet / Events) ---------- */
.issr-uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.issr-use { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; background: var(--navy); color: #fff; display: flex; align-items: flex-end; }
.issr-use img, .issr-use video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.issr-use::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,20,39,0) 35%, rgba(7,20,39,.92) 100%); }
.issr-use > div { position: relative; z-index: 1; padding: 20px; }
.issr-use h3 { color: #fff; font-size: 1.08rem; margin-bottom: .3em; }
.issr-use p { color: #c9d3e3; font-size: .9rem; margin: 0; line-height: 1.5; }

/* ---------- spec list ---------- */
.issr-specs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.issr-specs div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.issr-specs div:nth-child(odd) { padding-right: 20px; }
.issr-specs b { display: block; font-family: var(--f-head); font-size: 1.15rem; color: var(--ink); font-weight: 600; }
.issr-specs span { font-size: .9rem; color: var(--ink-3); }

/* ---------- offer cards with price line ---------- */
.issr-offer { display: flex; flex-direction: column; }
.issr-offer .issr-ticks { margin: 14px 0 24px; flex: 1; }
.issr-offer__price { font-family: var(--f-head); font-weight: 600; color: var(--ink); font-size: 1.05rem; margin: 0 0 4px; }
.issr-card--feature { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }

/* ---------- comparison ---------- */
.issr-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--navy-3); border-radius: var(--radius); overflow: hidden; }
.issr-compare > div { padding: 28px; }
.issr-compare > div:first-child { background: var(--navy-2); }
.issr-compare h3 { font-size: 1rem; letter-spacing: .02em; }
.issr-compare ul { list-style: none; margin: 0; padding: 0; }
.issr-compare li { padding: 10px 0; border-top: 1px solid var(--navy-3); color: #a9b6cb; font-size: .97rem; }
.issr-compare > div:last-child li { color: #fff; }

@media (max-width: 1024px) { .issr-uses { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .issr-compare, .issr-specs { grid-template-columns: 1fr; }
  .issr-specs div:nth-child(odd) { padding-right: 0; }
  .issr-row > .issr-btn { justify-self: start; }
}
@media (max-width: 560px) { .issr-uses { grid-template-columns: 1fr 1fr; gap: 10px; } .issr-use > div { padding: 14px; } .issr-use p { display: none; } }

/* ---------- split hero (portrait footage) ---------- */
.issr-hero--split > .issr-wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
.issr-hero--split .issr-hero__in { padding-right: 0; }
.issr-hero__side { justify-self: end; width: min(330px, 100%); aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: var(--navy-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); border: 1px solid var(--navy-3); margin: 48px 0; }
.issr-hero__side video { width: 100%; height: 100%; object-fit: cover; }
.issr-btn { white-space: nowrap; }
.issr-offer__price { flex: none !important; }
@media (max-width: 768px) {
  .issr-hero--split > .issr-wrap { grid-template-columns: 1fr; gap: 0; }
  .issr-hero--split .issr-hero__in { padding-bottom: 32px; }
  .issr-hero__side { justify-self: start; width: 62%; margin: 0 0 56px; }
}
.issr-frame--portrait { justify-self: end; width: min(320px, 100%); aspect-ratio: 9 / 16; }
.issr-frame--portrait video { height: 100%; object-fit: cover; }
@media (max-width: 768px) { .issr-frame--portrait { justify-self: start; width: 70%; } }
