/* home.css — homepage section layouts.
   Hero, services, workflow, about, FAQ, portfolio, pricing and quote form.
   Depends on theme.css for variables, buttons, typography and layout
   primitives; load theme.css first. */

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 160px 20px 120px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(238, 62, 201, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 50%, rgba(255, 111, 60, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 1100px;
  position: relative;
  z-index: 2;
}

.hero-headline {
  font-size: clamp(4rem, 10vw, 9rem);
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #EE3EC9, #FF6F3C, #EE3EC9, #FF6F3C);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}

/* Mongolian renders in Oswald (Bebas Neue has no Cyrillic): taller glyphs and
   the Й breve overlap at line-height 0.95, and background-clip:text crops any
   glyph overhang outside the box — extra leading + padding fix both. */
html[lang="mn"] .hero-headline {
  line-height: 1.1;
  padding: 0.1em 0;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 50px;
  line-height: 1.7;
  font-weight: 300;
}

.hero .btn {
  padding: 18px 50px;
  font-size: 1rem;
}

/* Floating gradient orbs for hero background depth */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.15;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--accent-1);
  top: 10%;
  left: -10%;
  animation: float1 15s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-2);
  bottom: 10%;
  right: -10%;
  animation: float2 18s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(60px, 40px); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, -60px); }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: 160px 0;
  background: var(--bg-alt);
}

.services-header {
  margin-bottom: 80px;
}

/* Flex rather than a 3-column grid: with 5 cards a grid leaves the last row
   left-aligned with a hole on the right. Wrapping flex centres the orphan row. */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.services-grid > .service-card {
  flex: 1 1 320px;
  max-width: 380px;
  /* Column layout so .service-actions can be pinned to the bottom: titles wrap
     to one or two lines depending on the service, which otherwise leaves the
     CTA buttons sitting at different heights across the row. */
  display: flex;
  flex-direction: column;
}

/* Card actions: primary CTA plus the expand toggle. */
.service-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  width: 100%;
}

.service-actions .service-toggle {
  margin-top: 0;
}

.service-card {
  background: var(--bg-card);
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-image: var(--accent-gradient) 1;
  border-image-slice: 1;
  border-image-width: 0 0 0 3px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 50px rgba(238, 62, 201, 0.12);
  border-color: rgba(238, 62, 201, 0.3);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 30px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-card h3 {
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.service-card .short-desc {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.service-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--accent-1);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
  background: none;
  border: none;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-toggle:hover {
  color: var(--accent-2);
}


/* ============================================
   WORKFLOW SECTION
   ============================================ */
.workflow {
  padding: 160px 0;
  background: var(--bg);
}

.workflow-header {
  margin-bottom: 80px;
}

.workflow-timeline {
  position: relative;
  max-width: 800px;
}

.workflow-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent-gradient);
  opacity: 0.3;
}

.workflow-step {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
  align-items: flex-start;
}

