/* =========================================================
   RDWEBDEV FRONTEND CSS
   Mobile First • Modern • Professional • Animated • Responsive
========================================================= */

:root {
    --rd-primary: #2563eb;
    --rd-primary-dark: #1d4ed8;
    --rd-primary-soft: rgba(37, 99, 235, 0.12);

    --rd-sky: #0ea5e9;
    --rd-violet: #7c3aed;
    --rd-emerald: #10b981;
    --rd-amber: #f59e0b;
    --rd-red: #ef4444;

    --rd-dark: #020617;
    --rd-dark-2: #0f172a;
    --rd-slate: #334155;
    --rd-muted: #64748b;
    --rd-soft: #f8fafc;
    --rd-border: rgba(148, 163, 184, 0.22);
    --rd-white: #ffffff;

    --rd-gradient-primary: linear-gradient(135deg, #2563eb, #0ea5e9);
    --rd-gradient-brand: linear-gradient(135deg, #2563eb, #7c3aed);
    --rd-gradient-dark: linear-gradient(135deg, #020617, #0f172a 54%, #172554);
    --rd-gradient-soft: radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 18rem),
        radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.12), transparent 18rem),
        #f8fafc;

    --rd-shadow-xs: 0 8px 22px rgba(15, 23, 42, 0.08);
    --rd-shadow-sm: 0 14px 35px rgba(15, 23, 42, 0.10);
    --rd-shadow-md: 0 22px 55px rgba(15, 23, 42, 0.14);
    --rd-shadow-lg: 0 28px 80px rgba(15, 23, 42, 0.20);

    --rd-radius-sm: 14px;
    --rd-radius: 20px;
    --rd-radius-lg: 28px;
    --rd-radius-xl: 36px;

    --rd-container: 1180px;
    --rd-header-height: 76px;

    --rd-transition: 220ms ease;
    --rd-transition-slow: 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    color: var(--rd-slate);
    background: var(--rd-soft);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
}

body.rd-public-body {
    overflow-x: hidden;
}

body.rd-menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

::selection {
    color: #ffffff;
    background: var(--rd-primary);
}

.rd-public-container {
    width: min(100% - 32px, var(--rd-container));
    margin-inline: auto;
}

.rd-public-main {
    min-height: 60vh;
}

/* =========================================================
   ALERT / TOAST
========================================================= */

.rd-public-toast-zone {
    position: fixed;
    top: 88px;
    right: 16px;
    z-index: 1200;
    display: grid;
    width: min(430px, calc(100vw - 32px));
    gap: 12px;
    pointer-events: none;
}

.rd-public-alert {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 34px;
    gap: 12px;
    align-items: start;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid var(--rd-border);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--rd-shadow-md);
    backdrop-filter: blur(18px);
    pointer-events: auto;
    animation: rdToastIn 420ms ease both;
}

.rd-public-alert.is-hiding {
    animation: rdToastOut 260ms ease both;
}

.rd-public-alert-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #ffffff;
    background: var(--rd-gradient-primary);
}

