/* ==========================================================================
   Rev. Dr. L.V.Prasad G - AI Consultant Website
   Main stylesheet
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy:          #0a1730;
  --navy-800:      #0f2145;
  --navy-700:      #16305e;
  --charcoal:      #14181f;
  --ink:           #1b2434;
  --muted:         #5b6b82;
  --muted-2:       #7b8aa1;
  --line:          #e5e9f0;
  --bg:            #ffffff;
  --bg-soft:       #f5f7fb;
  --bg-soft-2:     #eef2f9;

  --blue:          #2563eb;
  --blue-600:      #1d4ed8;
  --cyan:          #06b6d4;
  --violet:        #7c3aed;

  --grad-accent:   linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --grad-soft:     linear-gradient(135deg, rgba(37,99,235,.10), rgba(6,182,212,.10));

  --radius-sm:     10px;
  --radius:        16px;
  --radius-lg:     24px;
  --radius-pill:   999px;

  --shadow-sm:     0 4px 14px rgba(15, 33, 69, .06);
  --shadow:        0 18px 40px -18px rgba(15, 33, 69, .28);
  --shadow-lg:     0 30px 70px -30px rgba(15, 33, 69, .45);
  --shadow-glow:   0 20px 60px -20px rgba(37, 99, 235, .55);

  --ff-head:       "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-body:       "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h:      76px;
  --section-pad:   clamp(64px, 8vw, 116px);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1rem;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3 {
  font-family: var(--ff-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -.01em;
}

p { margin-bottom: 1rem; color: var(--muted); }
a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-600); }

img { max-width: 100%; height: auto; }

::selection { background: rgba(37, 99, 235, .18); }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--navy);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Layout helpers ---------- */
.section { padding: var(--section-pad) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #cbd7ea; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #aebdd4; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--ff-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
}
.section--navy .eyebrow { color: var(--cyan); }

.section-title {
  font-size: clamp(1.7rem, 3.3vw, 2.6rem);
  margin-bottom: 1rem;
}
.section-lead {
  font-size: 1.06rem;
  max-width: 720px;
  color: var(--muted);
}
.section--navy .section-lead { color: #aebdd4; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }

.text-accent { color: var(--blue); }
.accent-underline {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius-pill);
  padding: .78rem 1.6rem;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.btn:active { transform: translateY(1px); }

.btn-accent {
  background: var(--grad-accent);
  color: #fff;
  border: none;
  box-shadow: 0 10px 26px -12px rgba(37, 99, 235, .8);
}
.btn-accent:hover,
.btn-accent:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  border: none;
}
.btn-navy:hover, .btn-navy:focus { color: #fff; background: var(--navy-800); transform: translateY(-2px); }

.btn-outline-navy {
  border: 1.5px solid rgba(10, 23, 48, .22);
  color: var(--navy);
  background: transparent;
}
.btn-outline-navy:hover, .btn-outline-navy:focus {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(37, 99, 235, .05);
}

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, .32);
  color: #fff;
  background: rgba(255, 255, 255, .04);
}
.btn-ghost:hover, .btn-ghost:focus {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, .12);
  transform: translateY(-2px);
}

.btn-lg { padding: .95rem 2rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }
.btn-link-arrow {
  font-family: var(--ff-head);
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: 0;
}
.btn-link-arrow i { transition: transform .2s ease; }
.btn-link-arrow:hover { color: var(--blue-600); }
.btn-link-arrow:hover i { transform: translateX(4px); }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(10, 23, 48, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  background: rgba(9, 20, 42, .96);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7);
}

