@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');

/* =========================================================
   Ghaith Tech / Iraq Stack Public Theme
========================================================= */

:root {
    --gt-primary: #0d6efd;
    --gt-primary-2: #0667df;
    --gt-cyan: #00c8ff;
    --gt-dark: #071a3a;
    --gt-text: #1e3359;
    --gt-muted: #64748b;
    --gt-soft: #eef8ff;
    --gt-card: rgba(255, 255, 255, .88);
    --gt-border: rgba(13, 110, 253, .14);
    --gt-border-2: rgba(255, 255, 255, .88);
    --gt-shadow: 0 18px 55px rgba(24, 76, 126, .10);
    --gt-shadow-lg: 0 40px 90px rgba(22, 82, 144, .16);
    --gt-radius: 26px;
    --gt-radius-lg: 36px;
}

/* =========================================================
   Base
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Cairo, Tahoma, Arial, sans-serif;
    direction: rtl;
    text-align: right;
    background:
        radial-gradient(circle at 12% 18%, rgba(0, 200, 255, .13), transparent 28%),
        radial-gradient(circle at 82% 14%, rgba(13, 110, 253, .10), transparent 30%),
        linear-gradient(135deg, #f9fdff, #eaf7ff 52%, #dff7ff);
    color: var(--gt-dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

.wrap {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

p {
    line-height: 1.9;
    color: #334155;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

.skip-link {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 999;
    transform: translateY(-150%);
    padding: 10px 14px;
    border-radius: 12px;
    color: #ffffff;
    background: var(--gt-primary);
    font-weight: 900;
    transition: transform .2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

.flash-wrap {
    margin-top: 18px;
}

/* =========================================================
   Public Header / Navbar
   Desktop: CTA right, menu center, brand left
   Mobile: menu button right, brand left
========================================================= */

.nav,
.public-topbar {
    position: sticky;
    top: 12px;
    z-index: 80;
    margin-top: 12px;
}

.navin,
.public-nav-compact {
    direction: rtl;
    min-height: 72px;
    padding: 10px 14px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 18px;
    border-radius: 26px;
    background: rgba(255, 255, 255, .91);
    border: 1px solid rgba(255, 255, 255, .92);
    box-shadow: 0 18px 55px rgba(15, 76, 129, .10);
    backdrop-filter: blur(16px);
}

/* Desktop CTA: أقصى اليمين */
.nav-cta,
.public-nav-cta {
    order: 1;
    flex: 0 0 auto;
    display: inline-flex !important;
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 15px;
    font-size: 13px;
    white-space: nowrap;
}

.public-nav-cta.active {
    box-shadow: 0 18px 38px rgba(13, 110, 253, .24);
}

/* Desktop menu: الوسط */
.menu,
.public-menu-compact {
    order: 2;
    flex: 1 1 auto;
    width: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    direction: rtl;
}

.menu a,
.public-menu-compact a {
    position: relative;
    min-height: 42px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 8px 10px;
    border-radius: 13px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--gt-text);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}

.menu a:hover,
.menu a.active,
.public-menu-compact a:hover,
.public-menu-compact a.active {
    color: var(--gt-primary);
    background: #eff8ff;
    border-color: #dbeafe;
    transform: translateY(-1px);
}

.menu a.mobile-request-link,
.public-menu-compact a.mobile-request-link {
    display: none;
}

/* Desktop brand: أقصى اليسار */
.brand,
.public-brand-compact {
    order: 3;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    direction: ltr;
    min-width: 0;
    flex: 0 0 auto;
    margin-right: 0;
    margin-left: 0;
}

.brand-text,
.public-brand-compact .brand-text {
    direction: ltr;
    text-align: left;
    min-width: 0;
    line-height: 1.2;
}

.mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 900;
    font-size: 22px;
    background: linear-gradient(135deg, #00d4ff, var(--gt-primary));
    box-shadow: 0 12px 28px rgba(13, 110, 253, .24);
    flex-shrink: 0;
}

