@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

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

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--navbar-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 1rem;
}
.navbar__logo {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  white-space: nowrap;
}
.navbar__logo:hover { color: var(--accent); }
.navbar__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.navbar__link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.navbar__link:hover,
.navbar__link.active {
  color: var(--accent);
  background: var(--accent-soft);
}
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elevated);
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle svg { width: 1.125rem; height: 1.125rem; }
[data-theme="light"] .icon-sun,
[data-theme="dark"] .icon-moon { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 4rem 0 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu__link {
  padding: 0.875rem 1rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
}
.mobile-menu__link:hover,
.mobile-menu__link.active {
  background: var(--accent-soft);
  color: var(--accent);
}

@media (max-width: 900px) {
  .navbar__links { display: none; }
  .navbar__cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.35);
}
.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  padding-inline: 0.75rem;
}
.btn--ghost:hover { color: var(--accent); }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn--block { width: 100%; }

/* ── Sections ── */
section { padding: 5rem 0; }
.page-hero {
  padding: 8rem 0 4rem;
  background: var(--gradient);
}
.page-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.page-hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 36rem;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.section-subtitle {
  color: var(--text-muted);
  max-width: 32rem;
  margin-inline: auto;
  font-size: 1.0625rem;
}

/* ── Hero ── */
.hero {
  padding: 7rem 0 5rem;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}
.hero__title span { color: var(--accent); }
.hero__bio {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 32rem;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  padding: 0.375rem 0.875rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}
.hero__visual { display: flex; justify-content: center; }
.hero__image-wrapper {
  position: relative;
  width: min(100%, 380px);
}
.hero__image-frame {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
}
.hero__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 8px);
}
.hero__float {
  position: absolute;
  padding: 0.5rem 0.875rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}
.hero__float--1 { top: 10%; left: -8%; animation-delay: 0s; }
.hero__float--2 { bottom: 20%; right: -10%; animation-delay: 1s; }
.hero__float--3 { bottom: 5%; left: 0; animation-delay: 2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 768px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__bio { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__chips { justify-content: center; }
  .hero__visual { order: -1; }
  .hero__float { display: none; }
}

/* ── Cards ── */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.cards-grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* ── Service cards ── */
.service-card__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 12px;
  margin-bottom: 1.25rem;
}
.service-card__icon svg { width: 1.5rem; height: 1.5rem; }
.service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.service-card__price {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
.service-card__desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}
.service-card__list {
  list-style: none;
  margin-bottom: 1.5rem;
}
.service-card__list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.service-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.service-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.service-card--featured {
  border-color: var(--accent);
  position: relative;
}
.service-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

/* ── Case studies ── */
.case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.case-study:last-child { border-bottom: none; }
.case-study:nth-child(even) .case-study__visual { order: 2; }
.case-study__visual {
  aspect-ratio: 16/10;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.case-study__placeholder {
  text-align: center;
  padding: 2rem;
  color: var(--text-light);
  font-size: 0.875rem;
}
.case-study__placeholder svg {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  opacity: 0.4;
}
.case-study__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.case-study__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.case-study__block { margin-bottom: 1rem; }
.case-study__block h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 0.375rem;
}
.case-study__block p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.case-study__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.5rem;
}
.tool-tag {
  padding: 0.25rem 0.625rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}
.case-study__note {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--accent-soft);
  border-radius: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .case-study { grid-template-columns: 1fr; }
  .case-study:nth-child(even) .case-study__visual { order: 0; }
}

/* ── Testimonials ── */
.testimonial-card {
  position: relative;
}
.testimonial-card__quote {
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: -0.5rem;
}
.testimonial-card__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.testimonial-card__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}
.testimonial-card__name {
  font-style: normal;
  font-weight: 600;
  font-size: 0.9375rem;
}
.testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* ── About ── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.about__image {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  background: var(--bg-elevated);
}
.about__text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.0625rem;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.skill-category__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.skill-category__title svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.skill-tag {
  padding: 0.375rem 0.75rem;
  background: var(--bg-muted);
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}
.education-list { list-style: none; }
.education-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.education-item:last-child { border-bottom: none; }
.education-item__degree {
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 0.25rem;
}
.education-item__school {
  color: var(--accent);
  font-size: 0.9375rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .about__grid { grid-template-columns: 1fr; }
}

/* ── Resources ── */
.resource-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.resource-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.lead-magnet {
  background: var(--gradient);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  max-width: 32rem;
  margin-inline: auto;
}
.lead-magnet__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.lead-magnet__desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ── Contact ── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  align-items: start;
}
.contact__info h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.contact__info > p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}
.contact__detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border);
}
.contact__detail svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--accent);
}
.contact__detail:hover { color: var(--accent); }
.contact__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.social-link {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  transition: all var(--transition);
}
.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.social-link svg { width: 1.125rem; height: 1.125rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-status {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.form-status.success { color: var(--accent); }

@media (max-width: 768px) {
  .contact__grid { grid-template-columns: 1fr; }
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--gradient);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
  text-align: center;
}
.cta-banner__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.cta-banner__text {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 28rem;
  margin-inline: auto;
}

/* ── Footer ── */
.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer__brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 0.75rem;
  max-width: 20rem;
}
.footer__tagline {
  font-size: 0.8125rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 0.5rem;
}
.footer__heading {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__link {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.footer__link:hover { color: var(--accent); }
.footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-light);
}

@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ── Back to top ── */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elevated);
  color: var(--text-muted);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.back-to-top svg { width: 1.25rem; height: 1.25rem; }

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__float { animation: none; }
}
