/* =========================================================
   style.css
   Single merged stylesheet
   Built for current index.php structure
========================================================= */

/* ---------- Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #ffffff;
  color: #111827;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

main {
  display: block;
}

:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* ---------- Variables ---------- */
:root {
  --blue: #2a54db;
  --blue-dark: #1f45c7;
  --blue-light: #eef4ff;
  --blue-soft: #f5f8ff;
  --blue-line: #dbe7ff;

  --text: #111827;
  --text-2: #334155;
  --muted: #64748b;
  --muted-2: #94a3b8;

  --line: #e5e7eb;
  --line-2: #d6dbe4;

  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-section: #f4f7fd;
  --bg-card: #ffffff;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --container: 1220px;
  --transition: 0.22s ease;
}

/* ---------- Base Typography ---------- */
h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 900;
}

h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
}

h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.3;
  font-weight: 700;
}

h4 {
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 700;
}

p {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.78;
}

p + p {
  margin-top: 12px;
}

/* ---------- Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 11.5px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
}

.sec-label::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  flex-shrink: 0;
}

.sec-head {
  margin-bottom: 46px;
}

.sec-head p {
  max-width: 720px;
  margin-top: 10px;
  font-size: 1rem;
  color: var(--muted);
}

.sec-head.centered {
  text-align: center;
}

.sec-head.centered p {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   NAV
========================================================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 10px rgba(15, 23, 42, 0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo {
  width: 50px !important;
  height: 50px !important;
  max-width: 50px !important;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #1f2937;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a,
.nav-menu > li > button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li > button:hover {
  color: var(--blue);
  background: var(--blue-light);
}

.nav-arrow {
  width: 14px;
  height: 14px;
  opacity: 0.75;
  transition: transform var(--transition);
}

.nav-menu > li.open > button .nav-arrow {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 255px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-menu > li.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-header {
  padding: 8px 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-2);
  transition: background var(--transition), color var(--transition);
}

.dropdown a:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.tool-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-badge {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 10px;
  font-weight: 700;
}

.nav-cta,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 10px 24px rgba(42, 84, 219, 0.18);
}

.nav-cta:hover,
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 1.5px solid var(--blue);
  border-radius: 12px;
  background: transparent;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  display: block;
  transition: all var(--transition);
}

.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);
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 74px 0 0;
  z-index: 998;
  padding: 18px 20px 36px;
  background: #fff;
  border-top: 1px solid var(--line);
  overflow-y: auto;
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a,
.nav-mobile-section > span {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
}

.nav-mobile a {
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
}

.nav-mobile a:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.nav-mobile-section > span {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.mobile-tools a {
  padding-left: 24px;
  font-size: 14px;
}

.nav-mobile-cta {
  margin-top: 18px;
  background: var(--blue);
  color: #fff !important;
  text-align: center;
  font-weight: 700;
}

/* =========================================================
   HERO
========================================================= */
#hero {
  padding: 58px 0 34px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef3fb 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

#hero > .container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.hero-top {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: 48px;
  margin-bottom: 8px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #eef3ff;
  border: 1px solid #d6e3ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

#hero h1 {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 4.2vw, 3.2rem);
  line-height: 1.02;
}

#hero .accent {
  color: var(--blue);
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 24px;
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.8;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #d7dde8;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}

.hero-pill:hover {
  border-color: var(--blue);
  background: var(--blue-light);
  color: var(--blue);
}

.hero-photo-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 470px;
}

.hero-photo-wrap::before {
  content: "";
  position: absolute;
  width: min(88%, 420px);
  height: 92%;
  bottom: 0;
  border-radius: 34px;
  background: linear-gradient(180deg, #dbe7fb 0%, #cfe0fb 100%);
  z-index: 0;
}

@media (max-width: 768px) {
  .hero-photo-wrap img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-photo-wrap {
    min-height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .hero-photo-wrap::before {
    width: min(100%, 260px);
    height: 100%;
    max-height: 340px;
    border-radius: 24px;
    left: 50%;
    transform: translateX(-50%);
  }
}
.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  max-height: 610px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 12px 28px rgba(15, 23, 42, 0.08));
}

/* Hero cards based on current index structure */
#hero > .container > .hcard {
  min-width: 0;
}

.hcard {
  background: #fff;
  border: 1px solid #dbe2ee;
  border-radius: 22px;
  padding: 24px 22px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.hcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.09);
  border-color: #cfdcf7;
}

.hcard.featured {
  background: var(--blue);
  border-color: var(--blue);
}

.hcard-icon {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1;
}

.hcard h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.hcard p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.hcard.featured .hcard-icon,
.hcard.featured h3 {
  color: #fff;
}

.hcard.featured p {
  color: rgba(255, 255, 255, 0.9);
}

/* =========================================================
   STATS BAR
========================================================= */
.stats-bar {
  background: var(--blue);
}

.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-block {
  padding: 34px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-block:last-child {
  border-right: 0;
}

.stat-number {
  margin-bottom: 10px;
  color: #fff;
  font-size: 3rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.stat-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
}

/* =========================================================
   ABOUT
========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 54px;
  align-items: start;
}

.about-highlights {
  display: grid;
  gap: 14px;
}

.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.about-highlight:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #d8e3fb;
}

.ah-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.about-highlight h4 {
  margin-bottom: 4px;
}

.about-highlight p {
  font-size: 14px;
  line-height: 1.65;
}

/* =========================================================
   SKILLS / SUPPORT / METHOD / CERT / CONTACT
========================================================= */
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.method-card,
.skill-card,
.support-card,
.cert-card,
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.method-card {
  position: relative;
  border-radius: 20px;
  padding: 28px 22px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.method-card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: var(--blue);
  opacity: 0;
  transition: opacity var(--transition);
}

.method-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #d8e3fb;
}