.rd-public-alert-success .rd-public-alert-icon {
    background: linear-gradient(135deg, #16a34a, #10b981);
}

.rd-public-alert-danger .rd-public-alert-icon {
    background: linear-gradient(135deg, #dc2626, #f97316);
}

.rd-public-alert strong {
    display: block;
    color: var(--rd-dark-2);
    font-size: 14px;
    line-height: 1.35;
}

.rd-public-alert span,
.rd-public-alert li {
    display: block;
    margin-top: 3px;
    color: var(--rd-muted);
    font-size: 13px;
    line-height: 1.55;
}

.rd-public-alert ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.rd-public-alert button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 12px;
    color: var(--rd-muted);
    background: rgba(15, 23, 42, 0.06);
    transition: background var(--rd-transition), color var(--rd-transition);
}

.rd-public-alert button:hover {
    color: var(--rd-dark-2);
    background: rgba(15, 23, 42, 0.1);
}

@keyframes rdToastIn {
    from {
        transform: translateY(-12px) scale(0.98);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes rdToastOut {
    to {
        transform: translateY(-8px) scale(0.98);
        opacity: 0;
    }
}

/* =========================================================
   BUTTONS / KICKER / COMMON
========================================================= */

.rd-public-btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    max-width: 100%;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
    transition:
        transform var(--rd-transition),
        box-shadow var(--rd-transition),
        background var(--rd-transition),
        border-color var(--rd-transition),
        color var(--rd-transition);
}

.rd-public-btn:hover {
    transform: translateY(-2px);
}

.rd-public-btn-primary {
    color: #ffffff;
    background: var(--rd-gradient-primary);
    box-shadow: 0 18px 35px rgba(37, 99, 235, 0.24);
}

.rd-public-btn-primary:hover {
    box-shadow: 0 22px 46px rgba(37, 99, 235, 0.32);
}

.rd-public-btn-light {
    color: var(--rd-dark-2);
    background: rgba(255, 255, 255, 0.84);
    border-color: var(--rd-border);
    box-shadow: var(--rd-shadow-xs);
}

.rd-public-btn-light:hover {
    background: #ffffff;
    box-shadow: var(--rd-shadow-sm);
}

.rd-public-btn-block {
    width: 100%;
}

.rd-public-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    color: #075985;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.18);
    font-size: 12px;
    font-weight: 950;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.rd-section-head {
    display: grid;
    gap: 14px;
    max-width: 760px;
    margin-bottom: 30px;
}

.rd-section-head-row {
    max-width: 100%;
}

.rd-section-head h2,
.rd-about-copy h2,
.rd-contact-copy h2,
.rd-detail-hero-copy h1,
.rd-cta-card h2 {
    margin: 0;
    color: var(--rd-dark);
    font-size: clamp(28px, 5vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.055em;
}

.rd-section-head p,
.rd-about-copy p,
.rd-contact-copy p,
.rd-detail-hero-copy p,
.rd-cta-card p {
    margin: 0;
    color: var(--rd-muted);
    font-size: 15px;
    line-height: 1.85;
}

.rd-public-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rd-primary);
    font-size: 14px;
    font-weight: 950;
    line-height: 1.3;
}

.rd-public-link i {
    transition: transform var(--rd-transition);
}

.rd-public-link:hover i {
    transform: translateX(4px);
}

.rd-public-section {
    position: relative;
    padding: 70px 0;
}

/* =========================================================
   HEADER
========================================================= */

.rd-public-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: var(--rd-header-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(248, 250, 252, 0.76);
    backdrop-filter: blur(18px);
    transition:
        box-shadow var(--rd-transition),
        background var(--rd-transition),
        border-color var(--rd-transition);
}

.rd-public-header.is-scrolled {
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--rd-shadow-xs);
}

.rd-public-header-inner {
    min-height: var(--rd-header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.rd-public-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.rd-public-brand-logo {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 16px;
    color: #ffffff;
    background: var(--rd-gradient-brand);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24);
    font-size: 15px;
    font-weight: 950;
}

.rd-public-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    background: #ffffff;
}

.rd-public-brand-text {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.rd-public-brand-text strong {
    overflow: hidden;
    color: var(--rd-dark);
    font-size: 15px;
    line-height: 1.25;
    font-weight: 950;
    letter-spacing: -0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rd-public-brand-text small {
    overflow: hidden;
    color: var(--rd-muted);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rd-public-nav {
    display: none;
}

.rd-public-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.rd-public-header-actions > .rd-public-btn {
    display: none;
}

.rd-public-menu-btn,
.rd-public-mobile-close {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--rd-border);
    border-radius: 16px;
    color: var(--rd-dark-2);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--rd-shadow-xs);
}

/* =========================================================
   MOBILE MENU
========================================================= */

.rd-public-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(2, 6, 23, 0.56);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--rd-transition);
}

.rd-public-backdrop.is-active {
    opacity: 1;
    pointer-events: auto;
}

.rd-public-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1050;
    width: min(390px, 88vw);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 14rem),
        rgba(255, 255, 255, 0.96);
    box-shadow: -24px 0 70px rgba(15, 23, 42, 0.24);
    transform: translateX(105%);
    transition: transform var(--rd-transition-slow);
}

.rd-public-mobile-menu.is-open {
    transform: translateX(0);
}

.rd-public-mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px;
    border-bottom: 1px solid var(--rd-border);
}

.rd-public-mobile-nav {
    display: grid;
    gap: 8px;
    padding: 18px;
    overflow-y: auto;
}

.rd-public-mobile-nav a {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    border-radius: 18px;
    color: var(--rd-slate);
    background: rgba(248, 250, 252, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.14);
    font-size: 14px;
    font-weight: 900;
}

.rd-public-mobile-nav a i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: var(--rd-gradient-primary);
}

.rd-public-mobile-cta {
    margin-top: auto;
    padding: 18px;
    border-top: 1px solid var(--rd-border);
}

/* =========================================================
   HERO HOME
========================================================= */

.rd-hero-section {
    position: relative;
    overflow: hidden;
    padding: 58px 0 76px;
    background:
        radial-gradient(circle at 15% 15%, rgba(37, 99, 235, 0.14), transparent 18rem),
        radial-gradient(circle at 90% 10%, rgba(124, 58, 237, 0.12), transparent 18rem),
        linear-gradient(180deg, #f8fafc, #ffffff);
}

.rd-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, black, transparent 72%);
    pointer-events: none;
}