.brand-icon-img,
.public-brand-compact .brand-icon-img {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.brand-logo-img,
.public-brand-compact .brand-logo-img {
    width: 48px;
    height: 48px;
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
    display: block;
    border-radius: 16px;
    flex-shrink: 0;
}

.brand b,
.public-brand-compact .brand-text b {
    display: block;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 900;
    color: var(--gt-dark);
    white-space: nowrap;
}

.brand small,
.public-brand-compact .brand-text small {
    display: block;
    max-width: 180px;
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 800;
    color: #355070;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile toggle hidden on desktop */
.nav-toggle,
.public-menu-toggle {
    order: 0;
    display: none;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 9px;
    margin: 0;
    border: 1px solid #dbeafe;
    border-radius: 15px;
    background: linear-gradient(135deg, #eff8ff, #ffffff);
    cursor: pointer;
    box-shadow: none;
}

.nav-toggle span,
.public-menu-toggle span {
    display: block;
    width: 22px;
    height: 3px;
    border-radius: 99px;
    background: var(--gt-primary);
    margin: 3px 0;
    transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle.is-open span:nth-child(1),
.public-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2),
.public-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3),
.public-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* =========================================================
   Buttons
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border: 0;
    border-radius: 15px;
    padding: 12px 20px;
    font-family: inherit;
    font-weight: 900;
    cursor: pointer;
    color: white;
    background: linear-gradient(135deg, var(--gt-primary), #00a8ff);
    box-shadow: 0 14px 30px rgba(13, 110, 253, .22);
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(13, 110, 253, .28);
}

.btn.out {
    background: white;
    color: var(--gt-primary);
    border: 1px solid rgba(13, 110, 253, .28);
    box-shadow: none;
}

.btn.out:hover {
    box-shadow: 0 14px 30px rgba(13, 110, 253, .10);
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* =========================================================
   Hero
========================================================= */

.hero {
    padding: 76px 0 58px;
    overflow: hidden;
}

.hero-grid {
    direction: ltr;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 46px;
}

.hero-content {
    direction: rtl;
    grid-column: 1;
    text-align: right;
    max-width: 620px;
    justify-self: start;
}

.hero-media-wrap,
.hero-media {
    direction: rtl;
    grid-column: 2;
    justify-self: end;
    width: 100%;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid var(--gt-border);
    color: var(--gt-primary);
    font-weight: 900;
}

.badge-dot {
    color: var(--gt-cyan);
    filter: drop-shadow(0 0 8px rgba(0, 200, 255, .45));
}

.hero h1 {
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.25;
    margin: 20px 0 14px;
    font-weight: 900;
    letter-spacing: -1px;
}

.blue {
    color: var(--gt-primary);
}

.hero p {
    font-size: 18px;
    color: #3b4d69;
    margin: 0 0 27px;
}

/* =========================================================
   Hero Visual
========================================================= */

.hero-visual-frame {
    position: relative;
    width: 100%;
    min-height: 420px;
    border-radius: var(--gt-radius-lg);
}

.hero-uploaded-media {
    position: relative;
    z-index: 3;
    width: 100%;
    min-height: 420px;
    display: grid;
    place-items: center;
    border-radius: var(--gt-radius-lg);
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 18%, rgba(0, 200, 255, .14), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(236, 248, 255, .82));
    border: 1px solid rgba(255, 255, 255, .92);
    box-shadow: var(--gt-shadow-lg);
}

.hero-uploaded-media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: contain;
    display: block;
    padding: 18px;
}

.has-hero-image .hero-fallback-mock {
    display: none;
}

.no-hero-image .hero-fallback-mock,
.hero-image-failed .hero-fallback-mock {
    display: block;
}

.hero-image-failed .hero-uploaded-media {
    display: none;
}

.mock {
    min-height: 420px;
    position: relative;
    padding: 28px;
    border-radius: var(--gt-radius-lg);
    background:
        radial-gradient(circle at 20% 15%, rgba(0, 200, 255, .14), transparent 35%),
        linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(236, 248, 255, .80));
    border: 1px solid rgba(255, 255, 255, .92);
    box-shadow: var(--gt-shadow-lg);
    overflow: hidden;
}

.mock::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    left: -120px;
    bottom: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 110, 253, .13), transparent 68%);
}

.browser {
    position: relative;
    z-index: 2;
    border-radius: 28px;
    padding: 18px;
    background: #ffffff;
    box-shadow: 0 25px 65px rgba(8, 34, 74, .14);
    transform: rotate(-2deg);
}

.mock-top {
    display: flex;
    direction: ltr;
    gap: 7px;
    margin-bottom: 14px;
}

.mock-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dbeafe;
}

.dashboard-preview {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 14px;
    min-height: 260px;
}

.dash-side {
    border-radius: 20px;
    padding: 14px;
    background: #071a3a;
}

.dash-side div {
    height: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    margin-bottom: 12px;
}

.dash-main {
    min-width: 0;
}

.dash-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.dash-cards div {
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eff8ff, #dff4ff);
    border: 1px solid #dbeafe;
}

.chart {
    height: 145px;
    border-radius: 22px;
    background: linear-gradient(135deg, #f0f9ff, #ffffff);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 18px;
    align-items: end;
    border: 1px solid #eef6ff;
}

.bar {
    border-radius: 12px;
    background: linear-gradient(180deg, var(--gt-primary), var(--gt-cyan));
}

.mini {
    height: 42px;
    border-radius: 14px;
    background: #eff6ff;
    margin-top: 12px;
    border: 1px solid #dbeafe;
}

.phone {
    position: absolute;
    left: 28px;
    bottom: 26px;
    width: 132px;
    height: 246px;
    z-index: 3;
    border-radius: 30px;
    background: #071a3a;
    padding: 10px;
    box-shadow: 0 20px 45px rgba(7, 26, 58, .25);
}

.phone > div {
    height: 100%;
    border-radius: 23px;
    background: #f8fbff;
    padding: 12px;
}

.phone-head {
    width: 42px;
    height: 6px;
    border-radius: 99px;
    margin: 0 auto 14px;
    background: #cbd5e1;
}

/* =========================================================
   Sections / Common Cards
========================================================= */

.section {
    padding: 58px 0;
}

.st {
    text-align: center;
    margin-bottom: 32px;
}

.st h2 {
    margin: 8px 0 8px;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 900;
}

.st p {
    margin: 0;
    color: var(--gt-muted);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(13, 110, 253, .08);
    color: var(--gt-primary);
    font-weight: 900;
    border: 1px solid rgba(13, 110, 253, .12);
}

.grid {
    display: grid;
    gap: 22px;
}

.g2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.g3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.g4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    background: var(--gt-card);
    border: 1px solid var(--gt-border-2);
    border-radius: var(--gt-radius);
    padding: 24px;
    box-shadow: var(--gt-shadow);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

a.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 65px rgba(24, 76, 126, .14);
    border-color: rgba(13, 110, 253, .16);
}