.method-card:hover::after {
  opacity: 1;
}

.method-num {
  margin-bottom: 14px;
  color: #d7e4ff;
  font-size: 44px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.method-card p {
  font-size: 14px;
  line-height: 1.68;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.skill-card {
  border-radius: 20px;
  padding: 26px 22px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.skill-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #d8e3fb;
}

.skill-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.skill-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 17px;
}

.skill-list {
  display: grid;
  gap: 8px;
}

.skill-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
}

.skill-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  opacity: 0.8;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.support-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-radius: 20px;
  padding: 24px 20px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.support-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #d8e3fb;
}

.support-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-light);
  border: 1px solid var(--blue-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.support-card h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.support-card p {
  font-size: 14px;
  line-height: 1.65;
}

.industry-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.industry-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.industry-pill:hover {
  transform: translateY(-2px);
  background: var(--blue-light);
  border-color: #cfe0ff;
  color: var(--blue);
}

.industry-note {
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--blue-light);
  border: 1px solid var(--blue-line);
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.7;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.cert-card {
  border-radius: 18px;
  padding: 22px 18px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #f2d27a;
}

.cert-icon {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
}

.cert-provider {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  padding: 20px 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--blue);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--blue);
  color: #fff;
}

.faq-answer {
  display: none;
  padding: 0 0 20px;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  color: var(--text-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 48px;
  align-items: start;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.contact-item-label {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-item-value {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.contact-form-wrap {
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #f8fafc;
  color: var(--text);
  padding: 12px 14px;
  font-size: 14.5px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(42, 84, 219, 0.08);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer {
  padding: 52px 0 0;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  margin-bottom: 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.footer-brand span {
  color: var(--blue);
}

.footer-tagline {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.75;
}

.footer-col h4 {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 0;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.6;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1180px) {
  .hero-top {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
    gap: 36px;
  }

  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cert-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .nav-menu,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-photo-wrap {
    min-height: 320px;
    height: auto;
    justify-content: center;
    margin-top: 0;
  }

  .hero-photo-wrap::before {
    width: 290px;
    height: 300px;
  }

  .hero-photo {
    max-width: 285px;
  }

  #hero > .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-top {
    grid-column: 1 / -1;
  }

  .skills-grid,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 58px 0;
  }

  .section-soft {
    padding: 58px 0;
  }

  .reveal,
  .reveal.visible,
  .reveal.active,
  .reveal.show {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  .nav-inner {
    height: 68px;
  }

  .nav-mobile {
    inset: 68px 0 0;
  }

  .nav-logo {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
  }

  #hero {
    padding: 30px 0 24px;
  }

  #hero > .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .hero-top {
    gap: 18px;
    margin-bottom: 2px;
  }

  .hero-badge {
    margin-bottom: 12px;
    padding: 7px 13px;
    font-size: 10.5px;
    line-height: 1.35;
    letter-spacing: 0.1em;
  }

  #hero h1 {
    max-width: 420px;
    margin-bottom: 14px;
    font-size: 2.05rem;
    line-height: 1.05;
    letter-spacing: -0.035em;
  }

  .hero-lead {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.72;
  }

  .hero-pills {
    gap: 8px;
  }

  .hero-pill {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero-pills .hero-pill:nth-child(n+5) {
    display: none;
  }

  .hero-photo-wrap {
    min-height: 0;
    height: auto;
    justify-content: center;
    padding: 0;
    margin: 0;
  }

  .hero-photo-wrap::before {
    width: 220px;
    height: 255px;
    border-radius: 24px;
  }

  .hero-photo {
    max-width: 210px;
  }

  .hcard {
    min-height: 205px;
    padding: 18px 16px;
    border-radius: 20px;
  }

  .hcard h3 {
    font-size: 18px;
    line-height: 1.25;
    margin-bottom: 8px;
  }

  .hcard p {
    font-size: 14px;
    line-height: 1.6;
  }

  .stats-bar-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-block {
    padding: 24px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .stat-block:nth-child(2n) {
    border-right: 0;
  }

  .stat-block:nth-child(n+3) {
    border-bottom: 0;
  }

  .stat-number {
    font-size: 2.4rem;
    margin-bottom: 8px;
  }

  .stat-desc {
    font-size: 13px;
    line-height: 1.5;
  }

  .sec-head {
    margin-bottom: 28px;
  }

  .sec-head p {
    font-size: 15px;
    line-height: 1.72;
  }

  .method-grid,
  .skills-grid,
  .support-grid,
  .consulting-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-form-wrap,
  .skill-card,
  .support-card,
  .method-card,
  .cert-card,
  .about-highlight {
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 16px;
  }

  #hero h1 {
    font-size: 1.9rem;
    line-height: 1.04;
  }

  .hero-photo {
    max-width: 185px;
  }

  .hero-photo-wrap::before {
    width: 190px;
    height: 220px;
  }

  .hcard {
    min-height: 195px;
  }

  .stat-number {
    font-size: 2.1rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .hero-badge {
    font-size: 10px;
  }

  #hero h1 {
    font-size: 1.75rem;
  }

  .hero-pill {
    font-size: 11.5px;
  }

  .hcard {
    min-height: 188px;
    padding: 16px 14px;
  }

  .hcard h3 {
    font-size: 17px;
  }

  .hcard p {
    font-size: 13.5px;
  }

  .stat-block {
    padding: 22px 16px;
  }

  .stat-desc {
    font-size: 12px;
  }
}