.rd-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 36px;
    align-items: center;
}

.rd-hero-copy {
    display: grid;
    gap: 18px;
}

.rd-hero-copy h1 {
    margin: 0;
    color: var(--rd-dark);
    font-size: clamp(40px, 11vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.075em;
}

.rd-hero-copy h1 span {
    display: block;
    color: transparent;
    background: linear-gradient(135deg, #2563eb, #0ea5e9, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
}

.rd-hero-copy p {
    margin: 0;
    max-width: 640px;
    color: var(--rd-muted);
    font-size: 16px;
    line-height: 1.9;
}

.rd-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.rd-hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 4px;
}

.rd-hero-stats div {
    min-width: 0;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--rd-border);
    box-shadow: var(--rd-shadow-xs);
}

.rd-hero-stats strong {
    display: block;
    color: var(--rd-dark);
    font-size: 24px;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.rd-hero-stats span {
    display: block;
    margin-top: 4px;
    color: var(--rd-muted);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 850;
}

.rd-hero-visual {
    position: relative;
    min-width: 0;
}

.rd-hero-device {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: var(--rd-shadow-lg);
}

.rd-hero-device-top {
    display: flex;
    gap: 7px;
    padding: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rd-hero-device-top span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
}

.rd-hero-device-body {
    display: grid;
    gap: 16px;
    padding: 18px;
}

.rd-hero-dashboard-card {
    min-width: 0;
    padding: 18px;
    border-radius: 24px;
    color: #ffffff;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.34), transparent 12rem),
        rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.rd-hero-dashboard-card-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.rd-hero-dashboard-card span {
    color: #93c5fd;
    font-size: 12px;
    font-weight: 950;
}

.rd-hero-dashboard-card strong {
    display: block;
    margin-top: 4px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.rd-hero-dashboard-card i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 18px;
    color: #ffffff;
    background: var(--rd-gradient-primary);
}

.rd-hero-mini-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.rd-hero-mini-grid div {
    min-width: 0;
    padding: 14px;
    border-radius: 20px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.rd-hero-mini-grid i {
    color: #7dd3fc;
    font-size: 22px;
}

.rd-hero-mini-grid strong {
    display: block;
    margin-top: 10px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.3;
}

.rd-hero-mini-grid span {
    display: block;
    margin-top: 3px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.45;
}

.rd-hero-progress {
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.rd-hero-progress > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
}

.rd-hero-progress-track {
    height: 10px;
    overflow: hidden;
    margin-top: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.rd-hero-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--rd-gradient-primary);
}

.rd-hero-floating-card {
    display: none;
}

/* =========================================================
   SERVICES
========================================================= */

.rd-service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.rd-service-card {
    min-width: 0;
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.10), transparent 12rem),
        #ffffff;
    border: 1px solid var(--rd-border);
    box-shadow: var(--rd-shadow-xs);
    transition:
        transform var(--rd-transition),
        box-shadow var(--rd-transition),
        border-color var(--rd-transition);
}

.rd-service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.24);
    box-shadow: var(--rd-shadow-md);
}

.rd-service-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #ffffff;
    background: var(--rd-gradient-primary);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.22);
    font-size: 22px;
}

.rd-service-card h3 {
    margin: 18px 0 0;
    color: var(--rd-dark);
    font-size: 21px;
    line-height: 1.25;
    letter-spacing: -0.035em;
}

.rd-service-card p {
    margin: 11px 0 0;
    color: var(--rd-muted);
    font-size: 14px;
    line-height: 1.8;
}

/* =========================================================
   ABOUT
========================================================= */

.rd-about-section,
.rd-tech-section,
.rd-testimonial-section {
    overflow: hidden;
    background: #ffffff;
}

.rd-about-grid,
.rd-contact-grid,
.rd-detail-hero-grid {
    display: grid;
    gap: 28px;
    align-items: center;
}

.rd-about-card {
    min-width: 0;
    padding: 24px;
    border-radius: 32px;
    color: #ffffff;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.26), transparent 14rem),
        var(--rd-gradient-dark);
    box-shadow: var(--rd-shadow-lg);
}

.rd-about-card-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    color: #ffffff;
    background: var(--rd-gradient-primary);
    box-shadow: 0 20px 45px rgba(14, 165, 233, 0.24);
    font-size: 24px;
}