.card h1,
.card h2,
.card h3 {
    margin-top: 0;
    color: var(--gt-dark);
}

.card p {
    margin-bottom: 0;
}

.icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 27px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #eff8ff, #ffffff);
    color: var(--gt-primary);
    border: 1px solid #dbeafe;
}

.card-media {
    height: 165px;
    margin: -6px -6px 16px;
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 200, 255, .10), transparent 36%),
        #eef8ff;
    border: 1px solid #dbeafe;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-media img:not([src]),
.card-media img[src=""] {
    display: none;
}

.detail-media {
    max-height: 360px;
    margin-bottom: 22px;
    border-radius: 24px;
    overflow: hidden;
    background: #eef8ff;
    border: 1px solid #dbeafe;
}

.detail-media img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    display: block;
}

.card-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--gt-primary);
    font-weight: 900;
}

.project-meta,
.blog-meta,
.portfolio-meta-list,
.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.project-meta span,
.blog-meta span,
.portfolio-meta-list span,
.blog-detail-meta span {
    display: inline-flex;
    padding: 6px 11px;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--gt-primary);
    border: 1px solid #dbeafe;
    font-size: 12px;
    font-weight: 900;
}

.featured,
.project-meta .featured,
.portfolio-meta-list .featured {
    background: #dcfce7 !important;
    color: #166534 !important;
    border-color: #bbf7d0 !important;
}

.home-trust {
    margin-top: -18px;
    padding: 0 0 36px;
}

.trust-card {
    min-height: 190px;
}

.process-card {
    position: relative;
    overflow: hidden;
}

.process-card > span {
    display: inline-flex;
    margin-bottom: 14px;
    font-size: 28px;
    font-weight: 900;
    color: rgba(13, 110, 253, .20);
}

.cta-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 34px;
    background:
        radial-gradient(circle at 12% 18%, rgba(0, 200, 255, .12), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(236, 248, 255, .82));
}

.cta-card h2 {
    font-size: clamp(26px, 3vw, 38px);
    margin-bottom: 10px;
}

.empty-card {
    text-align: center;
}

/* =========================================================
   Forms / Tables / Alerts
========================================================= */

.form {
    display: grid;
    gap: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.input,
select,
textarea {
    width: 100%;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    padding: 14px 16px;
    font-family: inherit;
    background: #ffffff;
    color: var(--gt-dark);
    outline: none;
}

.input:focus,
select:focus,
textarea:focus {
    border-color: rgba(13, 110, 253, .55);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, .08);
}

textarea {
    min-height: 145px;
    resize: vertical;
}

label {
    font-weight: 800;
    color: var(--gt-text);
}

.alert {
    padding: 14px 18px;
    border-radius: 16px;
    margin: 18px 0;
    font-weight: 800;
}

.alert.ok,
.ok {
    background: #dcfce7;
    color: #166534;
}

.alert.err,
.err {
    background: #fee2e2;
    color: #991b1b;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 18px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 18px;
    overflow: hidden;
}

th,
td {
    padding: 13px;
    border-bottom: 1px solid #eef2f7;
    text-align: right;
    vertical-align: top;
}

th {
    background: #f8fbff;
    color: #334155;
    font-weight: 900;
}

td {
    color: #475569;
}

/* =========================================================
   Footer / Floating Buttons
========================================================= */

.footer,
.site-footer {
    position: relative;
    margin-top: 60px;
    padding: 54px 0 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 18%, rgba(0, 200, 255, .12), transparent 32%),
        radial-gradient(circle at 88% 22%, rgba(13, 110, 253, .18), transparent 34%),
        #071a3a;
    color: white;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.04), transparent);
    pointer-events: none;
}

.footer p,
.footer a,
.site-footer p,
.site-footer a {
    color: #cbd5e1;
}

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr 1fr;
    gap: 26px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo h3,
.footer-col h3 {
    margin: 0 0 16px;
    color: #ffffff;
}

.footer-company-name {
    margin: 2px 0 0;
    color: #cbd5e1;
    font-weight: 800;
    font-size: 13px;
}

.footer-brand > p {
    max-width: 420px;
}

.footer-col a {
    display: block;
    width: fit-content;
    margin-bottom: 10px;
    color: #cbd5e1;
    font-weight: 700;
    transition: color .2s ease, transform .2s ease;
}

.footer-col a:hover {
    color: #ffffff;
    transform: translateX(-3px);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.footer-social a,
.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 13px;
    border-radius: 13px;
    color: #ffffff;
    font-weight: 900;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.12);
    transition: background .2s ease, transform .2s ease;
}

