:root {
  --bg: #101114;
  --bg-soft: #17191f;
  --surface: #1f2229;
  --surface-2: #272b33;
  --paper: #fbf5ee;
  --paper-2: #f2e8db;
  --line: #343943;
  --text: #f4f5f8;
  --muted: #c0c5cf;
  --accent: #ff7720;
  --accent-strong: #f74806;
  --accent-soft: #ffb687;
  --accent-deep: #9b4200;
  --ok: #4bd7a8;
  --shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent-soft);
  text-decoration: none;
}

a:hover {
  color: #ffd3b2;
}

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

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 17, 20, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  width: 168px;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.main-nav a {
  color: #f5f6f8;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.main-nav a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  width: 42px;
  height: 38px;
  padding: 7px 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  margin: 5px 0;
  background: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 74px;
  padding-bottom: 96px;
  background-image: url("https://marcbd.com/wp-content/uploads/2025/07/ball-9723297_1280.jpg");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 119, 32, 0.32), rgba(16, 17, 20, 0.9) 55%),
              linear-gradient(100deg, rgba(16, 17, 20, 0.94), rgba(16, 17, 20, 0.58));
}

.hero-grid,
.hero-stats {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: "Roboto Slab", serif;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
}

h1 span {
  color: var(--accent);
}

.typed-line {
  margin: 0.6rem 0 0;
  font-size: clamp(1.1rem, 2.3vw, 1.6rem);
  font-weight: 600;
}

#typedRoles {
  color: var(--accent);
  border-right: 2px solid var(--accent);
  padding-right: 4px;
}

.hero-text {
  max-width: 640px;
  color: #f0f1f3;
  line-height: 1.72;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0.64rem 1.2rem;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.06);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-secondary:hover {
  color: #fff;
  border-color: var(--accent-soft);
}

.btn-dark-text {
  color: #172031;
  border-color: #ccd4df;
  background: #fff;
}

.btn-dark-text:hover {
  color: #172031;
  border-color: #ffa46f;
}

.photo-shell {
  width: min(360px, 95%);
  margin-left: auto;
  margin-right: auto;
  border-radius: 26px;
  overflow: hidden;
  background: radial-gradient(circle at 45% 10%, rgba(255, 119, 32, 0.28), rgba(16, 17, 20, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow);
}

.photo-shell img {
  width: 80%;
  margin: 0 auto;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.95rem;
  margin-top: 2rem;
}

.hero-stats article {
  background: rgba(31, 34, 41, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 0.9rem;
  backdrop-filter: blur(8px);
}

.hero-stats h2 {
  color: var(--accent);
  margin-bottom: 0.2rem;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
}

.hero-stats p {
  margin: 0;
  color: #e6e8eb;
  font-size: 0.9rem;
  line-height: 1.45;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 76px;
  fill: var(--paper);
}

.section {
  padding: 80px 0 26px;
}

.section-light {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 119, 32, 0.16), transparent 24%),
    radial-gradient(circle at 100% 10%, rgba(20, 32, 54, 0.1), transparent 18%),
    linear-gradient(180deg, var(--paper) 0%, #fffaf5 42%, #f3ede6 100%);
  color: #11131a;
}

.section-light::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.16;
  pointer-events: none;
}

.section-dark {
  background: linear-gradient(160deg, #121318, #1a1d24);
  color: #f4f5f8;
}

.section-blog {
  background: linear-gradient(130deg, #1d2027, #111318 54%, #2b1a0f);
}

.section-head {
  text-align: center;
  margin-bottom: 1.3rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.section-head h2 span {
  color: var(--accent);
}

.section-head .subtext {
  margin: 0 0 0.35rem;
  color: inherit;
  opacity: 0.76;
  font-weight: 600;
}

.section-light .section-head .subtext {
  color: #845233;
  opacity: 1;
}

.section-intro {
  max-width: 760px;
  margin: 0.7rem auto 0;
  color: #5a5045;
  line-height: 1.72;
}

.about-grid,
.contact-grid,
.order-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1rem;
}

.resume-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.about-grid .card {
  position: relative;
  overflow: hidden;
}

.about-grid .card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 119, 32, 0));
}

.about-grid .card:first-child {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(250, 238, 223, 0.96));
}

