:root {
  --orange: #D95F1E;
  --orange-dark: #B84712;
  --orange-deep: #8D350B;
  --orange-soft: #FFF0E8;
  --orange-pale: #FFF8F4;
  --ink: #111111;
  --muted: #666666;
  --white: #FFFFFF;
  --paper: #F7F9FB;
  --line: #E7E7E7;
  --radius: 22px;
  --shadow: 0 22px 60px rgba(80, 34, 12, 0.10);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 44px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 251, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 95, 30, 0.12);
}
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 182px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 0.94rem; font-weight: 700; }
.main-nav a:not(.nav-cta) { position: relative; }
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--orange);
  transition: right .2s ease;
}
.main-nav a:not(.nav-cta):hover { color: var(--orange-dark); }
.main-nav a:not(.nav-cta):hover::after { right: 0; }
.nav-cta {
  background: var(--orange);
  color: var(--white);
  padding: 11px 19px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(217, 95, 30, 0.22);
}
.nav-cta:hover { background: var(--orange-dark); }
.menu-toggle {
  display: none;
  border: 1px solid rgba(217,95,30,.25);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 15px;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 88px;
  background:
    radial-gradient(circle at 90% 15%, rgba(217,95,30,.13), transparent 29%),
    linear-gradient(180deg, var(--paper) 0%, var(--white) 73%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -180px;
  bottom: -210px;
  border: 58px solid rgba(217,95,30,.07);
  border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 72px; align-items: center; }
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--orange-dark);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow .brand-case {
  text-transform: none;
}
h1, h2, h3 { margin-top: 0; line-height: 1.1; letter-spacing: -.045em; }
h1 { max-width: 800px; font-size: clamp(3rem, 6.8vw, 5.7rem); margin-bottom: 25px; }
h2 { font-size: clamp(2.15rem, 4vw, 3.65rem); margin-bottom: 20px; }
h3 { font-size: 1.34rem; margin-bottom: 12px; }
p { color: var(--muted); }
.hero-text { max-width: 675px; font-size: 1.17rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 33px 0 29px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 51px;
  padding: 0 23px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: var(--white); box-shadow: 0 10px 24px rgba(217,95,30,.20); }