.rd-about-card h3 {
    margin: 18px 0 0;
    color: #ffffff;
    font-size: clamp(24px, 6vw, 38px);
    line-height: 1.12;
    letter-spacing: -0.05em;
}

.rd-about-card p {
    margin: 14px 0 0;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.85;
}

.rd-about-check-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.rd-about-check-list span {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: inherit;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 850;
}

.rd-about-check-list i {
    margin-top: 3px;
    color: #22c55e;
}

.rd-about-copy {
    display: grid;
    gap: 14px;
}

.rd-about-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 8px;
}

.rd-about-feature-grid div {
    min-width: 0;
    padding: 16px;
    border-radius: 22px;
    background: rgba(248, 250, 252, 0.86);
    border: 1px solid var(--rd-border);
}

.rd-about-feature-grid i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #ffffff;
    background: var(--rd-gradient-primary);
}

.rd-about-feature-grid strong {
    display: block;
    margin-top: 12px;
    color: var(--rd-dark);
    font-size: 14px;
    line-height: 1.35;
}

.rd-about-feature-grid span {
    display: block;
    margin-top: 5px;
    color: var(--rd-muted);
    font-size: 13px;
    line-height: 1.65;
}

/* =========================================================
   PROJECT CARDS
========================================================= */

.rd-project-grid,
.rd-blog-grid,
.rd-testimonial-grid,
.rd-workflow-grid,
.rd-tech-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.rd-project-card,
.rd-blog-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid var(--rd-border);
    box-shadow: var(--rd-shadow-xs);
    transition:
        transform var(--rd-transition),
        box-shadow var(--rd-transition),
        border-color var(--rd-transition);
}

.rd-project-card:hover,
.rd-blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: var(--rd-shadow-md);
}

.rd-project-image,
.rd-blog-image {
    position: relative;
    display: block;
    overflow: hidden;
    background: #e2e8f0;
    aspect-ratio: 16 / 10;
}

.rd-project-image img,
.rd-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--rd-transition-slow);
}

.rd-project-card:hover .rd-project-image img,
.rd-blog-card:hover .rd-blog-image img {
    transform: scale(1.06);
}

.rd-project-image-placeholder,
.rd-blog-image-placeholder,
.rd-detail-image-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    gap: 8px;
    color: #bfdbfe;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.20), transparent 12rem),
        var(--rd-gradient-dark);
    text-align: center;
}

.rd-project-image-placeholder i,
.rd-blog-image-placeholder i,
.rd-detail-image-placeholder i {
    font-size: 42px;
}

.rd-project-image-placeholder span,
.rd-blog-image-placeholder span,
.rd-detail-image-placeholder span {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 900;
}

.rd-project-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 12px;
    overflow: hidden;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(12px);
    font-size: 12px;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rd-project-body,
.rd-blog-body {
    padding: 18px;
}

.rd-project-meta,
.rd-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.rd-project-meta span,
.rd-blog-meta span,
.rd-blog-card-bottom span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border-radius: 999px;
    color: #075985;
    background: rgba(14, 165, 233, 0.10);
    font-size: 12px;
    font-weight: 900;
}

.rd-project-body h3,
.rd-blog-body h3 {
    margin: 0;
    color: var(--rd-dark);
    font-size: 21px;
    line-height: 1.25;
    letter-spacing: -0.035em;
}

.rd-project-body p,
.rd-blog-body p {
    margin: 10px 0 0;
    color: var(--rd-muted);
    font-size: 14px;
    line-height: 1.75;
}

.rd-project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.rd-project-stack span {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    color: #334155;
    background: rgba(15, 23, 42, 0.06);
    font-size: 12px;
    font-weight: 850;
}

.rd-project-actions,
.rd-blog-card-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
}

/* =========================================================
   TECHNOLOGY
========================================================= */

.rd-tech-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid var(--rd-border);
    box-shadow: var(--rd-shadow-xs);
    transition: transform var(--rd-transition), box-shadow var(--rd-transition);
}

.rd-tech-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rd-shadow-sm);
}

.rd-tech-card > i {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #ffffff;
    background: rgba(37, 99, 235, 0.10);
    font-size: 28px;
}

.rd-tech-card strong {
    display: block;
    color: var(--rd-dark);
    font-size: 15px;
    line-height: 1.35;
}

.rd-tech-card span {
    display: block;
    margin-top: 4px;
    color: var(--rd-muted);
    font-size: 13px;
    line-height: 1.55;
}

/* =========================================================
   WORKFLOW
========================================================= */

.rd-workflow-card {
    min-width: 0;
    position: relative;
    padding: 22px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid var(--rd-border);
    box-shadow: var(--rd-shadow-xs);
}

