/* Shared layout for the configurable platform-development pages. */
.tt-platform-page {
  --ttp-ink: #172b4d;
  --ttp-muted: #657184;
  --ttp-line: #e4e9ef;
  --ttp-soft: #f5f8fb;
  --ttp-accent: var(--coral, #ff5b4a);
  color: var(--ttp-ink);
  overflow: hidden;
}

.tt-platform-page *,
.tt-platform-page *::before,
.tt-platform-page *::after {
  box-sizing: border-box;
}

.tt-platform-page p { margin-top: 0; }
.ttp-container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.ttp-container--narrow { max-width: 820px; }

.ttp-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 8vw, 104px) 0 0;
  color: #fff;
  background-color: #172b4d;
  background-position: center;
  background-size: cover;
}

.ttp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  padding-bottom: clamp(46px, 7vw, 86px);
}

.ttp-hero-copy { max-width: 680px; }
.ttp-eyebrow,
.ttp-kicker {
  display: inline-block;
  margin: 0 0 16px;
  color: var(--ttp-accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ttp-hero .ttp-eyebrow { color: #ffb1a7; }
.ttp-hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2.5rem, 5.4vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.04;
}

.ttp-lead {
  max-width: 650px;
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.75;
}
.ttp-lead p:last-child { margin-bottom: 0; }
.ttp-starting { margin: 20px 0 0; color: #fff; font-size: 1rem; font-weight: 750; }
.ttp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.ttp-hero .btn-coral,
.ttp-contact-section .btn-coral,
.ttp-price-card .btn-coral {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 7px;
  color: #fff;
  background: var(--ttp-accent);
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, filter .18s ease;
}
.ttp-hero .btn-coral:hover,
.ttp-contact-section .btn-coral:hover,
.ttp-price-card .btn-coral:hover { color: #fff; filter: brightness(.95); transform: translateY(-2px); }
.ttp-hero .btn-outline,
.ttp-contact-section .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 21px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 7px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.ttp-contact-section .btn-outline { border-color: #cad3df; color: var(--ttp-ink); }
.ttp-hero .btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.ttp-contact-section .btn-outline:hover { border-color: var(--ttp-ink); color: var(--ttp-ink); }
.ttp-trust-note { margin: 20px 0 0; color: rgba(255,255,255,.68); font-size: .88rem; }

.ttp-hero-media { display: flex; min-height: 280px; align-items: center; justify-content: center; }
.ttp-hero-image { display: block; width: 100%; max-height: 450px; border-radius: 18px; object-fit: cover; box-shadow: 0 26px 68px rgba(0,0,0,.25); }
.ttp-platform-art {
  display: flex;
  width: min(100%, 390px);
  min-height: 300px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.15), rgba(255,255,255,.05));
  box-shadow: 0 28px 70px rgba(0,0,0,.2);
  text-align: center;
  backdrop-filter: blur(8px);
}
.ttp-platform-art span { font-size: 6rem; line-height: 1; }
.ttp-platform-art .ttp-platform-logo { width: 76px; height: 76px; object-fit: contain; }
.ttp-card-icon-image { display: block; width: 44px; height: 44px; object-fit: contain; margin-bottom: 12px; }
.ttp-platform-intro-content { margin: 0 auto 24px; max-width: 860px; }
.ttp-service-actions { color: var(--ttp-muted); font-size: .95rem; line-height: 1.65; }
.ttp-service-actions p:last-child { margin-bottom: 0; }
.ttp-platform-art strong { color: #fff; font-size: 1.5rem; }
.ttp-platform-art small { color: rgba(255,255,255,.72); font-size: 1rem; }

.ttp-badges { border-top: 1px solid rgba(255,255,255,.13); background: rgba(6,18,36,.16); }
.ttp-badges-inner { display: flex; min-height: 62px; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 38px; }
.ttp-badges-inner > span { display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,.84); font-size: .88rem; }
.ttp-badges-inner b { color: #ffb1a7; font-size: 1.1rem; }

.ttp-platform-nav { border-bottom: 1px solid var(--ttp-line); background: #fff; }
.ttp-platform-links { display: flex; min-height: 68px; flex-wrap: wrap; align-items: center; justify-content: center; gap: 9px 23px; }
.ttp-platform-nav-label { color: var(--ttp-muted); font-size: .8rem; font-weight: 700; }
.ttp-platform-links a { color: #34445c; font-size: .87rem; font-weight: 650; text-decoration: none; }
.ttp-platform-links a:hover { color: var(--ttp-accent); }
.ttp-platform-links a span { margin-right: 5px; color: var(--ttp-accent); }

.ttp-section { padding: clamp(58px, 7vw, 92px) 0; background: #fff; }
.ttp-section--soft { background: var(--ttp-soft); }
.ttp-section-heading { max-width: 770px; margin: 0 auto 38px; text-align: center; }
.ttp-section-heading h2,
.ttp-contact-section h2 {
  margin: 0 0 14px;
  color: var(--ttp-ink);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.13;
}
.ttp-section-intro { color: var(--ttp-muted); font-size: 1rem; line-height: 1.75; }
.ttp-section-intro p:last-child { margin-bottom: 0; }

.ttp-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ttp-what-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ttp-help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.ttp-card {
  position: relative;
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--ttp-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(23,43,77,.035);
}
.ttp-card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 11px;
  color: var(--ttp-accent);
  background: #fff0ed;
  font-size: 1.2rem;
}
.ttp-card h3,
.ttp-portfolio-copy h3,
.ttp-price-card h3,
.ttp-process-step h3 { margin: 0 0 9px; color: var(--ttp-ink); font-size: 1.08rem; font-weight: 760; line-height: 1.35; }
.ttp-card p,
.ttp-portfolio-copy > p { margin: 0; color: var(--ttp-muted); font-size: .92rem; line-height: 1.65; }
.ttp-card-price { display: block; margin-top: 16px; color: var(--ttp-ink); font-size: .9rem; }
.ttp-text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 17px; color: #d84335; font-size: .9rem; font-weight: 750; text-decoration: none; }
.ttp-text-link:hover { color: #a92b20; }
.ttp-what-card { position: relative; padding: 22px; border: 1px solid var(--ttp-line); border-radius: 12px; background: #fff; }
.ttp-card-hit { position: absolute; inset: 0; border-radius: inherit; }
.ttp-what-card:has(.ttp-card-hit):hover { border-color: #f5a49b; transform: translateY(-2px); transition: transform .18s ease, border-color .18s ease; }
.ttp-quick-services-link { margin: 28px 0 0; color: var(--ttp-muted); text-align: center; }
.ttp-quick-services-link a { color: #d84335; font-weight: 750; text-decoration: none; }

.ttp-pricing-section { background: #172b4d; }
.ttp-pricing-section .ttp-kicker { color: #ffb1a7; }
.ttp-pricing-section .ttp-section-heading h2 { color: #fff; }
.ttp-pricing-section .ttp-section-intro { color: rgba(255,255,255,.72); }
.ttp-pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 17px; }
.ttp-price-card { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 28px; border: 1px solid rgba(255,255,255,.18); border-radius: 13px; background: #fff; }
.ttp-price-card.is-featured { border: 2px solid #ff8a7d; box-shadow: 0 15px 40px rgba(0,0,0,.18); }
.ttp-price-tag { align-self: flex-start; margin: -4px 0 12px; padding: 5px 10px; border-radius: 999px; color: #a53229; background: #ffebe8; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.ttp-price { margin: 0 0 12px; color: #d84335; font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 850; letter-spacing: -.035em; }
.ttp-price-desc { min-height: 50px; margin: 0 0 18px; color: var(--ttp-muted); font-size: .92rem; line-height: 1.6; }
.ttp-feature-list { flex: 1; margin: 0 0 23px; color: #445269; font-size: .88rem; line-height: 1.7; }
.ttp-feature-list ul { margin: 0; padding-left: 1.2em; }
.ttp-feature-list p { margin: 0 0 7px; }
.ttp-price-card .btn-coral { align-self: flex-start; margin-top: auto; }

.ttp-portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ttp-portfolio-card { overflow: hidden; border: 1px solid var(--ttp-line); border-radius: 13px; background: #fff; }
.ttp-portfolio-image { display: grid; aspect-ratio: 16 / 10; place-items: center; overflow: hidden; background: linear-gradient(135deg,#e9f0f7,#f9fbfd); }
.ttp-portfolio-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ttp-portfolio-card:hover .ttp-portfolio-image img { transform: scale(1.035); }
.ttp-portfolio-placeholder span { color: #d84335; font-size: 4rem; }
.ttp-portfolio-copy { padding: 21px; }
.ttp-project-category { display: inline-block; margin-bottom: 9px; color: #d84335; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ttp-project-platform { margin: 0 0 10px !important; font-size: .8rem !important; font-weight: 700; }
.ttp-empty-portfolio { padding: 24px; border: 1px dashed #ccd5e0; border-radius: 10px; color: var(--ttp-muted); text-align: center; }
.ttp-empty-portfolio a { color: #d84335; font-weight: 750; }

.ttp-process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.ttp-process-step { position: relative; padding: 24px 20px; border-top: 2px solid #ffd0ca; }
.ttp-process-number { display: inline-grid; width: 38px; height: 38px; place-items: center; margin-bottom: 14px; border-radius: 50%; color: #fff; background: var(--ttp-accent); font-size: .9rem; font-weight: 800; }
.ttp-process-icon { display: inline-block; margin-left: 10px; color: #d84335; font-size: 1.25rem; vertical-align: -2px; }
.ttp-process-step p { margin: 0; color: var(--ttp-muted); font-size: .91rem; line-height: 1.65; }

.ttp-faq-list { display: flex; flex-direction: column; gap: 11px; }
.ttp-faq { padding: 0 21px; border: 1px solid var(--ttp-line); border-radius: 10px; background: #fff; }
.ttp-faq summary { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 16px; color: var(--ttp-ink); cursor: pointer; font-weight: 750; list-style: none; }
.ttp-faq summary::-webkit-details-marker { display: none; }
.ttp-faq summary span { color: #d84335; font-size: 1.4rem; transition: transform .18s ease; }
.ttp-faq[open] summary span { transform: rotate(45deg); }
.ttp-faq-answer { padding: 0 0 18px; color: var(--ttp-muted); font-size: .94rem; line-height: 1.75; }
.ttp-faq-answer p:last-child { margin-bottom: 0; }
.ttp-faq-category { display: inline-block; margin: -3px 0 10px; color: #d84335; font-size: .72rem; font-weight: 800; text-transform: uppercase; }

.ttp-contact-section { padding: clamp(42px, 6vw, 72px) 0; border-top: 1px solid var(--ttp-line); background: #fff; }
.ttp-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.ttp-contact-inner > div:first-child { max-width: 620px; }
.ttp-contact-section h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.ttp-contact-section .ttp-kicker { margin-bottom: 11px; }
.ttp-contact-section .ttp-actions { flex: 0 0 auto; margin-top: 0; }

.ttp-final-cta { padding: clamp(44px, 6vw, 76px) 0; color: var(--ttp-cta-text,#fff); background-color: var(--ttp-cta-bg,#172b4d); background-position: center; background-size: cover; }
.ttp-final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.ttp-final-cta h2 { margin: 0 0 12px; color: inherit; font-size: clamp(1.85rem, 3.2vw, 2.8rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
.ttp-final-cta-inner > div:first-child { max-width: 700px; }
.ttp-final-cta p { margin: 0; color: inherit; opacity: .82; font-size: 1rem; line-height: 1.65; }
.ttp-final-cta .ttp-actions { flex: 0 0 auto; margin-top: 0; }
.ttp-final-cta .btn-white,
.ttp-btn-outline-light { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 21px; border: 1px solid #fff; border-radius: 7px; color: #172b4d; background: #fff; font-weight: 750; text-decoration: none; }
.ttp-final-cta .btn-white:hover { color: #172b4d; background: #f0f3f8; }
.ttp-btn-outline-light { color: #fff; background: transparent; }
.ttp-btn-outline-light:hover { color: #172b4d; background: #fff; }

@media (max-width: 900px) {
  .ttp-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(230px, .72fr); gap: 34px; }
  .ttp-service-grid,
  .ttp-help-grid,
  .ttp-pricing-grid,
  .ttp-portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ttp-what-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ttp-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .ttp-container { width: min(100% - 34px, 1160px); }
  .ttp-hero { padding-top: 52px; }
  .ttp-hero-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 40px; }
  .ttp-hero h1 { font-size: clamp(2.35rem, 11vw, 3.25rem); }
  .ttp-hero-media { min-height: 0; }
  .ttp-hero-image { max-height: 300px; }
  .ttp-platform-art { min-height: 230px; }
  .ttp-platform-art span { font-size: 4.6rem; }
  .ttp-badges-inner { justify-content: flex-start; gap: 12px 20px; padding-block: 16px; }
  .ttp-platform-links { justify-content: flex-start; gap: 12px 17px; padding-block: 16px; }
  .ttp-platform-nav-label { flex: 0 0 100%; }
  .ttp-service-grid,
  .ttp-what-grid,
  .ttp-help-grid,
  .ttp-pricing-grid,
  .ttp-portfolio-grid,
  .ttp-process-grid { grid-template-columns: 1fr; }
  .ttp-card,
  .ttp-price-card { padding: 22px; }
  .ttp-contact-inner,
  .ttp-final-cta-inner { align-items: flex-start; flex-direction: column; gap: 20px; }
  .ttp-contact-section .ttp-actions,
  .ttp-final-cta .ttp-actions { margin-top: 0; }
  .ttp-actions { align-items: stretch; }
  .ttp-actions > a { text-align: center; }
  .ttp-process-step { padding: 20px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .tt-platform-page *,
  .tt-platform-page *::before,
  .tt-platform-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}