.navbar { padding: .65rem 0; }

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: #fff;
  font-family: var(--ff-head);
  font-weight: 600;
  line-height: 1.05;
}
.navbar-brand:hover { color: #fff; }
.brand-mark {
  width: 42px; height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--grad-accent);
  box-shadow: 0 8px 20px -8px rgba(6, 182, 212, .8);
  color: #fff;
}
.brand-text { display: flex; flex-direction: column; font-size: .98rem; }
.brand-text small {
  font-family: var(--ff-body);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, .82);
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: .92rem;
  padding: .5rem .9rem;
  position: relative;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: .9rem; right: .9rem; bottom: .18rem;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active { color: #fff; }
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, .28);
  padding: .35rem .55rem;
  border-radius: 10px;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(6, 182, 212, .5); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-width='2' d='M4 8h22M4 15h22M4 22h22'/%3E%3C/svg%3E");
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1100px 520px at 78% -8%, rgba(37, 99, 235, .38), transparent 62%),
              radial-gradient(820px 520px at 8% 108%, rgba(124, 58, 237, .30), transparent 55%),
              linear-gradient(160deg, #08122a 0%, #0a1730 55%, #0d1e40 100%);
  color: #fff;
  overflow: hidden;
  padding: clamp(72px, 9vw, 128px) 0 clamp(64px, 8vw, 104px);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .42rem .95rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: .8rem;
  font-weight: 500;
  color: #d6e2f5;
  margin-bottom: 1.4rem;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, .22);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.hero .hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  color: #b9c7dd;
  max-width: 620px;
  margin-bottom: 1.8rem;
}
.hero-name {
  font-family: var(--ff-head);
  font-weight: 600;
  color: #fff;
  font-size: 1.06rem;
  margin-bottom: .15rem;
}
.hero-subtitle {
  color: var(--cyan);
  font-weight: 500;
  letter-spacing: .04em;
  font-size: .92rem;
  margin-bottom: 1.8rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-visual { position: relative; }
.hero-portrait {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  background: linear-gradient(150deg, rgba(37, 99, 235, .28), rgba(6, 182, 212, .12));
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.6;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-portrait .portrait-badge {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  background: rgba(8, 18, 42, .78);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: .7rem .9rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #fff;
}
.hero-portrait .portrait-badge i { color: var(--cyan); font-size: 1.35rem; }
.hero-portrait .portrait-badge span { font-size: .8rem; color: #b9c7dd; line-height: 1.35; }
.hero-portrait .portrait-badge strong { color: #fff; display: block; font-size: .86rem; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  margin-top: 2.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero-stat .k { font-family: var(--ff-head); font-size: 1.05rem; font-weight: 600; color: #fff; }
.hero-stat .v { font-size: .82rem; color: #93a3bd; }

.hero-network {
  position: absolute;
  inset: -12% -18% auto auto;
  width: 70%;
  opacity: .5;
  pointer-events: none;
}

/* ---------- Card primitives ---------- */
.card-soft {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  height: 100%;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  position: relative;
  overflow: hidden;
}
.card-soft::after {
  content: "";
  position: absolute; inset: 0 auto 0 0;
  width: 3px;
  background: var(--grad-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s ease;
}
.card-soft:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card-soft:hover::after { transform: scaleY(1); }

.icon-badge {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--blue);
  background: var(--grad-soft);
  border: 1px solid rgba(37, 99, 235, .14);
  margin-bottom: 1.15rem;
}
.card-title { font-size: 1.18rem; margin-bottom: .6rem; }
.card-text { font-size: .95rem; margin-bottom: 1.1rem; }

/* ---------- About ---------- */
.about-grid { align-items: center; }
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  aspect-ratio: 5 / 5.6;
  background: var(--bg-soft-2);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-media .media-tag {
  position: absolute; left: 16px; top: 16px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: .4rem .85rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy);
}
.check-list { list-style: none; padding: 0; margin: 1.3rem 0 0; }
.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .7rem;
  color: var(--muted);
  font-size: .96rem;
}
.check-list li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0; top: .1rem;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-soft);
  color: var(--blue);
  font-size: .7rem;
  border: 1px solid rgba(37, 99, 235, .18);
}

/* ---------- Solutions grid ---------- */
.solution-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(37, 99, 235, .35); }
.solution-card .s-icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  color: var(--blue);
  font-size: 1.15rem;
}
.solution-card h3 { font-size: 1rem; margin: 0 0 .25rem; }
.solution-card p { font-size: .88rem; margin: 0; }

