:root {
  --bg: #f5f9ff;
  --bg-alt: #e7f2ff;
  --bg-card: #ffffff;
  --primary: #3b82f6;
  --primary-soft: #dbeafe;
  --primary-dark: #1d4ed8;
  --text: #0f172a;
  --text-muted: #6b7280;
  --border: #dbe3f0;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius-lg: 18px;
  --radius-full: 999px;
  --content-width: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #e0f2fe 0, #f5f9ff 45%, #ffffff 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(245, 249, 255, 0.86);
  border-bottom: 1px solid rgba(209, 213, 219, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text);
  font-size: 1.1rem;
}

.logo span {
  color: var(--primary-dark);
}

.nav {
  display: flex;
  gap: 1.3rem;
  align-items: center;
}

.nav a {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
  text-decoration: none;
}

.nav a.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  padding: 3.5rem 0 2rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  align-items: center;
  gap: 2.5rem;
}

.hero-kicker {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 3vw + 0.6rem, 2.6rem);
  line-height: 1.15;
  margin: 0 0 0.8rem;
}

.hero h1 span {
  color: var(--primary-dark);
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease,
    box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 16px 35px rgba(37, 99, 235, 0.38);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(37, 99, 235, 0.48);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--text);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(148, 163, 184, 0.9);
}