.rd-workflow-number {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #ffffff;
    background: var(--rd-gradient-primary);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.22);
    font-size: 16px;
    font-weight: 950;
}

.rd-workflow-card h3 {
    margin: 18px 0 0;
    color: var(--rd-dark);
    font-size: 21px;
    line-height: 1.25;
    letter-spacing: -0.035em;
}

.rd-workflow-card p {
    margin: 10px 0 0;
    color: var(--rd-muted);
    font-size: 14px;
    line-height: 1.75;
}

/* =========================================================
   TESTIMONIAL
========================================================= */

.rd-testimonial-card {
    min-width: 0;
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.10), transparent 12rem),
        #ffffff;
    border: 1px solid var(--rd-border);
    box-shadow: var(--rd-shadow-xs);
}

.rd-testimonial-card::after {
    content: "“";
    position: absolute;
    top: -6px;
    right: 18px;
    color: rgba(37, 99, 235, 0.10);
    font-family: Georgia, serif;
    font-size: 100px;
    line-height: 1;
}

.rd-testimonial-rating {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 4px;
    color: #cbd5e1;
}

.rd-testimonial-rating i.is-active {
    color: var(--rd-amber);
}

.rd-testimonial-card p {
    position: relative;
    z-index: 1;
    margin: 16px 0 0;
    color: var(--rd-slate);
    font-size: 14px;
    line-height: 1.85;
}

.rd-testimonial-person {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin-top: 18px;
}

.rd-testimonial-avatar {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 18px;
    color: #ffffff;
    background: var(--rd-gradient-brand);
    font-size: 18px;
    font-weight: 950;
}

.rd-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rd-testimonial-person strong {
    display: block;
    color: var(--rd-dark);
    font-size: 14px;
    line-height: 1.35;
}

.rd-testimonial-person span {
    display: block;
    margin-top: 4px;
    color: var(--rd-muted);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

.rd-testimonial-project {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    min-height: 34px;
    margin-top: 16px;
    padding: 0 12px;
    border-radius: 999px;
    color: #075985;
    background: rgba(14, 165, 233, 0.10);
    font-size: 12px;
    font-weight: 900;
}

/* =========================================================
   BLOG
========================================================= */

.rd-blog-card-featured {
    border-color: rgba(245, 158, 11, 0.30);
}

.rd-category-filter {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 0 12px;
    margin-bottom: 20px;
    scrollbar-width: thin;
}

.rd-category-filter a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--rd-slate);
    background: #ffffff;
    border: 1px solid var(--rd-border);
    font-size: 13px;
    font-weight: 900;
    box-shadow: var(--rd-shadow-xs);
}

.rd-category-filter a.is-active {
    color: #ffffff;
    background: var(--rd-gradient-primary);
    border-color: transparent;
}

.rd-category-filter span {
    min-width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    font-size: 11px;
}

.rd-blog-hero-card {
    padding: 24px;
    border-radius: 32px;
    color: #ffffff;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.24), transparent 14rem),
        var(--rd-gradient-dark);
    box-shadow: var(--rd-shadow-lg);
}

.rd-blog-hero-card-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: var(--rd-gradient-primary);
    font-size: 24px;
}

.rd-blog-hero-card h2 {
    margin: 18px 0 0;
    color: #ffffff;
    font-size: clamp(24px, 6vw, 38px);
    line-height: 1.12;
    letter-spacing: -0.05em;
}

.rd-blog-hero-card p {
    margin: 14px 0 0;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.85;
}

/* =========================================================
   CONTACT
========================================================= */

.rd-contact-section {
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 18rem),
        #ffffff;
}

.rd-contact-copy {
    display: grid;
    gap: 14px;
}

.rd-contact-info-list {
    display: grid;
    gap: 10px;
    margin-top: 6px;
}

.rd-contact-info-list a {
    min-width: 0;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 20px;
    color: var(--rd-slate);
    background: rgba(248, 250, 252, 0.88);
    border: 1px solid var(--rd-border);
}

.rd-contact-info-list i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #ffffff;
    background: var(--rd-gradient-primary);
}

.rd-contact-info-list span {
    overflow: hidden;
    font-size: 13px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rd-contact-card {
    padding: 18px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid var(--rd-border);
    box-shadow: var(--rd-shadow-md);
}

.rd-contact-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.rd-public-form-group {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.rd-public-form-group label {
    color: var(--rd-dark-2);
    font-size: 13px;
    font-weight: 950;
}

.rd-public-form-group input,
.rd-public-form-group select,
.rd-public-form-group textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--rd-border);
    border-radius: 18px;
    color: var(--rd-dark-2);
    background: rgba(248, 250, 252, 0.9);
    outline: none;
    transition: border-color var(--rd-transition), box-shadow var(--rd-transition), background var(--rd-transition);
}