.button-primary:hover { background: var(--orange-dark); box-shadow: 0 12px 28px rgba(217,95,30,.28); }
.button-secondary { border-color: rgba(217,95,30,.35); background: var(--white); color: var(--orange-dark); }
.button-secondary:hover { background: var(--orange-pale); }
.full { width: 100%; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 22px; color: var(--muted); font-size: .89rem; }
.trust-row span { position: relative; padding-left: 17px; }
.trust-row span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); position: absolute; left: 0; top: .56em; }

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -55px -52px;
  border: 1px solid rgba(217,95,30,.12);
  border-radius: 50%;
  transform: rotate(-8deg);
}
.design-card {
  position: relative;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(217,95,30,.18);
  border-radius: 30px;
  padding: 25px;
  box-shadow: var(--shadow);
}
.design-card::before {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
  left: 24px;
  top: 24px;
  box-shadow: 18px 0 0 rgba(217,95,30,.35), 36px 0 0 rgba(217,95,30,.16);
}
.design-card-head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; padding-left: 58px; }
.status { color: var(--orange-dark); background: var(--orange-soft); padding: 4px 11px; border-radius: 999px; font-size: .78rem; }
.plasmid { margin: 9px auto 0; color: var(--orange); }
.svg-center { font: 400 15px Helvetica, "Helvetica Neue", Arial, sans-serif; fill: var(--muted); letter-spacing: 0; }
.construct-strip { display: grid; grid-template-columns: 1.2fr 2.2fr .8fr 1.4fr; border-radius: 10px; overflow: hidden; font-size: .71rem; font-weight: 800; text-align: center; box-shadow: inset 0 0 0 1px rgba(217,95,30,.1); }
.part { padding: 12px 5px; }
.promoter { background: #FFE2D2; color: #7B2B08; }
.gene { background: var(--orange); color: var(--white); }
.tag { background: #F8B38C; color: #602004; }
.terminator { background: var(--orange-dark); color: var(--white); }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: .9rem; }
.check-list li::before { content: "✓"; color: var(--orange); font-weight: 900; margin-right: 9px; }

.section { padding: 100px 0; }
.section-soft { background: var(--paper); padding: 86px 0; }
.section-dark {
  position: relative;
  overflow: hidden;
  background: var(--orange);
  color: var(--white);
}
.section-dark::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 70px solid rgba(255,255,255,.08);
  border-radius: 50%;
  right: -170px;
  top: -260px;
}
.section-dark .container { position: relative; z-index: 1; }
.section-dark p { color: rgba(255,255,255,.82); }
.section-heading { max-width: 770px; margin-bottom: 46px; }
.section-heading.compact { margin-bottom: 0; }
.section-heading.light .eyebrow { color: var(--white); opacity: .9; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 82px; align-items: start; }
.problem-copy p:first-child { margin-top: 0; }
.problem-copy p { font-size: 1.12rem; }
.card-grid { display: grid; gap: 18px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.service-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 260px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card::after {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  border: 13px solid rgba(217,95,30,.08);
  border-radius: 50%;
  right: -24px;
  bottom: -30px;
}
.service-card:hover { transform: translateY(-5px); border-color: rgba(217,95,30,.32); box-shadow: 0 16px 38px rgba(93,38,10,.09); }
.service-number { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark); font-weight: 900; margin-bottom: 35px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-grid article { border-top: 1px solid rgba(255,255,255,.42); padding-top: 24px; }
.process-grid span { display: inline-flex; width: 43px; height: 43px; align-items: center; justify-content: center; border-radius: 50%; background: var(--white); color: var(--orange-dark); font-weight: 900; margin-bottom: 34px; }
.process-grid h3 { color: var(--white); }

.packages-section { background: var(--white); }
.pricing-heading { max-width: 860px; margin-inline: auto; text-align: center; }
.pricing-heading p:last-child { max-width: 720px; margin-inline: auto; }
.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(217,95,30,.18);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 14px 38px rgba(93,38,10,.06);
  min-height: 100%;
}
.package-card.featured-package {
  border: 2px solid var(--orange);
  box-shadow: 0 20px 52px rgba(217,95,30,.15);
  background: linear-gradient(180deg, var(--orange-pale), var(--white) 52%);
}
.package-card.quote-package { background: var(--paper); }
.package-badge {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--orange);
  color: var(--white);
  font-size: .75rem;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(217,95,30,.20);
}
.package-label {
  margin: 0 0 10px;
  color: var(--orange-dark);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.package-card h3 { margin-bottom: 12px; }
.package-price {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 2.35rem;
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 900;
}
.package-price.custom-price { font-size: 1.55rem; line-height: 1.2; color: var(--orange-dark); }
.package-subtitle { margin: 0 0 22px; color: var(--muted); }
.package-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 11px;
}
.package-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.45;
}
.package-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 900;
}
.package-card .button { margin-top: auto; }
.pricing-note {
  max-width: 820px;
  margin: 28px auto 0;
  text-align: center;
  font-size: .93rem;
}
.text-link { color: var(--orange-dark); font-weight: 800; padding-top: 22px; }
.text-link:hover { color: var(--orange); }

.cost-box { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.cost-table { background: var(--white); border: 1px solid rgba(217,95,30,.18); border-radius: var(--radius); overflow: hidden; box-shadow: 0 14px 38px rgba(93,38,10,.06); }
.cost-table > div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cost-table > div:last-child { border-bottom: 0; }
.cost-total { background: var(--orange); color: var(--white); }
.cost-total span, .cost-total strong { color: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 82px; }
.about-grid p { font-size: 1.08rem; }
.testimonial-section { padding-top: 30px; }
.testimonial-wrap {
  position: relative;
  overflow: hidden;
  background: var(--orange);
  color: var(--white);
  border-radius: 30px;
  padding: clamp(36px, 7vw, 72px);
  box-shadow: 0 22px 56px rgba(217,95,30,.19);
}
.testimonial-wrap::after {
  content: "“";
  position: absolute;
  right: 24px;
  top: -62px;
  font-size: 260px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,.12);
}
.testimonial-wrap blockquote { position: relative; z-index: 1; margin: 0; max-width: 970px; font-size: clamp(1.5rem, 3vw, 2.35rem); line-height: 1.35; letter-spacing: -.03em; }
.testimonial-wrap p { position: relative; z-index: 1; color: rgba(255,255,255,.8); margin-bottom: 0; }