.hero-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 26px;
  padding: 1.4rem 1.5rem 1.3rem;
  border: 1px solid rgba(209, 213, 219, 0.7);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.hero-avatar {
  width: 60px;
  height: 60px;
  border-radius: 24px;
  background: radial-gradient(circle at 30% 20%, #eff6ff, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.hero-card-body h2 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.hero-card-body p {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pill-list li {
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.section {
  padding: 2.8rem 0;
}

.section-alt {
  background: rgba(231, 242, 255, 0.6);
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.45rem;
  margin: 0 0 0.3rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.3rem;
  border: 1px solid rgba(209, 213, 219, 0.8);
  box-shadow: 0 12px 30px rgba(148, 163, 184, 0.18);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tag-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag-list li {
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
}

.card-link {
  font-size: 0.9rem;
  font-weight: 500;
}

.section-cta {
  margin-top: 1.8rem;
  text-align: center;
}

.page-hero {
  padding: 2.4rem 0 1.4rem;
}

.page-hero h1 {
  margin: 0 0 0.2rem;
  font-size: 1.8rem;
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 1.75rem;
  align-items: flex-start;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 0.8rem;
}

.profile-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(191, 219, 254, 0.9);
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.28);
  background: radial-gradient(circle at 30% 20%, #eff6ff, #60a5fa);
  flex-shrink: 0;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.info-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(209, 213, 219, 0.85);
  box-shadow: 0 14px 32px rgba(148, 163, 184, 0.17);
}

.info-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.info-card ul {
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.info-card li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.list {
  padding-left: 1.1rem;
  margin-top: 0.2rem;
}

.list li {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1.7fr);
  gap: 2rem;
  align-items: flex-start;
}

.blog-post {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 18px;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: 0 14px 32px rgba(148, 163, 184, 0.22);
}

.blog-post + .blog-post {
  margin-top: 1.1rem;
}

.blog-post h2 {
  margin-top: 0;
  margin-bottom: 0.2rem;
  font-size: 1.15rem;
}

.blog-post .meta {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-post p {
  margin-top: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.blog-sidebar h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
}

.blog-sidebar p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-form {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
  background: #f9fbff;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.4);
  background: #ffffff;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.7rem;
}

.site-footer {
  padding: 1.5rem 0 1.8rem;
  border-top: 1px solid rgba(209, 213, 219, 0.6);
  margin-top: 1.2rem;
  background: rgba(248, 250, 252, 0.95);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-email a {
  font-weight: 500;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.2fr);
  }

  .hero-card {
    order: -1;
  }

  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column,
  .blog-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-header {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 0.7rem 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    right: 1.5rem;
    top: 100%;
    margin-top: 0.35rem;
    background: rgba(248, 250, 252, 0.97);
    border-radius: 16px;
    padding: 0.55rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(209, 213, 219, 0.9);
    flex-direction: column;
    align-items: flex-start;
    min-width: 180px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    width: 100%;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .section {
    padding: 2.1rem 0;
  }

  .cards-2,
  .cards-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .profile-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

:root {
  --bg: #f5f9ff;
  --bg-alt: #e7f2ff;
  --bg-card: #ffffff;
  --primary: #3b82f6;
  --primary-soft: #dbeafe;
  --primary-dark: #1d4ed8;
  --text: #0f172a;
  --text-muted: #6b7280;
  --border: #dbe3f0;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius-lg: 18px;
  --radius-full: 999px;
  --content-width: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #e0f2fe 0, #f5f9ff 45%, #ffffff 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(245, 249, 255, 0.86);
  border-bottom: 1px solid rgba(209, 213, 219, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text);
  font-size: 1.1rem;
}

.logo span {
  color: var(--primary-dark);
}

.nav {
  display: flex;
  gap: 1.3rem;
  align-items: center;
}

.nav a {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
  text-decoration: none;
}

.nav a.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  padding: 3.5rem 0 2rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  align-items: center;
  gap: 2.5rem;
}

.hero-kicker {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 3vw + 0.6rem, 2.6rem);
  line-height: 1.15;
  margin: 0 0 0.8rem;
}

.hero h1 span {
  color: var(--primary-dark);
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease,
    box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 16px 35px rgba(37, 99, 235, 0.38);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(37, 99, 235, 0.48);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--text);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(148, 163, 184, 0.9);
}

.hero-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 26px;
  padding: 1.4rem 1.5rem 1.3rem;
  border: 1px solid rgba(209, 213, 219, 0.7);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.hero-avatar {
  width: 60px;
  height: 60px;
  border-radius: 24px;
  background: radial-gradient(circle at 30% 20%, #eff6ff, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.hero-card-body h2 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.hero-card-body p {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pill-list li {
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.section {
  padding: 2.8rem 0;
}

.section-alt {
  background: rgba(231, 242, 255, 0.6);
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.45rem;
  margin: 0 0 0.3rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.3rem;
  border: 1px solid rgba(209, 213, 219, 0.8);
  box-shadow: 0 12px 30px rgba(148, 163, 184, 0.18);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tag-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag-list li {
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
}

.card-link {
  font-size: 0.9rem;
  font-weight: 500;
}

.section-cta {
  margin-top: 1.8rem;
  text-align: center;
}

.page-hero {
  padding: 2.4rem 0 1.4rem;
}

.page-hero h1 {
  margin: 0 0 0.2rem;
  font-size: 1.8rem;
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 1.75rem;
  align-items: flex-start;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 0.8rem;
}

.profile-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(191, 219, 254, 0.9);
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.28);
  background: radial-gradient(circle at 30% 20%, #eff6ff, #60a5fa);
  flex-shrink: 0;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.info-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(209, 213, 219, 0.85);
  box-shadow: 0 14px 32px rgba(148, 163, 184, 0.17);
}

.info-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.info-card ul {
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.info-card li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.list {
  padding-left: 1.1rem;
  margin-top: 0.2rem;
}

.list li {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1.7fr);
  gap: 2rem;
  align-items: flex-start;
}

.blog-post {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 18px;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: 0 14px 32px rgba(148, 163, 184, 0.22);
}

.blog-post + .blog-post {
  margin-top: 1.1rem;
}

.blog-post h2 {
  margin-top: 0;
  margin-bottom: 0.2rem;
  font-size: 1.15rem;
}

.blog-post .meta {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-post p {
  margin-top: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.blog-sidebar h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
}

.blog-sidebar p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-form {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
  background: #f9fbff;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.4);
  background: #ffffff;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.7rem;
}

.site-footer {
  padding: 1.5rem 0 1.8rem;
  border-top: 1px solid rgba(209, 213, 219, 0.6);
  margin-top: 1.2rem;
  background: rgba(248, 250, 252, 0.95);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-email a {
  font-weight: 500;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.2fr);
  }

  .hero-card {
    order: -1;
  }

  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column,
  .blog-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-header {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .profile-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 0.7rem 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    right: 1.5rem;
    top: 100%;
    margin-top: 0.35rem;
    background: rgba(248, 250, 252, 0.97);
    border-radius: 16px;
    padding: 0.55rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(209, 213, 219, 0.9);
    flex-direction: column;
    align-items: flex-start;
    min-width: 180px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    width: 100%;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .section {
    padding: 2.1rem 0;
  }

  .cards-2,
  .cards-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