.rd-public-form-group input,
.rd-public-form-group select {
    min-height: 50px;
    padding: 0 14px;
}

.rd-public-form-group textarea {
    resize: vertical;
    min-height: 140px;
    padding: 14px;
}

.rd-public-form-group input:focus,
.rd-public-form-group select:focus,
.rd-public-form-group textarea:focus {
    border-color: rgba(37, 99, 235, 0.52);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.rd-contact-form .rd-public-btn {
    margin-top: 14px;
}

/* =========================================================
   DETAIL PAGES
========================================================= */

.rd-detail-hero {
    position: relative;
    overflow: hidden;
    padding: 46px 0 62px;
    background: var(--rd-gradient-soft);
}

.rd-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--rd-muted);
    font-size: 13px;
    font-weight: 850;
}

.rd-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--rd-primary);
}

.rd-breadcrumb strong {
    color: var(--rd-slate);
}

.rd-detail-hero-copy {
    display: grid;
    gap: 14px;
}

.rd-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.rd-detail-main-image {
    overflow: hidden;
    border-radius: 32px;
    background: #e2e8f0;
    box-shadow: var(--rd-shadow-lg);
    aspect-ratio: 16 / 10;
}

.rd-detail-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rd-detail-layout,
.rd-blog-detail-layout {
    display: grid;
    gap: 20px;
}

.rd-detail-content,
.rd-blog-article {
    min-width: 0;
    display: grid;
    gap: 16px;
}

.rd-detail-sidebar,
.rd-blog-sidebar {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 16px;
}

.rd-detail-card,
.rd-detail-info-card,
.rd-blog-article-card,
.rd-blog-share-card,
.rd-cta-card {
    min-width: 0;
    padding: 20px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid var(--rd-border);
    box-shadow: var(--rd-shadow-xs);
}

.rd-detail-card-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.rd-detail-card h2,
.rd-detail-info-card h3 {
    margin: 10px 0 0;
    color: var(--rd-dark);
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.rd-detail-info-card h3 {
    margin-top: 0;
    font-size: 20px;
}

.rd-detail-text,
.rd-blog-article-content {
    color: var(--rd-slate);
    font-size: 15px;
    line-height: 2;
}

.rd-detail-stack-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rd-detail-stack-grid span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border-radius: 999px;
    color: #075985;
    background: rgba(14, 165, 233, 0.10);
    font-size: 13px;
    font-weight: 900;
}

.rd-detail-stack-grid i,
.rd-detail-check-list i {
    color: #16a34a;
}

.rd-detail-info-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.rd-detail-info-list div {
    min-width: 0;
    padding: 13px;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.rd-detail-info-list span {
    display: block;
    color: var(--rd-muted);
    font-size: 11px;
    font-weight: 950;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rd-detail-info-list strong {
    display: block;
    overflow: hidden;
    margin-top: 5px;
    color: var(--rd-dark);
    font-size: 14px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rd-detail-sidebar-actions,
.rd-detail-check-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.rd-detail-check-list span {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    color: var(--rd-slate);
    font-size: 13px;
    line-height: 1.65;
    font-weight: 850;
}

/* =========================================================
   PROJECT GALLERY
========================================================= */

.rd-project-gallery {
    display: grid;
    gap: 14px;
}

.rd-project-gallery-stage {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #e2e8f0;
    aspect-ratio: 16 / 10;
}

.rd-project-gallery-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 300ms ease, transform 420ms ease;
    pointer-events: none;
}

.rd-project-gallery-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.rd-project-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rd-project-gallery-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rd-project-gallery-controls > button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--rd-border);
    border-radius: 16px;
    color: var(--rd-dark-2);
    background: #ffffff;
    box-shadow: var(--rd-shadow-xs);
}

.rd-project-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex: 1;
}

.rd-project-gallery-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #cbd5e1;
}

.rd-project-gallery-dots button.is-active {
    width: 28px;
    background: var(--rd-primary);
}

/* =========================================================
   BLOG DETAIL
========================================================= */

.rd-blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rd-blog-detail-meta span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border-radius: 999px;
    color: #075985;
    background: rgba(14, 165, 233, 0.10);
    font-size: 12px;
    font-weight: 900;
}

.rd-blog-share-card {
    display: grid;
    gap: 14px;
}

.rd-blog-share-card strong {
    display: block;
    color: var(--rd-dark);
    font-size: 16px;
    line-height: 1.35;
}

.rd-blog-share-card span {
    display: block;
    margin-top: 4px;
    color: var(--rd-muted);
    font-size: 13px;
    line-height: 1.55;
}