.workflow-step:last-child {
  margin-bottom: 0;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  width: 60px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-content h3 {
  font-size: 1.6rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
/* ============================================
   ON AI
   Sits between two striped sections, so instead of a third background it is
   an inset panel: it reads as a statement rather than as more page.
   ============================================ */
.ai-stance {
  padding: 0 0 160px;
  background: var(--bg);
}

.stance-panel {
  padding: 64px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-1);
}

.stance-lead { max-width: 760px; margin-bottom: 48px; }

.stance-kicker {
  margin: 0 0 14px;
  color: var(--accent-1);
  font-family: var(--font-nav);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.stance-title {
  margin: 0 0 24px;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  text-transform: uppercase;
}

.stance-thesis {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* The one sentence the section exists for. */
.stance-punch {
  margin: 0;
  padding-left: 20px;
  border-left: 2px solid var(--accent-2);
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
}
.stance-punch strong { color: var(--accent-2); }

.stance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}

.stance-item h3 {
  margin: 0 0 12px;
  font-family: var(--font-nav);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stance-item p { margin: 0; color: var(--text-muted); font-size: 0.9rem; line-height: 1.75; }
.stance-item-key h3 { color: var(--accent-1); }

.stance-foot {
  margin: 44px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}
.stance-foot a {
  display: inline-block;
  color: var(--accent-1);
  font-family: var(--font-nav);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.stance-foot a:hover { color: var(--accent-2); }

@media (max-width: 768px) {
  .ai-stance { padding-bottom: 100px; }
  .stance-panel { padding: 32px 24px; }
  .stance-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
}

.about {
  padding: 160px 0;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -8%;
  width: 520px;
  height: 520px;
  background: var(--accent-gradient);
  filter: blur(160px);
  opacity: 0.12;
  transform: translateY(-50%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 100px;
  align-items: center;
  position: relative;
}

.about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

.about-index {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.35em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.about-logo-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
}

.about-logo-frame::before {
  content: '';
  position: absolute;
  inset: -12%;
  background: var(--accent-gradient);
  filter: blur(70px);
  opacity: 0.45;
  border-radius: 40px;
  z-index: 0;
}

.about-logo-tile {
  position: relative;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  overflow: hidden;
  z-index: 1;
}

.about-logo-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(238, 62, 201, 0.10), transparent 55%),
    radial-gradient(circle at 85% 90%, rgba(255, 111, 60, 0.10), transparent 55%);
  pointer-events: none;
}

.about-logo-tile img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

.about-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 22px;
  font-weight: 600;
}

.about-content h2 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.about-role {
  font-size: 0.95rem;
  color: var(--accent-1);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  margin-bottom: 32px;
}

.about-bio {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 44px;
  max-width: 560px;
}

.about-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 44px;
  max-width: 560px;
}

.about-capability {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.about-capability:hover {
  border-color: var(--accent-1);
  transform: translateY(-2px);
}

.about-capability i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-gradient);
  color: #0A0A0A;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.about-capability span {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  max-width: 560px;
}

.about-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
}

.about-detail i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--accent-1);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.about-detail span {
  color: var(--text-muted);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  padding: 160px 0;
  background: var(--bg);
}

.faq-header {
  margin-bottom: 60px;
  text-align: center;
}

.faq-header .section-subtitle {
  margin: 0 auto;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-color: rgba(238, 62, 201, 0.3);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 30px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: color 0.3s ease;
}

.faq-item.active .faq-question {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-question i {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  font-size: 0.85rem;
  -webkit-text-fill-color: var(--text-muted);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  -webkit-text-fill-color: var(--accent-1);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  padding: 0 30px;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 30px 24px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
  padding: 160px 0;
  background: var(--bg-alt);
}

.portfolio-header {
  margin-bottom: 80px;
  text-align: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 40px rgba(238, 62, 201, 0.1);
  border-color: rgba(238, 62, 201, 0.3);
}

/* "Case Study" badge — marks portfolio items with a full case study */
.portfolio-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent-gradient);
  padding: 5px 11px;
  box-shadow: 0 6px 18px rgba(238, 62, 201, 0.35);
  pointer-events: none;
}
.portfolio-badge i { font-size: 0.7em; }

.portfolio-card-top {
  height: 220px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 30px;
}

.portfolio-card-top img {
  max-height: 100px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
  filter: brightness(0.9);
}

.portfolio-card:hover .portfolio-card-top img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.7) 50%, rgba(10,10,10,0.4) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.portfolio-overlay .portfolio-link {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-1);
  display: flex;
  align-items: center;
  gap: 6px;
}

.portfolio-card-body {
  padding: 24px;
}

.portfolio-card-body h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.portfolio-tag {
  font-size: 0.7rem;
  padding: 4px 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 20px;
}

/* Make first two portfolio items span wider */
.portfolio-card:nth-child(1),
.portfolio-card:nth-child(2) {
  grid-column: span 1;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
  padding: 160px 0;
  background: var(--bg);
}

