/* Shared design for interior pages */
.inner-page { --surface-light: #fafafa; }
.inner-page .page-header { width: calc(100% - 40px); max-width: 1240px; margin: calc(5.5rem + 24px) auto 0; padding: 48px 40px; border: 1px solid #303036; border-radius: 28px; background: radial-gradient(ellipse at 100% 0, #471e25 0, transparent 55%), #111114; }
.inner-page .page-header::before, .inner-page .page-header::after { display: none; }
.inner-page .page-header-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 0; }
.inner-page .page-header h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.08; max-width: 700px; }
.inner-page .page-header p { font-size: 1rem; line-height: 1.6; color: #c4c4cc; margin-bottom: 24px; }
.inner-page .hero-badge { margin-bottom: 20px; font-size: .75rem; color: #d4d4da; }
.inner-page .hero-buttons { flex-wrap: wrap; gap: 10px; }
.inner-page .hero-buttons .btn { padding: 14px 20px; font-size: .85rem; border-radius: 30px; }
.inner-page .hero-buttons .btn-outline { border-color: #55555f; }
.page-visual { padding: 26px; background: #fafafa; color: #18181b; border-radius: 22px; box-shadow: 0 20px 60px #0004; transform: rotate(2deg); }
.page-visual-top { display: flex; gap: 5px; padding-bottom: 18px; border-bottom: 1px solid #e4e4e7; margin-bottom: 22px; }
.page-visual-top i { width: 7px; height: 7px; border-radius: 50%; background: #d4d4d8; }
.page-visual-top i:first-child { background: #ef4444; }
.page-visual-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: #72727c; }
.page-visual strong { display: block; font-size: 2rem; line-height: 1.15; letter-spacing: -.04em; margin: 10px 0 20px; }
.page-visual strong span { color: #ef3c32; }
.page-visual ul { display: grid; gap: 10px; list-style: none; }
.page-visual li { padding: 11px 14px; border-radius: 10px; background: #f0f0f3; font-size: .8rem; }
.page-visual li::before { content: '✓'; color: #ef4438; margin-right: 10px; }
.page-hero-photo { width: 100%; aspect-ratio: 1.15; object-fit: cover; border: 1px solid #604047; border-radius: 22px; }
.inner-page .section { padding: 56px 0; }
.inner-page .section-alt { background: transparent; }
.inner-page .section-header { text-align: left; margin-bottom: 28px; max-width: 800px; }
.inner-page .section-header h2 { font-size: clamp(1.6rem, 2.5vw, 2.15rem); line-height: 1.2; }
.inner-page .section-header p { margin: 0; max-width: 680px; font-size: .95rem; }
.inner-page .dev-card, .inner-page .service-card, .inner-page .contact-card, .inner-page .advantage-card { background: #fafafa; color: #18181b; border: 1px solid #e4e4e7; border-radius: 22px; padding: 28px; }
.inner-page .dev-card p, .inner-page .dev-card li, .inner-page .service-card p, .inner-page .service-card li, .inner-page .contact-card p, .inner-page .advantage-card p { color: #60606a !important; }
.inner-page .dev-card h3, .inner-page .service-card h3, .inner-page .contact-card h3 { color: #18181b; font-size: 1.2rem; }
.inner-page .dev-card-icon, .inner-page .contact-icon, .inner-page .service-card-icon { border-radius: 50%; background: #ffe8e7; }
.inner-page .dev-card-price, .inner-page .service-card-price { color: #ed3d33; font-weight: 800; border-color: #ddd; }
.inner-page .dev-card:hover, .inner-page .service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px #ef444412; }
.inner-page .metric-card, .inner-page .stat-card { border: 1px solid #373038; border-radius: 18px; background: linear-gradient(130deg, #23171c, #121215); }
.inner-page .step-card, .inner-page .review-card, .inner-page .problem-card { border-radius: 20px; border: 1px solid #303038; background: #141418; }
.inner-page .case-full { padding: 32px; border: 1px solid #303036; border-radius: 26px; background: #121215; margin-bottom: 28px; gap: 32px; }
.inner-page .case-title { font-size: 1.8rem; }
.inner-page .case-image { border-radius: 18px; overflow: hidden; }
.inner-page .case-image img { display: block; width: 100%; }
.inner-page .cta > .container { padding: 40px; max-width: 1240px; width: calc(100% - 40px); border: 1px solid #493039; border-radius: 28px; background: radial-gradient(ellipse at 0 0, #381a20, transparent 65%), #111114; }
.inner-page .form-card { border-radius: 22px; background: #1b1b21; border: 1px solid #393940; }
.inner-page .contact-grid { align-items: start; gap: 28px; }
.inner-page .contact-card a { overflow-wrap: anywhere; color: #18181b; }
.inner-page .map-container { border-radius: 22px; overflow: hidden; border: 1px solid #35353d; }
.inner-page .map-container iframe { max-width: 100%; }
.inner-page .contact-card-full { background: #fff3f1; }
.inner-page [id] { scroll-margin-top: 110px; }
.inner-page .cards-grid > *, .inner-page .cards-grid-2 > *, .inner-page .contact-grid > *, .inner-page .case-full > * { min-width: 0; }
@media(max-width: 1024px) { .inner-page .page-header-inner { grid-template-columns: 1.15fr .85fr; gap: 24px; } .inner-page .page-header { padding: 36px 28px; } .page-visual { padding: 22px; } .page-visual strong { font-size: 1.6rem; } }
@media(max-width: 768px) { .inner-page .page-header-inner { grid-template-columns: 1fr; } .inner-page .page-header { padding: 28px 24px; border-radius: 22px; } .page-visual { transform: none; } .page-hero-photo { aspect-ratio: 1.6; } .inner-page .section { padding: 36px 0; } .inner-page .cards-grid, .inner-page .cards-grid-2, .inner-page .cards-grid-3, .inner-page .cards-grid-4, .inner-page .cta-grid, .inner-page .contact-grid, .inner-page .about-grid { grid-template-columns: 1fr; } .inner-page .case-full { padding: 22px; grid-template-columns: 1fr; } .inner-page .cta > .container { padding: 24px; } .inner-page .dev-card, .inner-page .service-card { padding: 24px; } .inner-page .page-header h1 { font-size: 2rem; } }
@media(max-width: 400px) { .inner-page .page-header h1 { font-size: 1.75rem; } .inner-page .hero-buttons .btn { width: 100%; } }

        /* Mid-page consultation banner */
        .consultation-section { padding: 16px 0; }
        .consultation-banner { padding: 34px 40px; border: 1px solid #38383b; border-radius: 24px; overflow: hidden; background-color: #111113; position: relative; isolation: isolate; }
        .consultation-photo { position: absolute; top: 0; right: 0; width: 38%; height: 100%; object-fit: contain; object-position: right center; z-index: -2; }
        .consultation-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #111113 0%, #111113 60%, transparent 80%); z-index: -1; pointer-events: none; }
        .consultation-copy { max-width: 580px; width: 60%; }
        .consultation-copy h2 { font-family: 'Montserrat', sans-serif; font-size: 2rem; line-height: 1.15; letter-spacing: -.04em; margin-bottom: 14px; }
        .consultation-copy h2 span { color: var(--accent); }
        .consultation-copy p { color: #c3c3ca; font-size: .88rem; line-height: 1.55; }
        .consultation-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
        .consultation-actions .btn { border-radius: 40px; padding: 13px 20px; font-size: .8rem; gap: 10px; }
        .consultation-actions .btn:first-child { box-shadow: 0 8px 25px rgba(239,68,68,.2); }
        .consultation-actions .btn-outline { background: rgba(9,9,11,.55); border-color: #52525b; }
        .consultation-actions svg { width: 18px; height: 18px; flex-shrink: 0; }
        .consultation-actions .btn:focus-visible { outline: 3px solid white; outline-offset: 4px; }
        @media (max-width: 768px) { .consultation-banner { padding: 30px 24px;  } .consultation-copy h2 { font-size: 1.8rem; } }
        @media (max-width: 768px) { .consultation-photo { position: static; display: block; width: 100%; height: auto; max-height: 260px; object-fit: contain; object-position: center; margin-top: 24px; order: 2; border-radius: 14px; } .consultation-banner { display: flex; flex-direction: column; } .consultation-copy { width: 100%; max-width: none; } .consultation-banner::before { display: none; } }
        @media (max-width: 480px) { .consultation-banner { border-radius: 20px; } .consultation-actions { flex-direction: column; } .consultation-actions .btn { width: 100%; } }


        /* Team Section */
        .team-section { background: radial-gradient(ellipse at 12% 50%, rgba(239,68,68,.07), transparent 55%); }
        .team-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 36px; align-items: center; }
        .team-grid > * { min-width: 0; }
        .team-photo { border: 1px solid rgba(239,68,68,.65); border-radius: 28px; overflow: hidden; box-shadow: 0 12px 48px rgba(239,68,68,.12); background: var(--bg-card); }
        .team-photo img { display: block; width: 100%; height: auto; }
        .team-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 13px; border: 1px solid rgba(239,68,68,.3); border-radius: 30px; background: rgba(239,68,68,.05); color: #d4d4d8; font-size: .75rem; margin-bottom: 18px; }
        .team-eyebrow::before, .team-role::before { content: ''; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(239,68,68,.06); }
        .team-copy h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.2; letter-spacing: -.04em; margin-bottom: 18px; }
        .team-copy h2 span { color: var(--accent); }
        .team-description { color: #b5b5bf; font-size: .9rem; line-height: 1.65; }
        .team-roles { border-top: 1px solid var(--border); padding-top: 20px; margin-top: 22px; }
        .team-roles h3 { font-size: .95rem; font-weight: 500; margin-bottom: 12px; }
        .team-role-list { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; }
        .team-role { display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid rgba(239,68,68,.17); border-radius: 13px; background: linear-gradient(135deg, rgba(239,68,68,.04), rgba(255,255,255,.02)); color: #dddde2; font-size: .7rem; }
        .team-quote { display: flex; gap: 14px; padding: 20px; margin-top: 18px; border: 1px solid var(--border); border-left: 2px solid var(--accent); border-radius: 18px; background: linear-gradient(120deg, rgba(239,68,68,.035), rgba(255,255,255,.015)); }
        .team-quote-mark { font-family: Georgia, serif; font-size: 3rem; color: var(--accent); line-height: 1; }
        .team-quote p { color: #c6c6cf; font-size: .84rem; line-height: 1.65; }
        .team-quote footer { margin-top: 10px; color: var(--fg-muted); font-size: .75rem; }
        @media (max-width: 1024px) {
            .team-grid { gap: 26px; }
            .team-role { padding: 9px 10px; }
        }
        @media (max-width: 900px) {
            .team-grid { grid-template-columns: 1fr; gap: 32px; }
            .team-copy h2 { font-size: 2rem; }
            .team-photo { max-width: 680px; width: 100%; margin: 0 auto; }
        }
        @media (max-width: 480px) {
            .team-photo { border-radius: 20px; }
            .team-copy h2 { font-size: 1.75rem; }
            .team-role-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .team-role { font-size: .75rem; }
            .team-quote { padding: 18px 14px; gap: 10px; }
        }


        /* Price promise */
        .price-promise { padding: 32px 0 48px; background: radial-gradient(ellipse at 95% 100%, rgba(239,68,68,.09), transparent 45%), var(--bg); }
        .price-promise svg { flex-shrink: 0; }
        .offer-strip { display: grid; grid-template-columns: 1.05fr repeat(3, 1fr); gap: 14px; padding: 28px; background: #fafafa; color: #171719; border-radius: 28px; }
        .offer-intro { align-self: center; padding-right: 12px; }
        .offer-intro h2 { font-size: 1.35rem; line-height: 1.25; letter-spacing: -.04em; margin-bottom: 12px; }
        .offer-intro a { font-size: .85rem; text-decoration: underline; text-underline-offset: 4px; }
        .offer-card { position: relative; display: flex; align-items: center; gap: 13px; border: 1px solid #e4e4e7; border-radius: 20px; padding: 24px 18px; transition: border-color .2s, transform .2s; }
        .offer-card:hover { border-color: var(--accent); transform: translateY(-3px); }
        .offer-card--featured { background: #fff3f2; border-color: #ffd8d5; }
        .offer-label { position: absolute; top: -14px; left: 24px; padding: 3px 13px; border-radius: 30px; background: #ef332b; color: white; font-size: .68rem; font-weight: 600; }
        .offer-card svg { width: 30px; height: 30px; }
        .offer-card h3 { font-size: .84rem; line-height: 1.3; margin-bottom: 5px; }
        .offer-card p { color: #64646c; font-size: .72rem; line-height: 1.4; }
        .offer-card strong { display: block; color: #e6322b; font-size: 1.13rem; white-space: nowrap; margin-top: 8px; letter-spacing: -.04em; }
        .promise-benefits { display: grid; grid-template-columns: repeat(5, 1fr); padding: 34px 12px; }
        .promise-benefit { display: flex; gap: 16px; padding: 0 20px; border-right: 1px solid #343437; }
        .promise-benefit:first-child { padding-left: 0; }
        .promise-benefit:last-child { border: 0; padding-right: 0; }
        .promise-benefit svg { width: 34px; height: 38px; color: #ff4938; }
        .promise-benefit h3 { font-size: 1rem; margin-bottom: 4px; line-height: 1.3; }
        .promise-benefit p { font-size: .78rem; color: #aeb0b7; line-height: 1.5; }
        .promise-bottom { display: grid; grid-template-columns: 1.7fr 1fr; border: 1px solid #3a3031; border-radius: 28px; overflow: hidden; }
        .price-match { display: flex; align-items: center; gap: 24px; padding: 32px; background: #fafafa; color: #18181b; border-radius: 26px; }
        #price-match { scroll-margin-top: 120px; }
        .price-match-art { width: 120px; height: 150px; flex-shrink: 0; }
        .price-match h3 { font-size: clamp(1.4rem, 2.1vw, 1.9rem); line-height: 1.12; letter-spacing: -.045em; margin-bottom: 12px; }
        .price-match h3 span { display: block; color: #ed352d; }
        .price-match p { max-width: 370px; font-size: .85rem; line-height: 1.5; color: #52525b; }
        .price-match-action { display: inline-flex; align-items: center; gap: 16px; justify-content: center; padding: 15px 22px; border: 2px solid #ef4438; border-radius: 40px; font-weight: 600; font-size: .85rem; white-space: nowrap; margin-top: 20px; transition: background .2s, color .2s; }
        .price-match-action:hover { background: #ef4438; color: white; }
        .promise-quality { display: flex; align-items: center; gap: 12px; padding: 30px; background: radial-gradient(ellipse at 100% 100%, #a9241b 0%, #331311 30%, transparent 70%); }
        .promise-quality h3 { font-size: 1.35rem; line-height: 1.25; margin-bottom: 12px; }
        .promise-quality p { font-size: .82rem; line-height: 1.6; color: #c3bec0; }
        .promise-shield { width: 125px; height: 155px; filter: drop-shadow(0 16px 15px rgba(0,0,0,.5)); }
        .price-promise a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
        @media (max-width: 1200px) {
            .offer-strip { grid-template-columns: repeat(3, 1fr); }
            .offer-intro { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 8px; }
            .offer-intro h2 { margin: 0; }
            .promise-benefit { padding: 0 12px; gap: 10px; }
            .promise-benefit svg { width: 26px; }
            .price-match-art { width: 85px; }
            .promise-quality { padding: 24px; }
            .promise-shield { width: 85px; }
        }
        @media (max-width: 900px) {
            .promise-benefits { grid-template-columns: repeat(3, 1fr); gap: 25px 0; }
            .promise-benefit:nth-child(3) { border: 0; }
            .promise-benefit:nth-child(4) { padding-left: 0; }
            .promise-bottom { grid-template-columns: 1fr; }
            .promise-quality { justify-content: space-between; }
            .promise-shield { height: 120px; width: 100px; }
        }
        @media (max-width: 600px) {
            .price-promise { padding: 20px 0 32px; }
            .offer-strip { grid-template-columns: 1fr; padding: 24px 18px 18px; gap: 14px; border-radius: 22px; }
            .offer-intro { display: block; padding: 0 0 12px; }
            .offer-intro h2 { margin-bottom: 10px; font-size: 1.6rem; }
            .offer-card { padding: 20px; }
            .offer-card > div { flex: 1; }
            .offer-card h3 { font-size: 1rem; }
            .offer-card p { font-size: .85rem; }
            .offer-card strong { font-size: 1.25rem; }
            .promise-benefits { grid-template-columns: 1fr 1fr; padding: 28px 0; }
            .promise-benefit, .promise-benefit:first-child, .promise-benefit:nth-child(4), .promise-benefit:last-child { padding: 0 10px; border: 0; }
            .price-match { padding: 28px 24px; gap: 14px; align-items: flex-start; }
            .price-match-art { width: 52px; height: 80px; }
            .price-match h3 { font-size: 1.65rem; }
            .price-match-action { white-space: normal; padding: 12px 18px; }
            .promise-quality { padding: 24px; }
        }


        /* Services showcase */
        .services-showcase { padding-top: 24px; }
        .services-showcase-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
        .service-tile { position: relative; display: block; padding: 24px 24px 44px; border: 1px solid #e4e4e7; border-radius: 16px; background: linear-gradient(135deg, #fff, #f4f4f6); color: #18181b; transition: transform .2s, box-shadow .2s; }
        .service-tile:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(239,68,68,.12); }
        .service-tile-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #ff302d; background: #ffe8e7; margin-bottom: 16px; }
        .service-tile-icon svg { width: 30px; height: 30px; }
        .service-tile--crm .service-tile-icon { color: #f47b20; background: #fff0e1; }
        .service-tile--software .service-tile-icon { color: #7c3aed; background: #f0e9ff; }
        .service-tile--support .service-tile-icon { color: #00ab73; background: #e3f7ed; }
        .service-tile h3 { font-size: 1rem; line-height: 1.3; margin-bottom: 8px; letter-spacing: -.03em; }
        .service-tile p { color: #52525b; font-size: .8rem; line-height: 1.5; }
        .service-tile-arrow { position: absolute; right: 16px; bottom: 14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #e4e4e7; background: white; font-size: 1.15rem; }
        .support-banner { position: relative; display: grid; grid-template-columns: 1.5fr .9fr 1fr; align-items: center; gap: 28px; margin-top: 24px; padding: 32px; border-radius: 24px; overflow: hidden; background: linear-gradient(115deg, #fff 0%, #f9f9fa 65%, #edf1ed 100%); color: #18181b; }
        .support-label { display: inline-flex; gap: 6px; align-items: center; background: #ff352d; color: white; border-radius: 30px; padding: 4px 11px; font-size: .65rem; font-weight: 600; margin-bottom: 12px; }
        .support-label svg { width: 13px; height: 13px; }
        .support-banner h2 { font-size: 1.45rem; line-height: 1.3; letter-spacing: -.04em; margin-bottom: 10px; }
        .support-banner h2 span { color: #ff332b; white-space: nowrap; }
        .support-banner p { font-size: .8rem; line-height: 1.5; color: #52525b; }
        .support-button { margin-top: 18px; padding: 13px 22px; border-radius: 40px; font-size: .8rem; background: #ff352d; box-shadow: 0 8px 20px rgba(255,53,45,.2); }
        .support-checklist { list-style: none; display: grid; gap: 13px; }
        .support-checklist li { display: flex; align-items: center; gap: 10px; font-size: .75rem; line-height: 1.4; color: #52525b; }
        .support-checklist li::before { content: '✓'; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #27272a; color: white; font-size: 10px; flex-shrink: 0; }
        .support-art { position: relative; min-width: 0; padding: 8px 6px 8px 0; }
        .support-dashboard { position: relative; transform: rotate(-5deg); padding: 22px 16px 12px; border: 5px solid white; border-radius: 16px; background: linear-gradient(#fff, #f0f1f3); box-shadow: 0 15px 25px #0002; }
        .support-dashboard strong { display: block; font-size: .85rem; line-height: 1.35; }
        .support-dashboard svg { display: block; width: 100%; height: auto; margin-top: 22px; }
        .support-status { position: absolute; top: 78px; right: -8px; padding: 6px 10px; border-radius: 7px; background: #dcf9e8; color: #23714a; font-size: .6rem; box-shadow: 0 5px 12px #0001; }
        .support-growth { position: absolute; right: -10px; bottom: -4px; padding: 12px 16px; background: white; border-radius: 12px; box-shadow: 0 8px 20px #0002; font-size: .65rem; color: #71717a; }
        .support-growth strong { display: block; color: #18181b; font-size: .9rem; }
        .support-growth span { color: #ff352d; margin-left: 8px; }
        .services-showcase a:focus-visible, .support-button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
        @media (max-width: 1100px) { .service-tile { padding: 20px 16px 44px; } .support-banner { grid-template-columns: 1.3fr 1fr; } .support-art { display: none; } }
        @media (max-width: 768px) { .services-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .support-banner { gap: 24px; padding: 24px; } }
        @media (max-width: 540px) { .services-showcase-grid { gap: 12px; } .service-tile { padding: 18px 14px 46px; } .service-tile h3 { font-size: .95rem; } .service-tile p { font-size: .78rem; } .service-tile-icon { width: 46px; height: 46px; margin-bottom: 12px; } .support-banner { grid-template-columns: 1fr; } .support-art { display: block; width: min(260px, 100%); margin: 0 auto 10px; } .support-button { width: 100%; } }


.inner-page .hero-buttons { display: flex; }
.inner-page .support-banner h2 { color: #18181b; }
.inner-page .support-banner .support-button { gap: 10px; }
.inner-page .consultation-banner .consultation-copy { width: 60%; }
@media(max-width:768px) { .inner-page .consultation-banner .consultation-copy { width:100%; } }

.inner-page .dev-card { display: flex; flex-direction: column; }
.inner-page .dev-card-price { margin-top: auto; padding-top: 20px; }

/* About page: shared edges, balanced columns, no repeated hero photo. */
.page-about .page-header-inner { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; }
.about-intro-panel { padding: 28px; border: 1px solid #4b3039; border-radius: 20px; background: linear-gradient(135deg,#271a20,#151519); }
.about-intro-label { color: #a8a8b3; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.about-intro-panel h2 { font-size: 1.65rem; line-height: 1.2; margin: 14px 0 22px; }
.about-intro-panel h2 span { color: var(--accent); }
.about-intro-panel ul { display: grid; gap: 12px; list-style: none; }
.about-intro-panel li { font-size: .85rem; color: #e0e0e5; padding-left: 18px; position: relative; }
.about-intro-panel li::before { content: ''; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.page-about .about-intro-panel p { font-size: .8rem; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #3b2e35; color: #aaaab5; }
.page-about .team-grid { grid-template-columns: 1.1fr 1fr; align-items: start; gap: 36px; }
.page-about .team-photo { margin: 0; max-width: none; }
.page-about .team-copy h2 { font-size: clamp(1.6rem,2.2vw,1.95rem); }
.page-about .story-center { max-width: none; margin: 0; text-align: left; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 36px; padding: 28px; background: #141418; border: 1px solid #303036; border-radius: 22px; }
.page-about .story-text { margin: 0; font-size: .95rem; line-height: 1.75; }
.page-about .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: stretch; }
.page-about .contact-grid > div { min-width: 0; }
.page-about .contact-card { padding: 22px; }
.page-about .map-container { height: 100%; min-height: 400px; }
.page-about .map-container > ymaps { width: 100% !important; height: 100% !important; }
.page-about .form-box { max-width: none; margin: 28px 0 0; }
.page-about .form-box .form-card { max-width: none; }
@media(max-width:900px) { .page-about .page-header-inner,.page-about .team-grid,.page-about .contact-grid { grid-template-columns: 1fr; } .page-about .team-photo { max-width: 680px; margin: 0 auto; } .page-about .map-container { height: 360px; min-height: 0; } }
@media(max-width:600px) { .page-about .story-center { grid-template-columns: 1fr; padding: 22px; } .about-intro-panel { padding: 22px; } .page-about .contact-cards { grid-template-columns: 1fr; } .page-about .contact-card-full { grid-column: auto; } }

/* Compact contact section and bounded form. */
.page-about .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
.page-about .contact-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.page-about .contact-card { min-width: 0; padding: 20px; }
.page-about .contact-card h3 { font-size: 1rem; margin-bottom: 8px; }
.page-about .contact-card p,.page-about .contact-card a { font-size: .85rem; }
.page-about .contact-icon { width: 40px; height: 40px; margin-bottom: 12px; }
.page-about .contact-card-full { grid-column: 1 / -1; }
.page-about .map-container { height: 520px; min-height: 0; }
.page-about .map-container iframe { display: block; width: 100%; height: 100%; border: 0; }
.page-about .form-box { width: 100%; max-width: 580px; margin: 36px auto 0; }
@media(max-width:900px) { .page-about .contact-grid { grid-template-columns: 1fr; } .page-about .map-container { height: 340px; } }
@media(max-width:480px) { .page-about .contact-cards { grid-template-columns: 1fr; } .page-about .map-container { height: 300px; } .page-about .form-card { padding: 22px; } }

        /* Workflow and contract */
        .workflow-heading { text-align: center; margin-bottom: 34px; }
        .workflow-heading > span { display: inline-block; color: var(--accent); border: 1px solid #673035; background: #231417; border-radius: 30px; padding: 6px 16px; font-size: .8rem; margin-bottom: 12px; }
        .workflow-heading h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; margin-bottom: 14px; }
        .workflow-heading em { font-style: normal; color: var(--accent); }
        .workflow-heading p { color: #b5b5c0; }
        .workflow-layout { display: grid; grid-template-columns: 1fr 1.85fr; gap: 24px; align-items: start; }
        .workflow-steps { list-style: none; counter-reset: workflow; padding-left: 48px; display: grid; gap: 14px; position: relative; }
        .workflow-steps::before { content: ''; position: absolute; left: 18px; top: 35px; bottom: 50px; width: 1px; background: #743134; }
        .workflow-steps li { counter-increment: workflow; position: relative; display: flex; align-items: center; gap: 14px; padding: 20px 16px; background: linear-gradient(120deg,#211519,#121215); border: 1px solid #2a2429; border-radius: 20px; }
        .workflow-steps li::before { content: counter(workflow); position: absolute; left: -49px; top: 24px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #ef3935; color: white; font-weight: 700; box-shadow: 0 0 22px #ef44442a; }
        .workflow-step-icon { width: 44px; height: 50px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid #633036; border-radius: 14px; color: #ff6962; }
        .workflow-step-icon svg { width: 24px; height: 24px; }
        .workflow-steps h3 { font-size: .95rem; margin-bottom: 6px; }
        .workflow-steps p { font-size: .78rem; color: #a9a9b5; line-height: 1.5; }
        .workflow-contract { position: relative; overflow: hidden; border-radius: 24px; background: radial-gradient(ellipse at 100% 100%,#f9bbbb,transparent 65%),#fafafa; color: #161618; padding: 30px; min-height: 370px; }
        .workflow-contract-copy { position: relative; z-index: 1; max-width: 75%; }
        .workflow-contract-copy h3 { font-size: clamp(1.55rem,2.5vw,2rem); font-weight: 800; line-height: 1.1; margin-bottom: 12px; }
        .workflow-contract-copy h3 span { color: #ef3935; }
        .workflow-contract-copy p { font-size: .9rem; color: #696974; max-width: 360px; line-height: 1.5; }
        .workflow-documents { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; width: 78%; position: relative; z-index: 1; margin-top: 26px; }
        .workflow-document { display: flex; gap: 10px; align-items: flex-start; background: #fffffff0; border: 1px solid white; border-radius: 16px; padding: 16px 12px; }
        .workflow-document > span { display: grid; place-items: center; background: #ffe9e9; border-radius: 12px; width: 38px; height: 42px; flex-shrink: 0; color: #ef3935; }
        .workflow-document svg { width: 22px; height: 22px; }
        .workflow-document h4 { font-size: .92rem; margin-bottom: 5px; }
        .workflow-document p { font-size: .72rem; color: #696974; line-height: 1.45; }
        .workflow-art { position: absolute; width: 32%; height: auto; right: -5px; top: 55px; filter: drop-shadow(0 18px 14px #8b15242b); }
        .workflow-terms { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid #2e272d; border-radius: 20px; padding: 20px 12px; margin-top: 14px; background: linear-gradient(120deg,#131315,#211417); }
        .workflow-terms > div { display: flex; gap: 10px; padding: 0 10px; }
        .workflow-terms > div + div { border-left: 1px solid #353039; }
        .workflow-terms svg { width: 26px; height: 26px; color: var(--accent); flex-shrink: 0; }
        .workflow-terms h4 { font-size: .76rem; margin-bottom: 6px; }
        .workflow-terms p { font-size: .68rem; color: #a9a9b5; line-height: 1.5; }
        @media(max-width:1100px) { .workflow-layout { grid-template-columns: 1fr; } .workflow-steps { grid-template-columns: 1fr 1fr; gap: 16px 58px; } .workflow-steps::before { display: none; } .workflow-contract { min-height: 380px; } .workflow-art { width: 220px; top: 15px; } .workflow-documents { max-width: 650px; } }
        @media(max-width:600px) { .workflow-steps { grid-template-columns: 1fr; } .workflow-contract { padding: 24px 20px; } .workflow-contract-copy { max-width: 100%; } .workflow-documents { width: 100%; grid-template-columns: 1fr; margin-top: 20px; } .workflow-art { position: relative; display: block; width: 150px; top: auto; right: auto; margin: 12px auto -12px; } .workflow-terms { grid-template-columns: 1fr; gap: 16px; padding: 20px; } .workflow-terms > div { padding: 0; } .workflow-terms > div + div { border: 0; padding-top: 14px; border-top: 1px solid #353039; } .workflow-terms h4 { font-size: .9rem; } .workflow-terms p { font-size: .8rem; } }

.inner-page .workflow-contract-copy h3 { color: #161618; }
.inner-page .workflow-heading { max-width: none; }
.inner-page .related-services-heading { margin-bottom: 26px; }
.inner-page .related-services-heading h2 { font-size: clamp(1.6rem,2.5vw,2.15rem); margin-bottom: 10px; }
.inner-page .related-services-heading p { color: var(--fg-muted); }