.footer-social a:hover,
.footer-cta:hover {
    background: rgba(255,255,255,.18);
    transform: translateY(-2px);
}

.footer-cta {
    margin-top: 8px;
    background: linear-gradient(135deg, #25d366, #18b85a);
    border: 0;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.10);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 700;
}

.wa,
.chat {
    position: fixed;
    bottom: 20px;
    z-index: 60;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 18px 38px rgba(7, 26, 58, .18);
}

.wa {
    right: 20px;
    background: #25d366;
}

.chat {
    left: 20px;
    border: 0;
    background: linear-gradient(135deg, var(--gt-primary), var(--gt-cyan));
    font-size: 24px;
    cursor: pointer;
}

/* =========================================================
   Chat Notice / JS Effects
========================================================= */

.gt-chat-notice {
    position: fixed;
    left: 20px;
    bottom: 92px;
    z-index: 80;
    width: min(340px, calc(100% - 40px));
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 24px 70px rgba(7, 26, 58, .18);
    backdrop-filter: blur(14px);
    transform: translateY(18px);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
}

.gt-chat-notice.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.gt-chat-notice__close {
    position: absolute;
    top: 10px;
    left: 12px;
    border: 0;
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--gt-primary);
    font-size: 22px;
    cursor: pointer;
}

.gt-chat-notice__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--gt-primary), var(--gt-cyan));
    color: #fff;
    font-size: 24px;
    margin-bottom: 12px;
}

.gt-chat-notice h3 {
    margin: 0 0 8px;
    color: var(--gt-dark);
}

.gt-chat-notice p {
    margin: 0 0 14px;
    font-size: 14px;
}

.gt-chat-notice__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.gt-chat-notice__actions a {
    flex: 1;
    min-width: 130px;
    text-align: center;
    padding: 10px 12px;
    border-radius: 14px;
    background: #eff6ff;
    color: var(--gt-primary);
    font-weight: 900;
    border: 1px solid #dbeafe;
}

.image-fallback-label {
    width: 100%;
    height: 100%;
    min-height: 120px;
    display: grid;
    place-items: center;
    color: var(--gt-muted);
    font-weight: 800;
    background: linear-gradient(135deg, #eff8ff, #ffffff);
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .45s ease, transform .45s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   Public Inner Pages
========================================================= */

.page-hero {
    padding: 68px 0 34px;
}

.page-hero-card {
    position: relative;
    overflow: hidden;
    padding: 42px;
    border-radius: var(--gt-radius-lg);
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 200, 255, .14), transparent 34%),
        radial-gradient(circle at 88% 12%, rgba(13, 110, 253, .13), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,.94), rgba(236,248,255,.78));
    border: 1px solid rgba(255,255,255,.92);
    box-shadow: var(--gt-shadow-lg);
}

.page-hero-card h1 {
    margin: 12px 0 12px;
    max-width: 760px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.25;
    font-weight: 900;
    color: var(--gt-dark);
}

.page-hero-card p {
    max-width: 760px;
    margin: 0 0 24px;
    font-size: 18px;
    color: #3b4d69;
}

/* Services / Portfolio / Blog shared */
.services-grid,
.portfolio-grid,
.blog-grid {
    align-items: stretch;
}

.service-page-card,
.portfolio-page-card,
.blog-page-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    position: relative;
    overflow: hidden;
}

.service-page-card .card-link,
.portfolio-page-card .card-link,
.blog-page-card .card-link {
    margin-top: auto;
    padding-top: 18px;
}

.card-media-placeholder {
    display: grid;
    place-items: center;
    min-height: 165px;
}

.card-media-placeholder span {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 26px;
    font-size: 34px;
    background: linear-gradient(135deg, #ffffff, #eff8ff);
    border: 1px solid #dbeafe;
    box-shadow: 0 18px 40px rgba(13,110,253,.10);
}

.service-workflow-section,
.portfolio-categories-section,
.blog-topics-section {
    padding-top: 34px;
}

/* Detail shared */
.service-detail-page,
.portfolio-detail-page,
.blog-detail-page {
    padding-top: 68px;
}

.service-detail-hero,
.portfolio-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 34px;
    align-items: center;
    padding: 34px;
    border-radius: var(--gt-radius-lg);
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 200, 255, .14), transparent 34%),
        radial-gradient(circle at 88% 12%, rgba(13, 110, 253, .13), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,.94), rgba(236,248,255,.78));
    border: 1px solid rgba(255,255,255,.92);
    box-shadow: var(--gt-shadow-lg);
    overflow: hidden;
}

.service-detail-hero h1,
.portfolio-detail-hero h1,
.blog-detail-header h1 {
    margin: 12px 0 14px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.25;
    font-weight: 900;
    color: var(--gt-dark);
}

.service-detail-summary,
.portfolio-detail-summary,
.blog-detail-summary {
    margin: 0 0 24px;
    max-width: 620px;
    font-size: 18px;
    color: #3b4d69;
}

.service-detail-media,
.portfolio-detail-media,
.blog-detail-media {
    position: relative;
    min-height: 380px;
    display: grid;
    place-items: center;
    border-radius: 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 18%, rgba(0, 200, 255, .14), transparent 34%),
        linear-gradient(145deg, #ffffff, #edf8ff);
    border: 1px solid rgba(255,255,255,.92);
    box-shadow: 0 28px 70px rgba(22,82,144,.14);
}