.about-grid .card:last-child {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 237, 225, 0.96));
}

.about-grid .info-list li {
  padding: 0.22rem 0;
}

.about-grid .info-list li + li {
  border-top: 1px solid rgba(141, 96, 51, 0.12);
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 246, 239, 0.96));
  border: 1px solid #eadfce;
  border-radius: var(--radius);
  box-shadow: 0 18px 36px rgba(61, 46, 31, 0.08);
  padding: 1.15rem;
}

.section-dark .card,
.section-blog .card,
.dark-card {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.dark-card h3,
.dark-card p,
.dark-card li {
  color: #e5e9f2;
}

.card p {
  margin: 0 0 0.85rem;
  line-height: 1.72;
}

.section-light a:not(.btn) {
  color: var(--accent-deep);
}

.section-light a:not(.btn):hover {
  color: #c65b0f;
}

.section-light .card h3,
.section-light .portfolio-card h3,
.section-light .resume-card h3 {
  color: #10141d;
}

.section-light .card p,
.section-light .card li,
.section-light .portfolio-card p,
.section-light .resume-card p {
  color: #3d4553;
}

.section-light strong {
  color: #161b24;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.info-list li {
  line-height: 1.62;
}

.badge-list {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.badge-list span {
  font-size: 0.77rem;
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff3e4, #f5ddc4);
  color: #7d3600;
  border: 1px solid #f0c79f;
}

.inline-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: #944000;
  font-weight: 700;
}

.inline-link:hover {
  color: #c65700;
}

.status-card {
  margin-top: 1rem;
}

.status-card h3 {
  margin-bottom: 0.5rem;
}

.card-grid,
.expertise-grid,
.service-grid,
.portfolio-grid,
.pricing-grid,
.blog-grid {
  display: grid;
  gap: 1rem;
}

.card-grid,
.expertise-grid,
.service-grid,
.portfolio-grid,
.pricing-grid,
.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service,
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.section-light .pricing-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e7d8c3;
  box-shadow: 0 18px 34px rgba(60, 46, 31, 0.1);
}

.featured-package {
  border: 2px solid var(--accent);
  transform: translateY(-6px);
}

.checkout-actions {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.checkout-actions .btn,
.direct-checkout-grid .btn {
  min-height: 38px;
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}

.service h3,
.portfolio-card h3,
.card h3,
.pricing-card h3,
.testimonial h3 {
  margin-bottom: 0.45rem;
}

.service p,
.portfolio-card p,
.pricing-card p,
.card p,
.pricing-card li {
  margin: 0;
  line-height: 1.66;
}

.pill {
  display: inline-block;
  margin-top: 0;
  margin-bottom: 0.55rem;
  padding: 0.25rem 0.58rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff0e3, #f6d9bc);
  color: #8f3a01;
  font-weight: 700;
  font-size: 0.75rem;
  border: 1px solid #f2cca7;
}

.filter-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.filter-row button {
  border: 1px solid #d0d5de;
  background: rgba(255, 255, 255, 0.88);
  color: #1d2633;
  border-radius: 999px;
  min-height: 36px;
  padding: 0.45rem 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.filter-row button.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.portfolio-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 244, 236, 0.98));
  border: 1px solid #e6d9c7;
  border-radius: var(--radius);
  box-shadow: 0 18px 34px rgba(60, 46, 31, 0.08);
  padding: 1rem;
}

.project-actions {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-actions a {
  font-weight: 700;
  font-size: 0.85rem;
  color: #7f3500;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff1e3, #f7dcc0);
  border: 1px solid #f1c79e;
}

.project-actions a:hover {
  color: #fff;
  background: #da5d0e;
}

.portfolio-card.hidden-card {
  display: none;
}

.step-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.45rem;
}

.order-stack {
  display: grid;
  gap: 1rem;
}

.direct-checkout-grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.small-note {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: #bdc7d9;
}

.resume-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 244, 236, 0.98));
  border: 1px solid #e6d9c7;
  border-radius: var(--radius);
  box-shadow: 0 18px 34px rgba(60, 46, 31, 0.08);
  padding: 1rem;
}