.rd-blog-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rd-blog-share-actions a,
.rd-blog-share-actions button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--rd-border);
    border-radius: 16px;
    color: var(--rd-dark-2);
    background: #ffffff;
    box-shadow: var(--rd-shadow-xs);
    transition: transform var(--rd-transition), background var(--rd-transition), color var(--rd-transition);
}

.rd-blog-share-actions a:hover,
.rd-blog-share-actions button:hover,
.rd-blog-share-actions button.is-copied {
    transform: translateY(-2px);
    color: #ffffff;
    background: var(--rd-gradient-primary);
}

.rd-blog-sidebar-cta p {
    margin: 10px 0 14px;
    color: var(--rd-muted);
    font-size: 14px;
    line-height: 1.75;
}

/* =========================================================
   CTA / EMPTY / PAGINATION
========================================================= */

.rd-cta-section {
    background: #ffffff;
}

.rd-cta-card {
    display: grid;
    gap: 18px;
    align-items: center;
    padding: 24px;
    color: #ffffff;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.24), transparent 18rem),
        var(--rd-gradient-dark);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: var(--rd-shadow-lg);
}

.rd-cta-card h2,
.rd-cta-card p {
    color: #ffffff;
}

.rd-cta-card p {
    color: #cbd5e1;
}

.rd-empty-public {
    min-width: 0;
    grid-column: 1 / -1;
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 28px;
    border-radius: 28px;
    text-align: center;
    background: #ffffff;
    border: 1px dashed rgba(148, 163, 184, 0.45);
}

.rd-empty-public i {
    color: var(--rd-primary);
    font-size: 36px;
}

.rd-empty-public strong {
    color: var(--rd-dark);
    font-size: 16px;
    line-height: 1.35;
}

.rd-empty-public span {
    color: var(--rd-muted);
    font-size: 13px;
    line-height: 1.6;
}

.rd-public-pagination {
    margin-top: 26px;
}

.rd-public-pagination nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rd-public-pagination a,
.rd-public-pagination span {
    min-width: 42px;
    min-height: 42px;
    display: grid;
    place-items: center;
    padding: 0 12px;
    border-radius: 15px;
    color: var(--rd-slate);
    background: #ffffff;
    border: 1px solid var(--rd-border);
    box-shadow: var(--rd-shadow-xs);
    font-size: 13px;
    font-weight: 900;
}

.rd-public-pagination .active span,
.rd-public-pagination span[aria-current="page"] {
    color: #ffffff;
    background: var(--rd-gradient-primary);
}

/* =========================================================
   FOOTER
========================================================= */

.rd-public-footer {
    color: #cbd5e1;
    background: var(--rd-dark);
    padding: 56px 0 22px;
}

.rd-public-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}

.rd-public-footer .rd-public-brand-text strong {
    color: #ffffff;
}

.rd-public-footer .rd-public-brand-text small {
    color: #94a3b8;
}

.rd-public-footer-brand p {
    max-width: 460px;
    margin: 16px 0 0;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.8;
}

.rd-public-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.rd-public-socials a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    transition: transform var(--rd-transition), background var(--rd-transition);
}

.rd-public-socials a:hover {
    transform: translateY(-2px);
    background: var(--rd-primary);
}

.rd-public-footer-menu,
.rd-public-footer-contact {
    display: grid;
    align-content: start;
    gap: 10px;
}

.rd-public-footer h3 {
    margin: 0 0 4px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.35;
}

.rd-public-footer-menu a,
.rd-public-footer-contact a,
.rd-public-footer-contact span {
    display: inline-flex;
    align-items: flex-start;
    gap: 9px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 750;
    transition: color var(--rd-transition);
}

.rd-public-footer-menu a:hover,
.rd-public-footer-contact a:hover {
    color: #ffffff;
}

.rd-public-footer-contact i {
    margin-top: 4px;
    color: #60a5fa;
}

.rd-public-footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.rd-public-footer-bottom p,
.rd-public-footer-bottom a {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 750;
}

.rd-public-footer-bottom a:hover {
    color: #ffffff;
}

/* =========================================================
   FLOATING ACTIONS
========================================================= */

.rd-public-floating-whatsapp,
.rd-public-scroll-top {
    position: fixed;
    z-index: 900;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 18px;
    color: #ffffff;
    box-shadow: var(--rd-shadow-md);
}

.rd-public-floating-whatsapp {
    right: 16px;
    bottom: 18px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    font-size: 24px;
}

.rd-public-scroll-top {
    right: 16px;
    bottom: 82px;
    background: var(--rd-gradient-primary);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity var(--rd-transition), transform var(--rd-transition);
}