.service-detail-media img,
.portfolio-detail-media img,
.blog-detail-media img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: contain;
    padding: 18px;
    display: block;
}

.blog-detail-media img {
    object-fit: cover;
    padding: 0;
}

.service-detail-media-fallback,
.portfolio-detail-media-fallback,
.blog-detail-media-fallback {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
    color: var(--gt-primary);
}

.service-detail-media-fallback span,
.portfolio-detail-media-fallback span,
.blog-detail-media-fallback span {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border-radius: 30px;
    font-size: 44px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    box-shadow: 0 18px 44px rgba(13,110,253,.12);
}

.service-detail-media-fallback b,
.portfolio-detail-media-fallback b,
.blog-detail-media-fallback b {
    max-width: 420px;
    font-size: 24px;
    font-weight: 900;
    color: var(--gt-dark);
}

.service-detail-media:not(.image-missing) .service-detail-media-fallback,
.portfolio-detail-media:not(.image-missing) .portfolio-detail-media-fallback,
.blog-detail-media:not(.image-missing) .blog-detail-media-fallback {
    opacity: 0;
    pointer-events: none;
}

.service-detail-media.image-missing .service-detail-media-fallback,
.portfolio-detail-media.image-missing .portfolio-detail-media-fallback,
.blog-detail-media.image-missing .blog-detail-media-fallback {
    opacity: 1;
}

/* Lists */
.service-check-list {
    list-style: none;
    margin: 18px 0 22px;
    padding: 0;
    display: grid;
    gap: 10px;
}

.service-check-list li {
    position: relative;
    padding: 12px 42px 12px 14px;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px solid #dbeafe;
    color: var(--gt-text);
    font-weight: 800;
}

.service-check-list li::before {
    content: "✓";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #dcfce7;
    color: #166534;
    font-size: 13px;
    font-weight: 900;
}

/* Portfolio / Blog page specifics */
.portfolio-list-section,
.blog-list-section {
    padding-top: 44px;
}

.portfolio-card-media,
.blog-card-media {
    height: 190px;
}

.portfolio-placeholder,
.blog-placeholder {
    min-height: 190px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tech-tags span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f8fbff;
    color: var(--gt-text);
    border: 1px solid #dbeafe;
    font-size: 12px;
    font-weight: 800;
}

/* Blog comments */
.blog-detail-header {
    max-width: 880px;
    margin: 0 auto 28px;
    text-align: center;
}

.blog-detail-layout {
    grid-template-columns: minmax(0, 2fr) minmax(280px, .85fr);
    align-items: start;
}

.blog-side-content {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 120px;
}

.blog-content-card,
.blog-comments-card,
.blog-side-card {
    background: rgba(255,255,255,.90);
}

.blog-content-text,
.service-content-text,
.portfolio-content-text {
    color: #334155;
    line-height: 2.05;
    font-size: 17px;
    font-weight: 600;
}

.comments-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.comments-head h2 {
    margin: 10px 0 0;
    font-size: 28px;
    font-weight: 900;
}

.comments-count {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--gt-primary);
    border: 1px solid #dbeafe;
    font-weight: 900;
    white-space: nowrap;
}

.comments-list {
    display: grid;
    gap: 14px;
    margin-bottom: 22px;
}

.comment-item {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid #dbeafe;
}

.comment-avatar {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--gt-primary), var(--gt-cyan));
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
}

.comment-body {
    min-width: 0;
}

.comment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 4px;
}

.comment-meta b {
    color: var(--gt-dark);
}

.comment-meta span {
    color: var(--gt-muted);
    font-size: 13px;
    font-weight: 700;
}

.comment-body p {
    margin: 0;
}

.comment-form {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #eaf2ff;
}

.comment-form-grid {
    grid-template-columns: 1fr 1fr;
}

.form-note {
    margin: -4px 0 0;
    color: var(--gt-muted);
    font-size: 13px;
    font-weight: 700;
}

.empty-inline {
    padding: 18px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid #dbeafe;
    text-align: center;
}

/* About */
.about-intro-section,
.contact-section,
.request-section {
    padding-top: 44px;
}

.about-intro-grid,
.about-why-grid {
    align-items: center;
}

.about-intro-card h2,
.about-why-card h2,
.about-tech-card h2,
.contact-info-card h2,
.contact-form-card h2,
.request-info-card h2,
.request-form-card h2 {
    margin: 12px 0 14px;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.35;
    font-weight: 900;
    color: var(--gt-dark);
}

.about-intro-card p {
    font-size: 17px;
    font-weight: 600;
}

.about-visual-card {
    min-height: 360px;
    display: grid;
    place-items: center;
    padding: 28px;
    border-radius: var(--gt-radius-lg);
    background:
        radial-gradient(circle at 20% 18%, rgba(0, 200, 255, .16), transparent 36%),
        radial-gradient(circle at 82% 82%, rgba(13, 110, 253, .14), transparent 35%),
        linear-gradient(145deg, rgba(255,255,255,.94), rgba(236,248,255,.78));
    border: 1px solid rgba(255,255,255,.92);
    box-shadow: var(--gt-shadow-lg);
}