.contact-section { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.contact-note { margin-top: 34px; display: grid; gap: 4px; }
.contact-note a { color: var(--orange-dark); font-weight: 800; }
.contact-note small { color: var(--muted); }
.contact-form { background: var(--white); border: 1px solid rgba(217,95,30,.18); border-radius: var(--radius); padding: 29px; box-shadow: 0 16px 42px rgba(93,38,10,.07); display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-weight: 750; font-size: .92rem; }
.contact-form input, .contact-form textarea, .contact-form select { border: 1px solid #D8D8D8; border-radius: 12px; padding: 13px 14px; color: var(--ink); background: var(--white); }
.contact-form input[type="file"] { padding: 11px 14px; background: var(--orange-pale); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: 3px solid rgba(217,95,30,.14); border-color: var(--orange); }
.form-note { font-size: .78rem; margin: 0; }

.site-footer { background: var(--paper); color: var(--ink); padding: 55px 0 26px; border-top: 5px solid var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 50px; }
.footer-brand { margin-bottom: 12px; }
.footer-brand img { width: 210px; }
.site-footer p { max-width: 560px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; align-items: start; font-weight: 700; }
.footer-links a:hover { color: var(--orange-dark); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; color: #858585; font-size: .84rem; }

.legal-page { min-height: 70vh; padding: 90px 0; background: linear-gradient(180deg, var(--paper), var(--white) 280px); }
.legal-page .container { max-width: 860px; }
.legal-page h1 { font-size: clamp(2.7rem, 6vw, 4.7rem); }
.legal-page h2 { font-size: 1.55rem; margin-top: 42px; }
.legal-note { background: var(--orange-pale); border: 1px solid rgba(217,95,30,.3); padding: 16px 18px; border-radius: 12px; color: #71300F; }

@media (max-width: 960px) {
  .hero-grid, .split, .cost-box, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 68px; }
  .hero-visual { max-width: 650px; }
  .card-grid.three { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-heading { margin-bottom: 36px; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { min-height: 72px; }
  .brand img { width: 152px; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 14px;
    right: 14px;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid rgba(217,95,30,.22);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 8px 6px; }
  .nav-cta { text-align: center; }
  .hero { padding: 54px 0 64px; }
  h1 { font-size: 3rem; }
  .section, .section-soft { padding: 72px 0; }
  .card-grid.three, .process-grid, .packages-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .trust-row { display: grid; }
  .design-card { padding: 20px; }
  .design-card-head { padding-left: 54px; }
  .construct-strip { font-size: .62rem; }
}


/* Project details page */
.project-hero { padding-top: 84px; }
.project-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
}
.project-summary-card {
  background: var(--white);
  border: 1px solid rgba(217,95,30,.18);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 16px 42px rgba(93,38,10,.07);
}
.project-summary-card h3 { margin-bottom: 18px; }
.project-form-section { background: var(--white); }
.project-form {
  background: var(--white);
  border: 1px solid rgba(217,95,30,.18);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 20px 54px rgba(93,38,10,.08);
  display: grid;
  gap: 22px;
}
.project-form label {
  display: grid;
  gap: 8px;
  font-weight: 750;
  font-size: .92rem;
}
.project-form input,
.project-form textarea,
.project-form select {
  border: 1px solid #D8D8D8;
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  width: 100%;
}
.project-form input[type="file"] {
  padding: 11px 14px;
  background: var(--orange-pale);
}
.project-form input:focus,
.project-form textarea:focus,
.project-form select:focus {
  outline: 3px solid rgba(217,95,30,.14);
  border-color: var(--orange);
}
.form-grid-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.sequence-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(217,95,30,.18);
  border-radius: 18px;
}
.sequence-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 880px;
  background: var(--white);
}
.sequence-table th,
.sequence-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}
.sequence-table th {
  background: var(--orange-pale);
  color: var(--orange-deep);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sequence-table tr:last-child td { border-bottom: 0; }
.sequence-table td:first-child { width: 26%; }
.sequence-table td:nth-child(2) { width: 48%; }
.sequence-table td:nth-child(3) { width: 26%; }
.sequence-table td span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.45;
}
.upload-warning {
  background: var(--orange-pale);
  border: 1px solid rgba(217,95,30,.24);
  border-radius: 12px;
  padding: 14px 16px;
}

@media (max-width: 960px) {
  .project-hero-grid,
  .form-grid-two { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .project-hero { padding-top: 60px; }
  .project-summary-card { padding: 24px; }
  .sequence-table { min-width: 720px; }
}