/* ---------- Industries ---------- */
.industry-pill {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 500;
  color: var(--navy);
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.industry-pill i { color: var(--cyan); font-size: 1.2rem; }
.industry-pill:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(6, 182, 212, .4); }

/* ---------- Process timeline ---------- */
.process { position: relative; }
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
}
.process-step { position: relative; text-align: center; padding: 0 .35rem; }
.process-step .node {
  width: 60px; height: 60px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 1.15rem;
  color: #fff;
  background: var(--grad-accent);
  box-shadow: 0 12px 26px -12px rgba(37, 99, 235, .8);
  position: relative;
  z-index: 2;
}
.process-step .node::after {
  content: "";
  position: absolute; inset: -7px;
  border-radius: 50%;
  border: 1px dashed rgba(37, 99, 235, .35);
}
.process-step h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.process-step p { font-size: .9rem; margin: 0; }
.process-track::before {
  content: "";
  position: absolute;
  top: 30px; left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, rgba(37, 99, 235, .35), rgba(6, 182, 212, .35));
  z-index: 1;
}

/* ---------- Why work with me ---------- */
.why-item {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  height: 100%;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.why-item:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .07); border-color: rgba(6, 182, 212, .4); }
.why-item i { color: var(--cyan); font-size: 1.3rem; flex: 0 0 auto; margin-top: .15rem; }
.why-item h3 { color: #fff; font-size: 1rem; margin-bottom: .25rem; }
.why-item p { color: #9fb0ca; font-size: .9rem; margin: 0; }

/* ---------- Projects ---------- */
.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .28s ease, box-shadow .28s ease;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft-2); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project-card:hover .project-media img { transform: scale(1.05); }
.project-status {
  position: absolute; top: 12px; left: 12px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .32rem .7rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  border: 1px solid var(--line);
}
.project-body { padding: 1.5rem 1.55rem 1.6rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.project-body h3 { font-size: 1.16rem; margin-bottom: .6rem; }
.project-meta { font-size: .84rem; margin-bottom: .35rem; color: var(--muted); }
.project-meta strong { color: var(--navy); font-weight: 600; }
.project-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: .9rem 0 1.1rem; }
.tag {
  font-size: .74rem;
  font-weight: 500;
  padding: .28rem .65rem;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--muted);
}
.project-body .mt-auto { margin-top: auto; }

/* ---------- Insights ---------- */
.article-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.55rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(37, 99, 235, .3); }
.article-card .article-cat { font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: .7rem; }
.article-card h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.article-card h3 a { color: var(--navy); }
.article-card h3 a:hover { color: var(--blue); }
.article-card .article-date { font-size: .82rem; color: var(--muted-2); margin-top: auto; padding-top: 1rem; display: flex; align-items: center; gap: .4rem; }

/* ---------- FAQ ---------- */
.faq-accordion .accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius) !important;
  margin-bottom: .85rem;
  overflow: hidden;
  background: #fff;
}
.faq-accordion .accordion-button {
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--navy);
  background: #fff;
  padding: 1.15rem 1.35rem;
  box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--blue);
  background: var(--bg-soft);
}
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 3px rgba(6, 182, 212, .35); z-index: 3; }
.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232563eb'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
}
.faq-accordion .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232563eb'%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3E%3C/svg%3E");
}
.faq-accordion .accordion-body { color: var(--muted); font-size: .96rem; padding: 0 1.35rem 1.3rem; }