.about-visual {
    width: min(360px, 100%);
    text-align: center;
    padding: 28px;
    border-radius: 32px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.88);
    box-shadow: 0 24px 60px rgba(13,110,253,.10);
}

.about-visual-icon {
    width: 92px;
    height: 92px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 30px;
    color: #ffffff;
    font-size: 34px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gt-primary), var(--gt-cyan));
    box-shadow: 0 18px 42px rgba(13,110,253,.22);
}

.about-visual h3 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 900;
    color: var(--gt-dark);
}

.about-visual p {
    margin: 0 0 18px;
    color: var(--gt-primary);
    font-weight: 900;
}

.about-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.about-mini-grid span,
.tech-cloud span {
    padding: 10px 12px;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px solid #dbeafe;
    color: var(--gt-text);
    font-weight: 900;
}

.about-values-section,
.about-why-section,
.about-process-section {
    padding-top: 34px;
}

.about-value-card {
    min-height: 245px;
}

.about-why-card,
.about-tech-card {
    min-height: 100%;
}

.tech-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tech-cloud span {
    display: inline-flex;
    color: var(--gt-primary);
    font-size: 13px;
}

/* Contact */
.contact-grid {
    align-items: start;
}

.contact-info-wrap {
    display: grid;
    gap: 20px;
}

.contact-info-card,
.contact-form-card,
.contact-note-card,
.request-info-card,
.request-contact-card,
.request-form-card {
    background: rgba(255, 255, 255, .90);
}

.contact-methods {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid #dbeafe;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

a.contact-method:hover {
    transform: translateY(-3px);
    border-color: rgba(13, 110, 253, .26);
    box-shadow: 0 18px 42px rgba(13, 110, 253, .10);
}

.contact-method > span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 17px;
    background: linear-gradient(135deg, var(--gt-primary), var(--gt-cyan));
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
}

.contact-method b {
    display: block;
    color: var(--gt-dark);
    font-weight: 900;
    margin-bottom: 2px;
}

.contact-method small {
    display: block;
    color: var(--gt-muted);
    font-weight: 800;
    direction: ltr;
    text-align: right;
}

.contact-note-card,
.contact-form-card,
.request-contact-card,
.request-form-card {
    position: relative;
    overflow: hidden;
}

.contact-note-card::before,
.request-contact-card::before {
    content: "";
    position: absolute;
    top: -70px;
    left: -70px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 200, 255, .12), transparent 70%);
}

.contact-form-card::before,
.request-form-card::before {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -90px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 110, 253, .10), transparent 70%);
    pointer-events: none;
}

.contact-form-card > *,
.request-form-card > *,
.contact-note-card > *,
.request-contact-card > * {
    position: relative;
    z-index: 1;
}

.contact-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-options-section,
.request-steps-section {
    padding-top: 34px;
}

.contact-option-card {
    min-height: 230px;
}

/* Request Project */
.request-layout {
    grid-template-columns: minmax(280px, .8fr) minmax(0, 2.2fr);
    align-items: start;
}

.request-side {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 120px;
}

.form-section-head {
    margin-bottom: 8px;
}

.form-section-head h2 {
    margin-bottom: 8px;
}

.form-block {
    padding: 18px;
    border-radius: 22px;
    background: #f8fbff;
    border: 1px solid #dbeafe;
}

.form-block h3 {
    margin: 0 0 16px;
    color: var(--gt-dark);
    font-weight: 900;
}

.request-form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.request-form-card label b {
    color: #dc2626;
}

.request-submit-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 200, 255, .10), transparent 34%),
        linear-gradient(135deg, #ffffff, #eff8ff);
    border: 1px solid #dbeafe;
}

.request-submit-box h3 {
    margin: 0 0 4px;
    color: var(--gt-dark);
    font-weight: 900;
}