.resume-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.resume-preview {
  width: 100%;
  height: 420px;
  border: 1px solid #e3d8ca;
  border-radius: 10px;
  background: #fffaf6;
}

.center-row {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.testimonial-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
}

.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #4a4f5c;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}

.slider-btn:hover {
  border-color: var(--accent-soft);
}

.testimonial-track {
  position: relative;
  min-height: 180px;
}

.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.testimonial.active {
  opacity: 1;
  transform: translateY(0);
}

.testimonial p {
  margin: 0 0 0.8rem;
  line-height: 1.72;
  color: #dee2ea;
}

.testimonial h3 {
  margin: 0;
  color: var(--accent-soft);
  font-size: 1rem;
}

.blog-grid .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
}

.contact-form {
  display: grid;
  gap: 0.45rem;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d5dae3;
  border-radius: 10px;
  background: #fff;
  padding: 0.68rem 0.75rem;
  color: #10131a;
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(255, 119, 32, 0.2);
  border-color: #ff9f66;
}

.hidden-field {
  position: absolute;
  left: -99999px;
  opacity: 0;
  pointer-events: none;
}

.form-note {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: #5b5349;
}

.price-list-section .section-head {
  margin-bottom: 1.8rem;
}

.price-list-grid {
  align-items: stretch;
}

.price-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 100%;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.price-plan::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--mx, 18%) var(--my, 10%), rgba(255, 145, 77, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 240, 230, 0.94));
  z-index: -2;
}

.price-plan::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -78px;
  top: -74px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 27, 43, 0.12), transparent 66%);
  z-index: -1;
}

.price-plan:hover {
  transform: translateY(-10px);
  border-color: #ef8a37;
  box-shadow: 0 24px 44px rgba(61, 46, 31, 0.16);
}

.price-plan:nth-child(2) .pricing-icon,
.price-plan:nth-child(5) .pricing-icon {
  background: linear-gradient(135deg, #223047, #ff8b37);
}

.price-plan:nth-child(3) .pricing-icon,
.price-plan:nth-child(6) .pricing-icon {
  background: linear-gradient(135deg, #1b1e28, #d95b0d);
}

.pricing-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #182231, #ff7a1f);
  color: #fff;
  box-shadow: 0 16px 26px rgba(255, 122, 31, 0.18);
}

.pricing-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.price-row {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
}

.price-amount {
  font-family: "Roboto Slab", serif;
  font-size: clamp(2rem, 4vw, 2.4rem);
  line-height: 1;
  color: #10141d;
}

.price-period {
  margin-bottom: 0.2rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #955222;
}

.price-plan .info-list {
  gap: 0.55rem;
}

.price-plan .info-list li {
  position: relative;
  padding-left: 1.1rem;
  color: #40495a;
}

.price-plan .info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.67rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff7a1f, #cc4d00);
  box-shadow: 0 0 0 3px rgba(255, 122, 31, 0.14);
}

.pricing-actions {
  display: grid;
  gap: 0.55rem;
  margin-top: auto;
}

.pricing-actions .btn {
  width: 100%;
}

.section-light .pricing-card .btn-secondary {
  background: #fff;
  color: #152032;
  border-color: #d9bea0;
}

.section-light .pricing-card .btn-secondary:hover {
  background: #152032;
  color: #fff;
  border-color: #152032;
}

.dark-badge-list span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffe0c4;
}

.form-success {
  margin: 0.2rem 0 0;
  color: #087d58;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-footer {
  background: #0b0d11;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-wrap {
  min-height: 74px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  color: #d0d4de;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .order-grid,
  .card-grid,
  .expertise-grid,
  .service-grid,
  .portfolio-grid,
  .pricing-grid,
  .blog-grid,
  .hero-stats,
  .resume-grid {
    grid-template-columns: 1fr;
  }

  .featured-package {
    transform: none;
  }

  .photo-shell {
    margin-top: 1rem;
  }

  .price-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #0f1115;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 0.85rem 4%;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .testimonial-shell {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    width: 100%;
    border-radius: 10px;
    height: 38px;
  }

  .testimonial-track {
    min-height: 245px;
  }

  .resume-preview {
    height: 340px;
  }

  .direct-checkout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .price-list-grid {
    grid-template-columns: 1fr;
  }
}