.pricing-header {
  text-align: center;
  margin-bottom: 80px;
}

.pricing-header .section-subtitle {
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 50px 40px;
  border-radius: 0;
  position: relative;
  transition: all 0.4s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
}

.pricing-card.featured {
  border: 2px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-image: linear-gradient(var(--bg-card), var(--bg-card)), var(--accent-gradient);
  box-shadow: var(--glow);
}

.pricing-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  background: var(--accent-gradient);
  color: #fff;
  border-radius: 20px;
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 3rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 30px;
}

.pricing-features {
  margin-bottom: 40px;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li i {
  color: var(--accent-1);
  margin-top: 4px;
  flex-shrink: 0;
}

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

/* ============================================
   QUOTE FORM SECTION
   ============================================ */
.quote-section {
  padding: 160px 0;
  background: var(--bg-alt);
}

.quote-header {
  text-align: center;
  margin-bottom: 80px;
}

.quote-header .section-subtitle {
  margin: 0 auto;
}

.quote-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-group label {
  display: block;
  font-family: 'General Sans', 'Archivo', 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  color: var(--text);
}

.form-group select,
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
  border-image: var(--accent-gradient) 1;
  box-shadow: 0 0 20px rgba(238, 62, 201, 0.1);
}

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

.form-group select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.checkbox-item {
  display: block;
  cursor: pointer;
  font-family: 'General Sans', 'Archivo', 'Inter', sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  text-transform: none !important;
  color: #666;
  padding: 14px 20px;
  border-left: 3px solid transparent;
  background: rgba(255,255,255,0.03);
  transition: all 0.2s ease;
  user-select: none;
}

.checkbox-item:hover {
  color: #aaa;
  background: rgba(255,255,255,0.06);
}

.checkbox-item:has(input:checked) {
  color: #f0f0f0;
  background: rgba(238,62,201,0.08);
  border-left-color: var(--accent-1);
}

.checkbox-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

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

/* Estimate Sidebar */
.estimate-sidebar {
  position: sticky;
  top: 120px;
}

.estimate-box {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 20px;
  position: relative;
  border: 2px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-image: linear-gradient(var(--bg-card), var(--bg-card)), var(--accent-gradient);
  box-shadow: var(--glow);
}

.estimate-box h3 {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.estimate-box .estimate-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.estimate-price {
  font-family: var(--font-display);
  font-size: 4rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  line-height: 1;
}

.estimate-range {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.estimate-breakdown {
  margin-bottom: 30px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.estimate-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.estimate-item span:last-child {
  color: var(--text);
  font-weight: 600;
}

.free-items {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.free-items h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-1);
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-weight: 700;
}

.free-items li {
  padding: 4px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.free-items li i {
  color: var(--accent-1);
  font-size: 0.75rem;
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {

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

@media (max-width: 1024px) {


  .services-grid {
    max-width: 600px;
    margin: 0 auto;
  }

  .services-grid > .service-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .about-visual {
    align-items: center;
  }

  .about-logo-frame {
    max-width: 320px;
  }

  .about-capabilities {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .about-bio,
  .about-details {
    max-width: 100%;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .quote-layout {
    grid-template-columns: 1fr;
  }

  .estimate-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {


  .hero {
    padding: 140px 20px 100px;
  }

  .hero-headline {
    font-size: clamp(3rem, 12vw, 5rem);
  }

  .services,
  .workflow,
  .about,
  .faq,
  .portfolio,
  .pricing,
  .quote-section {
    padding: 100px 0;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .checkbox-group {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    gap: 24px;
  }

  .step-number {
    font-size: 2.5rem;
    width: 45px;
  }

  .workflow-timeline::before {
    left: 22px;
  }
}

@media (max-width: 480px) {


  .hero-headline {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .hero .btn {
    padding: 14px 36px;
  }
}