.request-submit-box p {
    margin: 0;
    color: var(--gt-muted);
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 1180px) {
    .wrap {
        width: min(100% - 28px, 1180px);
    }

    .navin,
    .public-nav-compact {
        gap: 12px;
    }

    .menu,
    .public-menu-compact {
        gap: 3px;
    }

    .menu a,
    .public-menu-compact a {
        padding-inline: 8px;
        font-size: 12px;
    }

    .nav-cta,
    .public-nav-cta {
        padding-inline: 14px;
        font-size: 12px;
    }

    .hero-grid {
        gap: 34px;
    }

    .g4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .request-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Tablet + Mobile: compact navbar */
@media (max-width: 960px) {
    .nav,
    .public-topbar {
        top: 8px;
        margin-top: 8px;
    }

    .navin,
    .public-nav-compact {
        min-height: 64px;
        padding: 9px 13px;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 12px;
    }

    .nav-toggle,
    .public-menu-toggle {
        order: 1;
        display: grid;
        flex: 0 0 44px;
    }

    .brand,
    .public-brand-compact {
        order: 2;
        margin-right: auto;
        margin-left: 0;
        max-width: calc(100% - 70px);
        justify-content: flex-start;
        flex: 0 1 auto;
    }

    .menu,
    .public-menu-compact {
        order: 3;
        width: 100%;
        flex: 0 0 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 8px;
        margin-top: 10px;
        padding: 12px;
        border-radius: 22px;
        background: rgba(248, 251, 255, .98);
        border: 1px solid #dbeafe;
        box-shadow: 0 18px 55px rgba(15, 76, 129, .12);
    }

    .menu.is-open,
    .public-menu-compact.is-open {
        display: flex;
    }

    .menu a,
    .public-menu-compact a {
        min-height: 44px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 12px;
        border-radius: 14px;
        background: #ffffff;
        border: 1px solid #eef6ff;
        color: var(--gt-text);
        font-size: 14px;
    }

    .menu a:hover,
    .menu a.active,
    .public-menu-compact a:hover,
    .public-menu-compact a.active {
        color: #ffffff;
        background: linear-gradient(135deg, var(--gt-primary), var(--gt-cyan));
        border-color: transparent;
    }

    .menu a.mobile-request-link,
    .public-menu-compact a.mobile-request-link {
        display: flex;
    }

    .nav-cta,
    .public-nav-cta {
        display: none !important;
    }

    .hero {
        padding: 52px 0 42px;
    }

    .hero-grid {
        direction: rtl;
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hero-content,
    .home-hero-content,
    .hero-media-wrap,
    .hero-media {
        grid-column: 1;
        justify-self: center;
        text-align: center;
        max-width: 100%;
        width: 100%;
    }

    .hero p {
        margin-inline: auto;
        font-size: 16px;
    }

    .actions,
    .hero-actions {
        justify-content: center;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-visual-frame,
    .hero-uploaded-media,
    .mock {
        min-height: 340px;
    }

    .hero-uploaded-media img {
        min-height: 340px;
    }

    .browser {
        transform: rotate(0);
    }

    .phone {
        width: 112px;
        height: 214px;
        left: 18px;
        bottom: 18px;
    }

    .g2,
    .g3,
    .g4,
    .form-grid,
    .blog-detail-layout,
    .request-layout,
    .about-intro-grid,
    .about-why-grid,
    .contact-grid,
    .service-detail-hero,
    .portfolio-detail-hero {
        grid-template-columns: 1fr;
    }

    .cta-card,
    .request-submit-box {
        flex-direction: column;
        text-align: center;
    }

    .request-side,
    .blog-side-content {
        position: static;
    }

    .service-detail-page,
    .portfolio-detail-page,
    .blog-detail-page {
        padding-top: 42px;
    }

    .service-detail-hero,
    .portfolio-detail-hero {
        text-align: center;
        padding: 28px;
    }

    .service-detail-summary,
    .portfolio-detail-summary {
        margin-inline: auto;
    }

    .service-detail-hero .actions,
    .portfolio-detail-hero .actions,
    .portfolio-meta-list,
    .portfolio-detail-tech,
    .tech-cloud {
        justify-content: center;
    }

    .service-detail-media,
    .portfolio-detail-media,
    .blog-detail-media {
        min-height: 320px;
    }

    .service-detail-media img,
    .portfolio-detail-media img,
    .blog-detail-media img {
        min-height: 320px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 720px) {
    .wrap {
        width: min(100% - 22px, 1180px);
    }

    .nav,
    .public-topbar {
        top: 0;
        margin-top: 0;
    }

    .navin,
    .public-nav-compact {
        min-height: 58px;
        padding: 8px 10px;
        border-radius: 0 0 20px 20px;
        gap: 12px;
    }

    .nav-toggle,
    .public-menu-toggle {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        flex-basis: 42px;
    }

    .brand,
    .public-brand-compact {
        max-width: calc(100% - 62px);
    }

    .brand-icon-img,
    .mark,
    .brand-logo-img,
    .public-brand-compact .brand-icon-img,
    .public-brand-compact .mark,
    .public-brand-compact .brand-logo-img {
        width: 42px;
        height: 42px;
        border-radius: 15px;
    }

    .brand b,
    .public-brand-compact .brand-text b {
        font-size: 15px;
    }

    .brand small,
    .public-brand-compact .brand-text small {
        max-width: 180px;
        font-size: 10px;
    }

    .menu,
    .public-menu-compact {
        margin-top: 8px;
        padding: 10px;
        border-radius: 18px;
    }

    .menu a,
    .public-menu-compact a {
        min-height: 42px;
        padding: 9px 10px;
    }

    .hero {
        padding: 42px 0 34px;
    }

    .hero h1 {
        text-align: center;
        font-size: 34px;
        letter-spacing: -.5px;
    }

    .hero p {
        text-align: center;
        font-size: 16px;
    }

    .badge {
        margin-inline: auto;
    }

    .actions .btn,
    .hero-actions .btn {
        width: 100%;
    }

    .hero-visual-frame,
    .hero-uploaded-media,
    .mock {
        min-height: 280px;
    }

    .hero-uploaded-media img {
        min-height: 280px;
        padding: 10px;
    }

    .mock {
        padding: 16px;
        border-radius: 28px;
    }

    .browser {
        padding: 14px;
        border-radius: 22px;
    }

    .dashboard-preview {
        grid-template-columns: 58px 1fr;
        gap: 10px;
        min-height: 210px;
    }

    .dash-side {
        padding: 10px;
        border-radius: 16px;
    }

    .dash-side div {
        height: 14px;
        margin-bottom: 10px;
    }

    .dash-cards {
        grid-template-columns: 1fr;
    }

    .dash-cards div {
        height: 34px;
    }

    .chart {
        height: 105px;
        gap: 8px;
        padding: 12px;
    }

    .phone {
        display: none;
    }

    .card {
        padding: 20px;
    }

    .st h2 {
        font-size: 29px;
    }

    .section {
        padding: 42px 0;
    }

    .home-trust {
        margin-top: 0;
        padding-bottom: 20px;
    }

    .cta-card {
        padding: 24px;
    }

    .page-hero {
        padding: 42px 0 24px;
    }

    .page-hero-card {
        padding: 26px 20px;
        text-align: center;
    }

    .page-hero-card p {
        font-size: 16px;
    }

    .page-hero-card .actions {
        justify-content: center;
    }

    .service-detail-hero,
    .portfolio-detail-hero {
        padding: 22px;
        border-radius: 28px;
    }

    .service-detail-hero h1,
    .portfolio-detail-hero h1,
    .blog-detail-header h1 {
        font-size: 32px;
    }

    .service-detail-summary,
    .portfolio-detail-summary,
    .blog-detail-summary {
        font-size: 16px;
    }

    .service-detail-media,
    .portfolio-detail-media,
    .blog-detail-media {
        min-height: 250px;
        border-radius: 26px;
    }

    .service-detail-media img,
    .portfolio-detail-media img,
    .blog-detail-media img {
        min-height: 250px;
        padding: 10px;
    }

    .blog-detail-media img {
        padding: 0;
    }

    .service-detail-media-fallback span,
    .portfolio-detail-media-fallback span,
    .blog-detail-media-fallback span {
        width: 74px;
        height: 74px;
        font-size: 36px;
        border-radius: 24px;
    }

    .service-detail-media-fallback b,
    .portfolio-detail-media-fallback b,
    .blog-detail-media-fallback b {
        font-size: 20px;
    }

    .portfolio-card-media,
    .portfolio-placeholder,
    .blog-card-media,
    .blog-placeholder {
        height: 160px;
        min-height: 160px;
    }

    .tech-tags,
    .blog-meta {
        justify-content: center;
    }

    .comments-head {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .comments-count {
        justify-content: center;
    }

    .comment-form-grid {
        grid-template-columns: 1fr;
    }

    .comment-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .comment-meta {
        justify-content: center;
    }

    .about-intro-card,
    .about-why-card,
    .about-tech-card,
    .contact-info-card,
    .contact-form-card,
    .contact-note-card,
    .request-info-card,
    .request-contact-card,
    .request-form-card {
        text-align: center;
    }

    .about-visual-card {
        min-height: 290px;
        padding: 18px;
        border-radius: 28px;
    }

    .about-visual {
        padding: 22px;
        border-radius: 26px;
    }

    .about-visual-icon {
        width: 76px;
        height: 76px;
        border-radius: 24px;
        font-size: 28px;
    }

    .about-visual h3 {
        font-size: 24px;
    }

    .about-mini-grid,
    .contact-form-grid,
    .request-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-method {
        align-items: flex-start;
        text-align: right;
    }

    .contact-method > span {
        width: 44px;
        height: 44px;
        border-radius: 15px;
        font-size: 20px;
    }

    .form-block {
        padding: 14px;
    }

    .request-submit-box .btn {
        width: 100%;
    }

    table {
        min-width: 760px;
    }

    .wa,
    .chat {
        width: 52px;
        height: 52px;
        bottom: 16px;
    }

    .wa {
        right: 14px;
    }

    .chat {
        left: 14px;
    }

    .gt-chat-notice {
        left: 12px;
        bottom: 82px;
        width: min(330px, calc(100% - 24px));
    }

    .site-footer,
    .footer {
        padding: 42px 0 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo,
    .footer-social {
        justify-content: center;
    }

    .footer-brand > p {
        margin-inline: auto;
    }

    .footer-col a {
        margin-inline: auto;
    }

    .footer-cta {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 31px;
    }

    .btn {
        width: 100%;
        padding-inline: 16px;
    }

    .hero-visual-frame,
    .hero-uploaded-media,
    .mock {
        min-height: 245px;
    }

    .hero-uploaded-media img {
        min-height: 245px;
    }

    .browser {
        padding: 12px;
        border-radius: 22px;
    }

    .dashboard-preview {
        min-height: 185px;
    }

    .card-media {
        height: 145px;
    }
}

@media (max-width: 390px) {
    .brand small,
    .public-brand-compact .brand-text small {
        display: none;
    }

    .brand b,
    .public-brand-compact .brand-text b {
        max-width: 145px;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 15px;
    }

    .hero h1 {
        font-size: 28px;
    }
}


.hero-uploaded-media img,
.card-media img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-uploaded-media img {
    max-height: 640px;
    object-fit: contain;
}

.card-media {
    overflow: hidden;
    background: #f8fbff;
}

.card-media img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}


