/* Tech Matic editorial system. Original logo, Cairo / Tajawal and brand palette. */
:root {
  --brand-primary: #0d1d73; --brand-secondary: #06113f; --brand-accent: #055392;
  --background: #fff; --surface: #fff; --surface-2: #f6f8fb;
  --text-primary: #06113f; --text-secondary: #36415e; --text-muted: #626d85;
  --border: #e1e6ee; --page-width: 1240px;
  /* Override old responsive tokens with Tech Matic's established navy palette. */
  --main-color: #0d1d73; --secondary-color: #06113f; --accent-color: #0d1d73;
  --text-color: #06113f; --heading-color: #0d1d73; --bg-color: #fff; --second-bg-color: #f6f8fb;
}
html { scroll-padding-top: 115px; }
body.tm-site { margin: 0; min-width: 320px; background: var(--background); color: var(--text-primary); padding-top: 108px; overflow-x: clip; }
.tm-site *, .tm-site *::before, .tm-site *::after { box-sizing: border-box; }
.tm-site p { line-height: 1.85; }
.tm-site img { max-width: 100%; }
.tm-site .social-sidebar, .tm-site .top-social-icons, .tm-site .mobile-nav-overlay { display: none; }
.tm-site main, .tm-site .container, .tm-site .tm-container { min-width: 0; }
/* Old styles targeted every nav as a fixed mobile drawer. Reset those properties. */
.tm-site nav { position: static; inset: auto; width: auto; max-width: none; height: auto; min-height: 0; padding: 0; margin: 0; overflow: visible; background: transparent !important; border-radius: 0; box-shadow: none; visibility: visible; opacity: 1; transform: none; order: initial !important; transition: none; }
.tm-site nav::before, .tm-site nav::after { display: none; }
.tm-site .tm-nav { display: flex; flex-direction: row; }
.tm-site .tm-mobile-menu nav, .tm-site .tm-footer-links, .tm-site .tm-resources { display: grid; }
.tm-site .container, .tm-container { width: min(88%, var(--page-width)); max-width: var(--page-width); margin-inline: auto; padding-inline: 0; }
.tm-site :focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 5px; }
.tm-site a, .tm-site button { -webkit-tap-highlight-color: transparent; }
.tm-site [hidden] { display: none !important; }
.tm-site .reveal { opacity: 1; visibility: visible; transform: none; }
.tm-skip { position: fixed; top: -100px; right: 24px; z-index: 5000; padding: 12px 20px; background: var(--brand-primary); color: #fff; }
.tm-skip:focus { top: 16px; }
.tm-header { position: fixed; inset: 18px 5% auto; z-index: 2000; width: 90%; max-width: 1240px; margin-inline: auto; border: 1px solid var(--border); border-radius: 60px; background: rgba(255,255,255,.96); box-shadow: 0 6px 24px #06113f08; transition: box-shadow .25s; }
.tm-header.scrolled { box-shadow: 0 8px 32px #06113f15; }
.tm-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 7px 12px 7px 28px; min-height: 70px; }
.tm-logo { display: flex; align-items: center; flex-shrink: 0; }
.tm-logo img { width: 62px; height: 62px; object-fit: contain; }
.tm-nav { display: flex; align-items: center; gap: 4px; }
.tm-nav > a, .tm-nav summary { font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 30px; color: var(--text-secondary); cursor: pointer; white-space: nowrap; }
.tm-nav a:hover, .tm-nav summary:hover { background: var(--surface-2); color: var(--brand-primary); }
.tm-nav > a[aria-current], .tm-nav details.is-current > summary { background: var(--brand-secondary); color: #fff; }
.tm-nav details { position: relative; }
.tm-nav summary { list-style: none; }
.tm-nav summary::-webkit-details-marker { display: none; }
.tm-nav summary::after { content: '+'; padding-inline-start: 8px; }
.tm-nav details[open] summary::after { content: '−'; }
.tm-dropdown { position: absolute; top: calc(100% + 18px); right: 0; min-width: 200px; padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: 0 16px 40px #06113f12; }
.tm-dropdown a { display: block; padding: 10px 14px; font-size: 13px; border-radius: 6px; }
.tm-header-cta { display: flex; align-items: center; min-height: 44px; gap: 14px; font-size: 12px; font-weight: 700; color: var(--brand-primary); white-space: nowrap; }
.tm-arrow-circle { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand-primary); color: #fff; font-size: 19px; font-family: Arial,sans-serif; transition: transform .3s; }
.tm-header-cta:hover .tm-arrow-circle { transform: rotate(-45deg); }
.tm-menu-toggle { display: none; flex-shrink: 0; background: none; border: 1px solid var(--border); border-radius: 50%; width: 44px; height: 44px; color: var(--brand-primary); cursor: pointer; font-size: 21px; }
.tm-menu-toggle span { display: block; width: 18px; height: 1px; background: currentColor; margin: 5px auto; transition: transform .25s; }
.tm-menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(3px) rotate(45deg); }
.tm-menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.tm-mobile-menu { position: fixed; inset: 104px 5% auto; z-index: 1999; max-height: calc(100dvh - 125px); overflow: auto; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 20px 26px; box-shadow: 0 24px 60px #06113f25; }
.tm-mobile-menu nav { display: grid; }
.tm-mobile-menu a { padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 17px; }
.tm-mobile-menu a[aria-current] { font-weight: 900; }
.tm-mobile-label { color: var(--text-muted); font-size: 11px; letter-spacing: 2px; font-family: Arial,sans-serif; }
.tm-mobile-backdrop { position: fixed; inset: 98px 0 0; z-index: 1998; background: #06113f55; backdrop-filter: blur(3px); }
/* Airy Arabic type and the original circuit orbit. */
.tm-hero { position: relative; isolation: isolate; padding: 70px 0 0; overflow: clip; }
.tm-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 5vw; min-height: 490px; }
.tm-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 12px; margin-bottom: 26px; }
.tm-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-primary); box-shadow: 0 0 0 5px #0d1d730b; }
.tm-hero h1 { font-family: 'Cairo',sans-serif; font-weight: 900; font-size: clamp(40px,5.2vw,76px); line-height: 1.45; letter-spacing: -2px; margin: 0 0 24px; }
.tm-title-line { display: block; }
.tm-hero h1 .tm-accent { color: var(--brand-accent); }
.tm-hero-copy > p { max-width: 440px; font-size: 15px; color: var(--text-secondary); margin-bottom: 30px; }
.tm-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.tm-button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; min-height: 44px; padding: 11px 22px; border: 1px solid var(--brand-primary); border-radius: 50px; background: var(--brand-primary); color: #fff; font-size: 13px; font-weight: 700; }
.tm-button:hover { color: #fff; background: var(--brand-secondary); transform: translateY(-2px); }
.tm-button span:last-child { font-size: 20px; font-family: Arial,sans-serif; }
.tm-text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 14px; color: var(--brand-primary); font-size: 13px; border-bottom: 1px solid var(--border); padding-block: 6px; }
.tm-text-link:hover { border-color: var(--brand-primary); }
.tm-tech-visual { position: relative; min-width: 0; width: 92%; max-width: 460px; margin-inline: auto; aspect-ratio: 1; display: grid; place-items: center; }
.tm-tech-visual, .tm-floating-chip, .tm-header-cta, .tm-site .portfolio .project-image, .tm-site .blog-preview .blog-card-image { transition: transform .35s ease; }
.tm-tech-visual::before { content: ''; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle,#05539214,#0d1d7308 45%,transparent 70%); z-index: -1; }
.tm-orbit { width: 100%; max-width: none !important; height: auto; overflow: visible; }
.tm-orbit-grid { transform-origin: 50% 50%; }
.tm-visual-caption { position: absolute; bottom: 6%; left: 5%; display: grid; gap: 6px; font-size: 10px; font-family: monospace; letter-spacing: 1px; color: var(--text-muted); direction: ltr; }
.tm-visual-caption strong { color: var(--brand-primary); font-family: monospace; font-weight: 400; }
.tm-floating-chip { position: absolute; top: 17%; right: 0; display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: #fff; border: 1px solid var(--border); box-shadow: 0 16px 30px #06113f08; border-radius: 8px; font-size: 12px; }
.tm-chip-icon { border: 1px solid var(--brand-primary); width: 30px; height: 30px; display: grid; place-items: center; font-family: monospace; font-size: 14px; }
.tm-hero-background { position: absolute; top: 7%; left: 1%; font-family: Arial,sans-serif; font-weight: 900; font-size: clamp(110px,19vw,320px); letter-spacing: -12px; color: #0d1d7305; z-index: -2; pointer-events: none; direction: ltr; }
.tm-hero-bottom { display: flex; justify-content: space-between; align-items: center; margin-block: 58px 0; padding-block: 22px; border-top: 1px solid var(--border); gap: 20px; }
.tm-hero-bottom p { font-size: 11px; color: var(--text-muted); }
.tm-hero-bottom p[lang='en'] { font-family: monospace; letter-spacing: 1px; }
.tm-discover { font-size: 12px; display: flex; gap: 12px; align-items: center; }
.tm-resources { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-bottom: 1px solid var(--border); }
.tm-resource { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 26px 28px; border-inline-end: 1px solid var(--border); color: var(--text-primary); transition: background .25s,color .25s; }
.tm-resource:last-child { border: 0; }
.tm-resource:hover { background: var(--brand-primary); color: #fff; }
.tm-resource small { font-family: monospace; font-size: 11px; opacity: .65; margin-inline-end: 16px; }
.tm-resource strong { font-size: 15px; font-weight: 600; }
.tm-resource > span:last-child { font-family: Arial,sans-serif; font-size: 23px; transition: transform .3s; }
.tm-resource:hover > span:last-child { transform: translate(-5px,5px); }
/* Shared page composition. Content and existing routes remain in HTML. */
.tm-site main > section { padding-block: 110px; }
.tm-site main > .tm-hero { padding-block: 70px 0; }
.tm-site .section-header { display: flex; align-items: end; justify-content: space-between; text-align: right; gap: 32px; margin-bottom: 38px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.tm-site .section-header h2, .tm-site .section-title { font-size: clamp(26px,2.7vw,38px); font-weight: 900; letter-spacing: -.7px; margin: 0; }
.tm-site .section-header h2::after, .tm-site .section-title::after { display: none; }
.tm-site .section-header > p { max-width: 390px; color: var(--text-secondary); font-size: 14px; margin: 0; }
.tm-site .section-header h2::before { content: attr(data-index); display: inline-block; font: 12px monospace; color: var(--text-muted); vertical-align: middle; margin-inline-end: 18px; letter-spacing: 1px; }
.tm-site .portfolio { background: var(--background); }
.tm-site .portfolio-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px; max-width: 1080px; margin-inline: auto; }
.tm-site .portfolio-grid > * { min-width: 0; }
.tm-site .project-card, .tm-site .project-card-home { display: block; background: transparent; border: 0; border-radius: 0; overflow: visible; box-shadow: none; }
.tm-site .project-card:hover, .tm-site .project-card-home:hover { box-shadow: none; }
.tm-site .portfolio .project-image, .tm-site .project-card-home > img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.tm-site .portfolio .project-image img { width: 100%; height: 100%; object-fit: cover; }
.tm-site .project-card-home > img { object-fit: cover; }
.tm-site .portfolio .project-content, .tm-site .project-card-home .content { padding: 23px 0 20px; border-bottom: 1px solid var(--border); }
.tm-site .portfolio h3 { font-size: 19px; line-height: 1.6; margin: 8px 0; }
.tm-site .portfolio .project-summary, .tm-site .project-card-home p { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; }
.tm-site .portfolio-grid > :nth-child(even) { margin-top: 65px; }
.tm-site .p-cat { border: 0; background: transparent; padding: 0; font-size: 11px; color: var(--text-muted); }
.tm-site .project-overlay { background: #06113f99; }
.tm-site .project-image:focus-within .project-overlay { opacity: 1; }
.tm-site .btn, .tm-site .btn-primary-custom, .tm-site .btn-sm { border-radius: 50px; box-shadow: none; font-size: 13px; }
.tm-site .read-more { display: inline-flex; gap: 12px; align-items: center; font-size: 12px; }
.tm-site .services-overview { background: var(--background); }
.tm-site .services-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; max-width: 1080px; margin-inline: auto; border-top: 1px solid var(--border); overflow: visible; padding-bottom: 0; }
.tm-site .service-card { position: relative; min-width: 0; width: auto; padding: 35px 36px; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; box-shadow: none; text-align: right; }
.tm-site .service-card::before { display: none; }
.tm-site .service-card:nth-child(odd) { border-inline-end: 1px solid var(--border); }
.tm-site .service-card:hover { background: #ffffff65; box-shadow: none; transform: translateY(-3px); }
.tm-site .service-icon { width: 40px; height: 40px; border-radius: 8px; margin: 0 0 20px; background: var(--brand-primary); color: #fff; box-shadow: none; font-size: 18px; }
.tm-site .service-icon i { font-size: 18px !important; }
.tm-site .service-card h3 { font-size: 20px; }
.tm-site .service-card p { font-size: 14px; color: var(--text-secondary); }
.tm-service-link { display: inline-flex; align-items: center; gap: 15px; margin-top: 20px; font-size: 12px; border-bottom: 1px solid var(--border); padding-bottom: 5px; }
.tm-site .blog-preview { background: var(--background) !important; }
.tm-site .blog-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 30px !important; }
.tm-site .blog-card { border-radius: 0 !important; box-shadow: none !important; border: 0; background: transparent !important; }
.tm-site .blog-card-content { padding: 20px 0 !important; }
.tm-site .blog-card h3 { font-size: 19px; line-height: 1.6; }
.tm-site .blog-card p { color: var(--text-secondary); font-size: 13px; }
.tm-site .blog-card-image { border-radius: 8px; }
.tm-site .about-us-section { background: var(--background); }
.tm-site .about-content-wrapper { gap: 70px; }
.tm-site .section-header-left h2 { font-size: clamp(28px,3.2vw,44px); font-weight: 900; }
.tm-site .about-description { font-size: 15px; color: var(--text-secondary); }
.tm-site .image-card { flex-direction: column; background: transparent; box-shadow: none; border: 0; padding: 20px; }
.tm-site .about-text-column { text-align: right; }
.tm-site .header-line { background: var(--brand-primary); }
.tm-site .tm-original-visual { display: block; width: 180px; height: 140px; object-fit: contain; margin: 16px auto 0; }
.tm-site .why-us { background: var(--background); color: var(--text-primary); }
.tm-site .why-us h2, .tm-site .why-us h3 { color: var(--text-primary); }
.tm-site .why-us .section-header { border-color: var(--border); }
.tm-site .why-us .section-header h2::before { color: var(--text-muted); }
.tm-site .why-us-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 30px; }
.tm-site .why-us-card { background: transparent; border: 0; border-inline-start: 1px solid var(--border); border-radius: 0; box-shadow: none; padding: 0 22px; text-align: right; }
.tm-site .why-us-card:hover { transform: translateY(-3px); background: transparent; }
.tm-site .why-us-icon { margin: 0 0 16px; background: transparent; color: var(--brand-primary); width: auto; justify-content: start; box-shadow: none; }
.tm-site .why-us-card p { color: var(--text-secondary); font-size: 13px; }
.tm-site .why-us-card h3 { font-size: 18px; }
.tm-site .stats { background: var(--background) !important; color: var(--text-primary) !important; }
.tm-site .stats > .container { padding: 42px; background: var(--surface-2); border-radius: 12px; }
.tm-site .stats h2, .tm-site .stats h3 { color: var(--brand-primary); }
.tm-site .stats .section-header { border-color: var(--border); }
.tm-site .stats .section-header h2::before { color: var(--text-muted); }
.tm-site .stat-number { font-size: 38px; color: var(--brand-primary); margin-bottom: 10px; }
.tm-site .stat-label { font-size: 14px; color: var(--text-secondary); }
.tm-site .testimonials { background: var(--background); }
.tm-site .testimonial-card { background: transparent; border: 0; border-top: 1px solid var(--border); border-radius: 0; box-shadow: none; padding: 28px 0; }
.tm-site .testimonial-card:hover { box-shadow: none; }
.tm-site .testimonial-text { font-size: 15px; color: var(--text-secondary); }
.tm-site #partners { background: var(--background) !important; }
.tm-site .p-card, .tm-site .p-pill { box-shadow: none; border-radius: 8px; }
.tm-site .partners-ticker { animation: none; flex-wrap: wrap; justify-content: center; }
.tm-site .partners-ticker > :nth-child(n+13) { display: none; }
.tm-site .partners-ticker-wrap { mask-image: none; -webkit-mask-image: none; }
.tm-closing { border-block: 1px solid var(--border); }
.tm-closing .tm-container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.tm-closing h2 { font-size: clamp(28px,3.7vw,50px); font-weight: 900; letter-spacing: -1px; }
.tm-closing p { color: var(--text-secondary); font-size: 14px; margin-top: 12px; }
.tm-closing .tm-button { flex-shrink: 0; }
.tm-site .tm-footer { --footer-text: #d4dcf0; --footer-muted: #b7c3dc; --footer-border: #ffffff1f; padding: 65px 0 20px; background: var(--brand-secondary); color: var(--footer-text); border-top: 1px solid var(--footer-border); }
.tm-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 70px; }
.tm-footer-logo { display: block; width: 72px; height: 72px; object-fit: contain; margin-bottom: 18px; padding: 0; background: transparent; border-radius: 0; }
.tm-site .tm-footer p { color: var(--footer-text); font-size: 13px; max-width: 350px; }
.tm-site .tm-footer h2 { color: #fff; font-size: 13px; margin-bottom: 20px; }
.tm-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.tm-site .tm-footer a { font-size: 12px; color: var(--footer-text); }
.tm-site .tm-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.tm-site .tm-footer :focus-visible { outline-color: #a9d9ff; }
.tm-footer-contact { display: grid; gap: 12px; justify-items: start; }
.tm-footer-social { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; }
.tm-footer-social a { font: 11px Arial,sans-serif; }
.tm-footer-bottom { border-top: 1px solid var(--footer-border); margin-top: 45px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 10px; color: var(--footer-muted); }
.tm-footer-bottom span[lang='en'] { font-family: monospace; letter-spacing: 1px; }
.tm-site .whatsapp-float { width: 46px; height: 46px; bottom: 22px; left: 22px; background: var(--brand-primary); box-shadow: 0 5px 20px #06113f22; font-size: 24px; }
/* Inner pages: generous headings, open cards, continuous brand and readable forms. */
.tm-site .page-header, .tm-site .project-detail-hero, .tm-site .blog-hero, .tm-site .partner-hero { background: var(--background); color: var(--brand-secondary); padding: 95px 0 80px; position: relative; border-bottom: 1px solid var(--border); clip-path: none; margin-bottom: 0; }
.tm-site .page-header::before, .tm-site .page-header::after, .tm-site .project-detail-hero::before, .tm-site .blog-hero::before, .tm-site .partner-hero::before { display: none; }
.tm-site .blog-hero { margin-top: 0; }
.tm-site .page-header h1, .tm-site .project-detail-hero h1, .tm-site .blog-hero h1, .tm-site .partner-hero h1 { color: var(--brand-secondary); font-size: clamp(30px,4.8vw,62px); line-height: 1.5; font-weight: 900; letter-spacing: -1px; }
.tm-site .page-header p, .tm-site .project-subtitle, .tm-site .blog-hero p, .tm-site .partner-hero p { color: var(--text-secondary); max-width: 700px; margin-inline: auto; font-size: 16px; }
.tm-site .back-link { color: var(--brand-primary); border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.tm-site .project-tags { gap: 8px; }
.tm-site .project-tags .tag { background: var(--surface); border: 1px solid var(--border); color: var(--brand-primary); border-radius: 30px; font: 11px monospace; padding: 8px 15px; }
.tm-site .project-overview { background: var(--background); }
.tm-site .project-overview-grid { gap: 0; }
.tm-site .overview-card { border: 0; border-inline-start: 1px solid var(--border); background: transparent; box-shadow: none; text-align: right; border-radius: 0; padding: 25px; }
.tm-site .overview-card h3 { font-size: 20px; }
.tm-site .overview-card p { color: var(--text-secondary); font-size: 14px; }
.tm-site .video-showcase { background: var(--surface-2); }
.tm-site .video-showcase .section-title { text-align: right; margin-bottom: 35px; }
.tm-site .video-container { max-width: 760px; border-radius: 8px; box-shadow: 0 24px 55px #06113f16; }
.tm-site .video-description { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; max-width: 1000px; padding: 35px; }
.tm-site .video-description p { color: var(--text-secondary); font-size: 15px; }
.tm-site .meta-card { border: 0; border-top: 1px solid var(--border); background: transparent; border-radius: 0; }
.tm-site .meta-card p { font-size: 12px; }
.tm-site .gallery-item { border-radius: 6px; box-shadow: none; }
.tm-site .projects-section { background: var(--background); }
.tm-site .projects-section .project-card { border-bottom: 1px solid var(--border); padding-bottom: 36px; margin-bottom: 36px; gap: 36px; }
.tm-site .projects-section .project-image { border-radius: 8px; }
.tm-site .project-details { background: var(--surface-2); border-radius: 6px; }
.tm-site .filter-btn { border-radius: 30px; }
.tm-site .contact-page-section { background: var(--background); }
.tm-site .contact-info h1 { font-size: clamp(30px,4vw,54px); line-height: 1.5; font-weight: 900; }
.tm-site .contact-form-wrapper { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: none; }
.tm-site .contact-info .info-item { border-bottom: 1px solid var(--border); background: transparent; border-radius: 0; padding-block: 20px; }
.tm-site input, .tm-site select, .tm-site textarea { background: var(--background); border: 1px solid var(--border); border-radius: 5px; max-width: 100%; color: var(--text-primary); }
.tm-site .tm-form-status { margin-top: 18px; font-size: 14px; color: var(--brand-primary); }
.tm-site .tm-form-status[data-error='true'] { color: #992b2b; }
.tm-site .service-detail { background: var(--background); border-bottom: 1px solid var(--border); }
.tm-site .service-detail.alt-bg { background: var(--surface-2); }
.tm-site .service-text h2 { font-size: clamp(26px,3vw,38px); }
.tm-site .service-image { border-radius: 8px; box-shadow: none; }
.tm-site .process-step { border-radius: 8px; border: 1px solid var(--border); box-shadow: none; }
.tm-site .team-card, .tm-site .freelancer-card { border-radius: 8px; box-shadow: none; }
.tm-site .blog-post-container { max-width: 1000px; }
.tm-site .blog-post-content { color: var(--text-secondary); }
.tm-site .blog-cards-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.tm-site .blog-article-card { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.tm-site .blog-article-card:hover { box-shadow: none; }
.tm-site .blog-card-img-wrap { border-radius: 8px; }
.tm-site .blog-card-body { padding: 24px 0; border-bottom: 1px solid var(--border); }
.tm-site .blog-featured-card { border-radius: 8px; background: var(--surface-2); box-shadow: none; border: 1px solid var(--border); }
.tm-site .blog-post-page { padding-top: 50px; }
.tm-site .blog-article-content { border-radius: 8px; box-shadow: none; border: 1px solid var(--border); }
.tm-site .blog-post-header { background: var(--surface-2); border-radius: 0; box-shadow: none; }
.tm-site .blog-sidebar-widget { border-radius: 8px; box-shadow: none; }
.tm-site .blog-filters-section { position: static; top: auto; z-index: auto; }
.tm-site .partner-hero .hero-badge, .tm-site .partner-hero h1 span { color: var(--brand-primary); }
.tm-site .all-freelancers-header h1 { font-size: clamp(30px,3.6vw,50px); font-weight: 900; }
.tm-site .hero h1 { font-size: clamp(32px,4.3vw,60px); font-weight: 900; }
@media (min-width: 1600px) { .tm-hero-grid { min-height: 540px; } }
@media (max-width: 1180px) { .tm-nav > a, .tm-nav summary { padding-inline: 11px; font-size: 12px; } .tm-header-inner { gap: 10px; } .tm-header-cta { gap: 8px; } .tm-hero h1 { font-size: clamp(40px,5.2vw,62px); letter-spacing: -1.5px; } }
@media (max-width: 1023px) {
  .tm-site .tm-nav { display: none; } .tm-menu-toggle { display: block; } .tm-header-cta { margin-inline-start: auto; } .tm-header-inner { padding-inline: 16px; }
  .tm-hero-grid { min-height: 410px; } .tm-hero h1 { font-size: clamp(36px,5.2vw,54px); } .tm-hero-copy > p { font-size: 14px; }
  .tm-site .why-us-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 35px; } .tm-footer-grid { gap: 30px; }
  .tm-site .blog-cards-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tm-site .section-header { align-items: start; } .tm-site .section-header > p { max-width: 300px; }
}
@media (max-width: 767px) {
  body.tm-site { padding-top: 98px; } .tm-header { inset: 12px 5% auto; } .tm-header-inner { min-height: 66px; padding-block: 4px; } .tm-logo img { width: 54px; height: 54px; }
  .tm-header-cta { font-size: 11px; gap: 8px; } .tm-arrow-circle { width: 31px; height: 31px; } .tm-mobile-menu { top: 91px; } .tm-mobile-backdrop { top: 86px; }
  .tm-hero { padding-top: 40px; } .tm-hero-grid { grid-template-columns: 1fr; gap: 32px; } .tm-hero h1 { font-size: clamp(34px,8.3vw,54px); line-height: 1.5; letter-spacing: -1px; }
  .tm-eyebrow { margin-bottom: 18px; font-size: 11px; } .tm-hero-copy > p { max-width: 480px; font-size: 14px; margin-bottom: 24px; }
  .tm-tech-visual { width: min(88%,320px); margin: 8px auto 24px; } .tm-floating-chip { font-size: 10px; top: 20%; right: 3%; padding: 9px 12px; }
  .tm-orbit { width: 100%; } .tm-visual-caption { bottom: 9%; } .tm-hero-background { top: 42%; letter-spacing: -5px; }
  .tm-hero-bottom { margin-top: 0; padding-block: 18px; } .tm-hero-bottom > p:last-child { display: none; }
  .tm-resources { grid-template-columns: 1fr; } .tm-resource { border-inline-end: 0; border-bottom: 1px solid var(--border); padding: 20px 4px; }
  .tm-site main > section { padding-block: 76px; } .tm-site main > .tm-hero { padding-block: 40px 0; }
  .tm-site .stats > .container { padding: 28px 20px; } .tm-site .stat-number { font-size: 32px; }
  .tm-site .section-header { flex-direction: column; gap: 12px; margin-bottom: 25px; padding-bottom: 20px; } .tm-site .section-header > p { max-width: 100%; font-size: 13px; }
  .tm-site .portfolio-grid { gap: 28px; grid-template-columns: 1fr; } .tm-site .portfolio-grid > :nth-child(even) { margin-top: 0; }
  .tm-site .portfolio h3 { font-size: 19px; } .tm-site .services-grid { grid-template-columns: 1fr; } .tm-site .service-card { padding: 27px 0; } .tm-site .service-card:nth-child(odd) { border-inline-end: 0; }
  .tm-site .blog-grid { grid-template-columns: 1fr !important; } .tm-site .why-us-grid { grid-template-columns: 1fr; } .tm-site .testimonials-grid { grid-template-columns: 1fr; }
  .tm-site .about-content-wrapper { flex-direction: column; gap: 30px; } .tm-site .about-text-column, .tm-site .about-image-column { width: 100%; }
  .tm-closing .tm-container { align-items: start; flex-direction: column; gap: 25px; } .tm-footer-grid { grid-template-columns: 1fr; gap: 35px; } .tm-site .tm-footer { padding-top: 45px; }
  .tm-site .page-header, .tm-site .project-detail-hero, .tm-site .blog-hero, .tm-site .partner-hero { padding-block: 45px; } .tm-site .page-header p, .tm-site .project-subtitle { font-size: 13px; }
  .tm-site .project-overview-grid { grid-template-columns: 1fr; } .tm-site .overview-card { border-inline-start: 0; border-bottom: 1px solid var(--border); padding-inline: 0; }
  .tm-site .video-description { padding: 22px; } .tm-site .video-description h3 { font-size: 24px; } .tm-site .video-description p { font-size: 14px; }
  .tm-site .video-meta-grid { grid-template-columns: 1fr; gap: 10px; } .tm-site .contact-grid { grid-template-columns: 1fr; } .tm-site .contact-form-wrapper { padding: 23px; }
  .tm-site .projects-section .project-card { grid-template-columns: 1fr !important; gap: 20px; } .tm-site .service-content { flex-direction: column; }
  .tm-site .projects-list, .tm-site .blog-cards-grid, .tm-site .freelancers-grid { grid-template-columns: 1fr; }
  .tm-site .service-layout, .tm-site .service-layout.reverse { flex-direction: column; gap: 30px; }
  .tm-site .blog-filters-section { position: static; }
  .tm-site .footer-col { min-width: 0 !important; } .tm-site .gallery-grid { grid-template-columns: 1fr; }
}
@media (max-width: 374px) { .tm-header-inner { padding-inline: 10px; gap: 8px; } .tm-header-cta > span:first-child { display: none; } .tm-hero h1 { font-size: 32px; letter-spacing: -1px; } .tm-button { padding: 11px 18px; gap: 18px; } .tm-hero-actions { gap: 16px; } .tm-site .container, .tm-container { width: 90%; } }
@media (hover: none) { .tm-site .project-overlay { opacity: 1; transform: none; background: linear-gradient(transparent, #06113f80); align-items: end; padding-bottom: 20px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; } .tm-site *, .tm-site *::before, .tm-site *::after { animation: none !important; transition: none !important; }
}