.rd-public-scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* =========================================================
   ANIMATION
========================================================= */

[data-animate] {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 700ms ease,
        transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-animate="fade-left"] {
    transform: translateX(24px);
}

[data-animate="fade-right"] {
    transform: translateX(-24px);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (min-width: 520px) {
    .rd-hero-stats,
    .rd-hero-mini-grid,
    .rd-about-feature-grid,
    .rd-contact-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rd-public-form-full {
        grid-column: 1 / -1;
    }

    .rd-blog-share-card {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }
}

@media (min-width: 700px) {
    .rd-service-grid,
    .rd-project-grid,
    .rd-blog-grid,
    .rd-testimonial-grid,
    .rd-workflow-grid,
    .rd-tech-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rd-section-head-row {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

    .rd-public-footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .rd-public-footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .rd-public-footer-contact {
        grid-column: 1 / -1;
    }
}

@media (min-width: 900px) {
    .rd-public-section {
        padding: 92px 0;
    }

    .rd-hero-section {
        padding: 86px 0 100px;
    }

    .rd-hero-grid,
    .rd-about-grid,
    .rd-contact-grid,
    .rd-detail-hero-grid {
        grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
        gap: 52px;
    }

    .rd-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rd-hero-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rd-detail-layout,
    .rd-blog-detail-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        align-items: start;
    }

    .rd-detail-sidebar,
    .rd-blog-sidebar {
        position: sticky;
        top: calc(var(--rd-header-height) + 20px);
    }

    .rd-service-grid,
    .rd-project-grid,
    .rd-blog-grid,
    .rd-testimonial-grid,
    .rd-workflow-grid,
    .rd-tech-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rd-cta-card {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 34px;
    }

    .rd-public-footer-grid {
        grid-template-columns: 1.35fr 0.8fr 0.9fr 1fr;
    }

    .rd-public-footer-contact {
        grid-column: auto;
    }
}

@media (min-width: 1024px) {
    .rd-public-header-actions > .rd-public-btn {
        display: inline-flex;
    }

    .rd-public-menu-btn {
        display: none;
    }

    .rd-public-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 6px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.64);
        border: 1px solid rgba(148, 163, 184, 0.18);
    }

    .rd-public-nav a {
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        padding: 0 12px;
        border-radius: 999px;
        color: var(--rd-muted);
        font-size: 13px;
        font-weight: 900;
        transition: color var(--rd-transition), background var(--rd-transition);
    }

    .rd-public-nav a:hover,
    .rd-public-nav a.is-active {
        color: var(--rd-primary);
        background: rgba(37, 99, 235, 0.10);
    }

    .rd-hero-floating-card {
        position: absolute;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        gap: 9px;
        min-height: 44px;
        padding: 0 14px;
        border-radius: 999px;
        color: var(--rd-dark);
        background: rgba(255, 255, 255, 0.90);
        border: 1px solid rgba(148, 163, 184, 0.18);
        box-shadow: var(--rd-shadow-sm);
        font-size: 12px;
        font-weight: 950;
        backdrop-filter: blur(14px);
        animation: rdFloat 4s ease-in-out infinite;
    }

    .rd-hero-floating-card i {
        color: var(--rd-primary);
    }

    .rd-hero-floating-card-one {
        top: 34px;
        right: -18px;
    }

    .rd-hero-floating-card-two {
        left: -18px;
        bottom: 34px;
        animation-delay: -1.4s;
    }
}

@media (min-width: 1180px) {
    .rd-public-container {
        width: min(100% - 48px, var(--rd-container));
    }

    .rd-service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .rd-public-container {
        width: min(100% - 24px, var(--rd-container));
    }

    .rd-public-btn {
        width: 100%;
        white-space: normal;
        text-align: center;
    }

    .rd-hero-actions,
    .rd-detail-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .rd-public-brand-text small {
        max-width: 160px;
    }

    .rd-hero-copy h1 {
        font-size: clamp(36px, 14vw, 52px);
    }

    .rd-section-head h2,
    .rd-about-copy h2,
    .rd-contact-copy h2,
    .rd-detail-hero-copy h1,
    .rd-cta-card h2 {
        font-size: clamp(28px, 10vw, 42px);
    }

    .rd-detail-card,
    .rd-detail-info-card,
    .rd-blog-article-card,
    .rd-blog-share-card,
    .rd-cta-card {
        padding: 18px;
        border-radius: 24px;
    }

    .rd-public-floating-whatsapp,
    .rd-public-scroll-top {
        right: 12px;
    }
}

@keyframes rdFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}