/* ---------- Contact ---------- */
.contact-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.6rem);
  box-shadow: var(--shadow);
}
.contact-aside { height: 100%; }
.contact-info-card {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  margin-bottom: 1rem;
}
.contact-info-card i { color: var(--cyan); font-size: 1.25rem; flex: 0 0 auto; margin-top: .15rem; }
.contact-info-card h3 { color: #fff; font-size: .95rem; margin-bottom: .2rem; }
.contact-info-card p, .contact-info-card a { color: #9fb0ca; font-size: .9rem; margin: 0; word-break: break-word; }
.contact-info-card a:hover { color: var(--cyan); }

.form-label { font-weight: 500; font-size: .9rem; color: var(--navy); margin-bottom: .4rem; }
.form-label .req { color: #dc2626; }
.form-control, .form-select {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .72rem .9rem;
  font-size: .94rem;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control:focus, .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .14);
}
.form-control::placeholder { color: #9aa8bd; }
.form-check-input:checked { background-color: var(--blue); border-color: var(--blue); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(37, 99, 235, .18); border-color: var(--blue); }
.field-error {
  display: none;
  color: #dc2626;
  font-size: .82rem;
  margin-top: .35rem;
}
.form-field.has-error .form-control,
.form-field.has-error .form-select { border-color: #dc2626; }
.form-field.has-error .field-error { display: block; }

.form-status {
  display: none;
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  font-size: .92rem;
  margin-top: 1.2rem;
  border: 1px solid transparent;
}
.form-status.is-success { display: block; background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.form-status.is-error   { display: block; background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.form-status.is-info    { display: block; background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

.btn.is-loading { pointer-events: none; opacity: .85; }
.btn .spinner-border { width: 1rem; height: 1rem; border-width: .16em; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, #0a1730 0%, #12294f 60%, #16305e 100%);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.2rem);
  position: relative;
  overflow: hidden;
  color: #fff;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 90% 0%, rgba(6, 182, 212, .35), transparent 60%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b8c6dd; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: #071227;
  color: #93a3bd;
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.site-footer h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.site-footer .footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.site-footer .footer-brand .brand-text { color: #fff; }
.site-footer p { color: #93a3bd; font-size: .92rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a, .footer-contact a { color: #93a3bd; font-size: .92rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--cyan); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .6rem; margin-bottom: .7rem; font-size: .92rem; }
.footer-contact i { color: var(--cyan); margin-top: .2rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
}
.footer-bottom .footer-legal a { color: #93a3bd; margin-left: 1.1rem; }
.footer-bottom .footer-legal a:hover { color: var(--cyan); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  display: grid; place-items: center;
  background: var(--grad-accent);
  color: #fff;
  font-size: 1.15rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  z-index: 1040;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { color: #fff; transform: translateY(-3px); }

/* ---------- Inner page hero ---------- */
.page-hero {
  background: linear-gradient(160deg, #08122a 0%, #0a1730 60%, #0e2047 100%);
  color: #fff;
  padding: clamp(56px, 7vw, 92px) 0 clamp(48px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 85% -20%, rgba(37, 99, 235, .4), transparent 60%);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: .8rem; }
.page-hero p { color: #b8c6dd; max-width: 680px; margin-bottom: 0; font-size: 1.04rem; }
.breadcrumb-nav { font-size: .85rem; color: #8fa2c0; margin-bottom: 1rem; }
.breadcrumb-nav a { color: #c7d6ee; }
.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav span { color: #7c8dad; }

/* ---------- Article ---------- */
.article-wrap { max-width: 820px; margin: 0 auto; }
.article-wrap .article-meta { color: var(--muted-2); font-size: .9rem; margin-bottom: 1.4rem; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.article-wrap h2 { font-size: 1.5rem; margin-top: 2.4rem; margin-bottom: .9rem; }
.article-wrap h3 { font-size: 1.16rem; margin-top: 1.7rem; margin-bottom: .6rem; }
.article-wrap p, .article-wrap li { color: var(--muted); font-size: 1.02rem; line-height: 1.85; }
.article-wrap ul, .article-wrap ol { color: var(--muted); padding-left: 1.3rem; }
.article-wrap li { margin-bottom: .5rem; }
.article-wrap img { border-radius: var(--radius); margin: 1.6rem 0; }
.article-note {
  background: var(--bg-soft);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  margin: 1.6rem 0;
  font-size: .95rem;
  color: var(--ink);
}

/* ---------- Legal / prose pages ---------- */
.prose { max-width: 860px; }
.prose h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: .45rem; }

/* ---------- 404 ---------- */
.error-wrap { text-align: center; padding: clamp(3rem, 8vw, 6rem) 0; }
.error-code {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: clamp(4.5rem, 14vw, 9rem);
  line-height: 1;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { 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: .40s; }

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