:root {
    --bg: #eef5ff;
    --bg-soft: #f9fbff;
    --panel: rgba(255,255,255,0.92);
    --panel-border: rgba(42, 108, 234, 0.08);
    --text: #112a5c;
    --muted: #6f83a8;
    --primary: #258cff;
    --primary-2: #5aa8ff;
    --primary-dark: #1c74e9;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(56, 102, 170, 0.12);
    --radius: 26px;
    --radius-sm: 18px;
    --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, #f8fbff 0%, #eef5ff 35%, #eaf2ff 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(239, 246, 255, 0.78);
    border-bottom: 1px solid rgba(17, 42, 92, 0.05);
}

.header-inner {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-logo { width: clamp(175px, 17vw, 215px); }

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 0.98rem;
    font-weight: 600;
    color: #40557c;
}

.site-nav a:hover,
.site-nav a:first-child {
    color: var(--primary-dark);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 16px;
    padding: 14px 24px;
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: var(--white);
    box-shadow: 0 12px 28px rgba(37, 140, 255, 0.22);
}
.btn-secondary {
    background: rgba(255,255,255,0.7);
    color: var(--primary-dark);
    border-color: rgba(37, 140, 255, 0.18);
}
.btn-white {
    background: rgba(255,255,255,0.95);
    color: var(--primary-dark);
}
.btn.small { padding: 12px 18px; font-size: .95rem; }

.header-cta { white-space: nowrap; }

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 14px;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 8px 22px rgba(18, 49, 100, 0.08);
    padding: 0;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 5px auto;
    border-radius: 2px;
}
.mobile-nav {
    display: none;
    padding: 0 16px 18px;
    flex-direction: column;
    gap: 10px;
}
.mobile-nav a {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.72);
}
.mobile-nav.is-open { display: flex; }
.mobile-cta { margin-top: 6px; }

.hero {
    padding: 56px 0 28px;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.03fr 0.97fr;
    gap: 32px;
    align-items: center;
}
.hero-copy { padding: 24px 0; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(37, 140, 255, 0.08);
    color: var(--primary-dark);
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 999px;
    box-shadow: var(--shadow);
}
.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #7ab8ff);
}

.hero h1 {
    margin: 22px 0 16px;
    font-size: clamp(2.4rem, 5vw, 4.3rem);
    line-height: 1.07;
    letter-spacing: -0.03em;
}
.hero h1 span,
.section-heading span {
    background: linear-gradient(135deg, var(--primary-dark), #54b9ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-text {
    max-width: 640px;
    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.75;
    margin-bottom: 26px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}
.hero-proof {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--muted);
    font-size: .98rem;
}
.hero-proof strong { color: var(--text); }
.avatar-stack {
    display: flex;
    align-items: center;
}
.avatar-stack span {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    margin-left: -8px;
    border: 3px solid rgba(255,255,255,0.9);
    border-radius: 50%;
    background: linear-gradient(135deg, #286dff, #8fc6ff);
    color: #fff;
    font-size: .85rem;
    font-weight: 800;
    box-shadow: var(--shadow);
}
.avatar-stack span:first-child { margin-left: 0; }

.hero-visual {
    position: relative;
    min-height: 680px;
    padding: 24px 0;
}
.hero-visual::before {
    content: '';
    position: absolute;
    inset: 18px 0 20px 18%;
    background: linear-gradient(160deg, rgba(255,255,255,0.62), rgba(232,243,255,0.86));
    border-radius: 32px;
    box-shadow: 0 30px 70px rgba(90, 126, 192, 0.18);
}
.dashboard-card {
    position: absolute;
    top: 0;
    right: 0;
    width: min(100%, 700px);
    min-height: 560px;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(37,140,255,0.08);
    border-radius: 28px;
    box-shadow: 0 25px 55px rgba(79, 107, 168, 0.18);
    display: grid;
    grid-template-columns: 180px 1fr;
    overflow: hidden;
}
.dashboard-side {
    background: linear-gradient(180deg, rgba(245,249,255,0.98), rgba(239,246,255,0.92));
    padding: 26px 18px;
    border-right: 1px solid rgba(17,42,92,0.05);
}
.dashboard-brand {
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 28px;
}
.dashboard-side a {
    display: block;
    padding: 12px 14px;
    font-size: .95rem;
    color: #6a7ea5;
    border-radius: 14px;
    margin-bottom: 6px;
}
.dashboard-side a.active,
.dashboard-side a:hover {
    color: var(--primary-dark);
    background: rgba(37,140,255,0.08);
}
.dashboard-main { padding: 28px; }
.dashboard-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}
.dashboard-top article,
.chart-card,
.donut-card,
.task-list {
    border: 1px solid rgba(17,42,92,0.05);
    background: rgba(255,255,255,0.85);
    border-radius: 20px;
}
.dashboard-top article {
    padding: 16px;
}
.dashboard-top span,
.widget-title,
.task-list small {
    display: block;
    color: #7990b8;
    font-size: .86rem;
}
.dashboard-top strong {
    display: block;
    margin: 8px 0 4px;
    font-size: 1.55rem;
}
.dashboard-top small { color: #2fb37b; font-weight: 700; }
.dashboard-widgets {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 14px;
    margin-bottom: 14px;
}
.chart-card,
.donut-card { padding: 18px; }
.line-chart {
    height: 172px;
    margin-top: 12px;
    border-radius: 18px;
    position: relative;
    background:
        linear-gradient(to top, rgba(37,140,255,0.08) 1px, transparent 1px) 0 0 / 100% 32px,
        linear-gradient(to right, rgba(37,140,255,0.06) 1px, transparent 1px) 0 0 / 60px 100%;
}
.line-chart span {
    position: absolute;
    inset: 18px 16px 22px 16px;
    background: linear-gradient(180deg, rgba(37,140,255,0.18), rgba(37,140,255,0.01));
    clip-path: polygon(0% 78%, 12% 72%, 23% 75%, 35% 58%, 48% 62%, 62% 44%, 73% 50%, 84% 29%, 100% 21%, 100% 100%, 0% 100%);
    border-radius: 18px;
}
.line-chart::after {
    content: '';
    position: absolute;
    inset: 18px 16px 22px 16px;
    background: linear-gradient(90deg, transparent 0, transparent 100%);
    border-bottom: 4px solid var(--primary);
    clip-path: polygon(0% 78%, 12% 72%, 23% 75%, 35% 58%, 48% 62%, 62% 44%, 73% 50%, 84% 29%, 100% 21%, 100% 29%, 84% 37%, 73% 58%, 62% 52%, 48% 70%, 35% 66%, 23% 83%, 12% 80%, 0% 86%);
}
.donut-ring {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    margin: 22px auto 0;
    display: grid;
    place-items: center;
    background: conic-gradient(var(--primary) 0 65%, #dfeeff 65% 100%);
    position: relative;
}
.donut-ring::before {
    content: '';
    position: absolute;
    inset: 22px;
    background: white;
    border-radius: 50%;
}
.donut-ring em {
    position: relative;
    z-index: 1;
    font-style: normal;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
}
.task-list { padding: 8px 18px; }
.task-list div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(17,42,92,0.05);
    color: #50698f;
}
.task-list div:last-child { border-bottom: 0; }
.task-list small { font-weight: 700; }
.mobile-card {
    position: absolute;
    left: 10%;
    bottom: 18px;
    width: 220px;
    padding: 20px;
    border-radius: 28px;
    background: rgba(255,255,255,0.94);
    box-shadow: 0 22px 45px rgba(77, 116, 184, 0.18);
    border: 1px solid rgba(37,140,255,0.08);
}
.mobile-card h3 {
    margin: 0 0 14px;
    font-size: 1rem;
}
.mobile-amount {
    padding: 16px;
    border-radius: 22px;
    color: white;
    background: linear-gradient(135deg, #1686ff, #70beff);
}
.mobile-amount span { display: block; font-size: .85rem; opacity: .95; }
.mobile-amount strong { display: block; margin-top: 8px; font-size: 1.75rem; }
.mini-bars {
    display: flex;
    align-items: end;
    gap: 10px;
    height: 90px;
    padding: 12px 2px 2px;
}
.mini-bars span {
    flex: 1;
    border-radius: 999px 999px 6px 6px;
    background: linear-gradient(180deg, #8ac8ff, var(--primary));
}
.mini-bars span:nth-child(1) { height: 30%; }
.mini-bars span:nth-child(2) { height: 45%; }
.mini-bars span:nth-child(3) { height: 52%; }
.mini-bars span:nth-child(4) { height: 72%; }
.mini-bars span:nth-child(5) { height: 66%; }
.mini-bars span:nth-child(6) { height: 86%; }
.mobile-note { margin: 6px 0 0; color: var(--muted); font-size: .86rem; }

.panel {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    box-shadow: var(--shadow);
    border-radius: 32px;
}
.services-section { padding: 18px 0 0; }
.services-section .panel,
.projects-section .panel { padding: 38px 28px; }
.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 10px;
    line-height: 1.12;
}
.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 1.04rem;
}
.section-heading.centered { text-align: center; margin-bottom: 34px; }

.service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.service-card {
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(17,42,92,0.05);
    border-radius: 28px;
    padding: 24px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}
.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 18px;
}
.violet { background: rgba(111,146,255,.16); color: #5f81ff; }
.lilac { background: rgba(179,130,255,.14); color: #9a58fb; }
.mint { background: rgba(118,230,180,.18); color: #31a86d; }
.peach { background: rgba(255,196,144,.25); color: #ff8a2c; }
.cyan { background: rgba(92,207,255,.16); color: #24a7e6; }
.service-card h3 {
    margin: 0 0 10px;
    font-size: 1.18rem;
    line-height: 1.35;
}
.service-card p {
    margin: 0 0 auto;
    color: var(--muted);
    line-height: 1.72;
    font-size: .98rem;
}
.service-card a {
    margin-top: 22px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f1f7ff;
    color: var(--primary-dark);
    font-weight: 800;
}

.stats-strip {
    margin-top: 22px;
    border: 1px solid rgba(17,42,92,0.05);
    border-radius: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}
.stats-strip article {
    padding: 22px 24px;
    background: rgba(255,255,255,0.55);
    border-right: 1px solid rgba(17,42,92,0.05);
}
.stats-strip article:last-child { border-right: 0; }
.stats-strip strong {
    display: block;
    color: var(--primary-dark);
    font-size: 2rem;
    margin-bottom: 6px;
}
.stats-strip span { color: var(--muted); }

.projects-section { padding: 24px 0 0; }
.projects-head {
    margin-bottom: 24px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(17,42,92,0.05);
    background: rgba(255,255,255,0.85);
    box-shadow: 0 14px 28px rgba(69, 98, 149, 0.08);
}
.project-thumb {
    height: 210px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #e9f3ff, #ffffff);
}
.project-thumb::before,
.project-thumb::after {
    content: '';
    position: absolute;
}
.analytics::before,
.sales::before,
.app::before,
.portal::before {
    inset: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.86);
    box-shadow: inset 0 0 0 1px rgba(17,42,92,0.05);
}
.analytics::after {
    left: 34px; right: 34px; bottom: 44px; height: 84px;
    background: linear-gradient(180deg, rgba(37,140,255,.18), rgba(37,140,255,0));
    clip-path: polygon(0% 80%, 18% 64%, 30% 68%, 44% 48%, 57% 53%, 70% 34%, 82% 40%, 100% 20%, 100% 100%, 0% 100%);
    border-bottom: 4px solid var(--primary);
}
.sales::after {
    left: 32px; right: 32px; top: 42px; bottom: 34px;
    background:
       radial-gradient(circle at 16% 18%, #bfe4ff 0 18px, transparent 19px),
       linear-gradient(#dbeeff 0 0) 18px 72px/80% 14px no-repeat,
       linear-gradient(#e7f2ff 0 0) 18px 102px/72% 14px no-repeat,
       linear-gradient(#edf6ff 0 0) 18px 132px/58% 14px no-repeat,
       radial-gradient(circle at 78% 80%, rgba(37,140,255,.75) 0 24px, rgba(37,140,255,.15) 25px 42px, transparent 43px);
}
.app::after {
    width: 82px; height: 150px; left: 50%; top: 30px; transform: translateX(-50%);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff, #f4f9ff);
    box-shadow: 0 14px 20px rgba(82, 110, 173, 0.15);
}
.app::before {
    inset: 0;
    background:
      linear-gradient(135deg, rgba(255,255,255,.8), rgba(255,255,255,.2)),
      radial-gradient(circle at 24% 40%, #90dbff 0 42px, transparent 43px),
      radial-gradient(circle at 72% 68%, #d1f0ff 0 56px, transparent 57px),
      linear-gradient(160deg, #f6fbff, #edf6ff);
}
.portal::after {
    inset: 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f3d8f, #0b245b);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.portal::before {
    content: '';
    position: absolute;
    inset: 50px 52px 54px;
    background:
       linear-gradient(#1e63c8 0 0) 0 0/54% 14px no-repeat,
       linear-gradient(rgba(255,255,255,.22) 0 0) 0 34px/82% 10px no-repeat,
       linear-gradient(rgba(255,255,255,.16) 0 0) 0 58px/72% 10px no-repeat,
       linear-gradient(rgba(255,255,255,.12) 0 0) 0 82px/58% 10px no-repeat;
    z-index: 2;
}
.project-content {
    padding: 20px 20px 22px;
}
.project-content h3 {
    margin: 0 0 8px;
    font-size: 1.12rem;
    line-height: 1.35;
}
.project-content p { margin: 0; color: var(--muted); font-size: .95rem; }
.project-arrow {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f1f7ff;
    color: var(--primary-dark);
    font-weight: 800;
}

.blog-placeholder {
    padding: 24px 0 0;
}
.minimal-note {
    padding: 34px 18px 12px;
    text-align: center;
    color: var(--muted);
}
.minimal-note h2 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.site-footer {
    padding: 30px 0 40px;
}
.footer-cta {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 28px 32px;
    border-radius: 28px;
    background: linear-gradient(135deg, #22a4ff, #3f93ff 55%, #66baff);
    color: white;
    box-shadow: 0 20px 50px rgba(35, 145, 255, 0.24);
}
.footer-cta-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.18);
    font-size: 1.8rem;
}
.footer-cta-kicker {
    margin: 0 0 8px;
    opacity: .95;
    font-weight: 700;
}
.footer-cta h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    line-height: 1.22;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.25fr .8fr .8fr .8fr;
    gap: 28px;
    padding: 34px 0 26px;
}
.footer-logo { width: 190px; margin-bottom: 14px; }
.footer-main h3 {
    margin: 0 0 14px;
    font-size: 1rem;
}
.footer-main p,
.footer-main li,
.footer-bottom,
.footer-main a { color: var(--muted); }
.footer-main ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom {
    padding-top: 22px;
    border-top: 1px solid rgba(17,42,92,0.08);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    font-size: .96rem;
}
.footer-legal-links { display: flex; gap: 18px; }

@media (max-width: 1180px) {
    .hero-grid,
    .footer-main { grid-template-columns: 1fr; }
    .hero-visual { min-height: 720px; }
    .service-grid,
    .project-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
    .site-nav,
    .header-cta { display: none; }
    .nav-toggle { display: inline-block; }
    .hero { padding-top: 28px; }
    .hero-grid { gap: 8px; }
    .dashboard-card { position: relative; width: 100%; }
    .hero-visual::before { inset: 40px 0 0; }
    .mobile-card { left: 12px; bottom: -10px; }
    .dashboard-card { grid-template-columns: 140px 1fr; }
    .stats-strip,
    .footer-cta { grid-template-columns: repeat(2, 1fr); }
    .projects-head,
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
    .wrap { width: min(calc(100% - 22px), var(--max)); }
    .hero h1,
    .section-heading h2 { letter-spacing: -0.02em; }
    .hero-visual { min-height: auto; padding-bottom: 130px; }
    .dashboard-card {
        position: relative;
        grid-template-columns: 1fr;
    }
    .dashboard-side {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .dashboard-brand { grid-column: 1 / -1; margin-bottom: 10px; }
    .dashboard-top,
    .dashboard-widgets,
    .service-grid,
    .project-grid,
    .stats-strip,
    .footer-cta { grid-template-columns: 1fr; }
    .service-card,
    .project-card { min-height: auto; }
    .services-section .panel,
    .projects-section .panel { padding: 28px 16px; }
    .mobile-card {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        margin-top: 16px;
    }
    .site-header { position: sticky; }
    .footer-main { padding-top: 28px; }
}


/* Páginas internas */
.inner-page {
    padding-bottom: 24px;
}

.inner-hero {
    padding: 70px 0 36px;
}

.inner-hero-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 38px;
    align-items: center;
}

.inner-hero h1,
.contact-copy h1 {
    margin: 24px 0 18px;
    font-size: clamp(2.35rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.inner-hero p,
.contact-copy p {
    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.75;
    margin: 0 0 26px;
}

.inner-visual {
    position: relative;
    min-height: 340px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 20% 30%, rgba(73, 164, 255, 0.26), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,.8), rgba(224,240,255,.92));
    box-shadow: var(--shadow);
    border: 1px solid rgba(37,140,255,.08);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.inner-visual::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    right: -80px;
    top: -70px;
    background: linear-gradient(135deg, rgba(37,140,255,.25), rgba(255,255,255,0));
}

.inner-window {
    position: relative;
    width: min(86%, 430px);
    border-radius: 22px;
    background: rgba(9, 30, 72, 0.9);
    color: #dcecff;
    padding: 44px 22px 22px;
    box-shadow: 0 28px 55px rgba(25, 64, 122, 0.26);
}

.inner-window span {
    position: absolute;
    top: 18px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #69b8ff;
}

.inner-window span:nth-child(1) { left: 20px; background: #ff8d8d; }
.inner-window span:nth-child(2) { left: 40px; background: #ffd36f; }
.inner-window span:nth-child(3) { left: 60px; background: #7be49a; }

.inner-window pre {
    margin: 0;
    white-space: pre-wrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    line-height: 1.8;
    color: #aee2ff;
}

.inner-content {
    padding: 24px 0 10px;
}

.inner-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.inner-card {
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(17,42,92,0.06);
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 14px 28px rgba(69,98,149,.08);
}

.inner-card-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    margin-bottom: 18px;
    color: var(--primary-dark);
    font-weight: 800;
    background: #eef7ff;
}

.inner-card h2 {
    margin: 0 0 12px;
    font-size: 1.35rem;
}

.inner-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.contact-page {
    padding: 76px 0 24px;
}

.contact-form {
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(17,42,92,.06);
    border-radius: 30px;
    padding: 30px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 18px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--text);
    font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(17,42,92,.12);
    border-radius: 16px;
    padding: 15px 16px;
    font: inherit;
    color: var(--text);
    background: #f9fcff;
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: rgba(37,140,255,.55);
    box-shadow: 0 0 0 4px rgba(37,140,255,.10);
}

.contact-info-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.contact-info-list a,
.contact-info-list span {
    display: flex;
    align-items: center;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(17,42,92,.06);
    color: var(--muted);
}

@media (max-width: 980px) {
    .inner-hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .inner-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .inner-card-grid {
        grid-template-columns: 1fr;
    }

    .inner-hero,
    .contact-page {
        padding-top: 42px;
    }

    .contact-form {
        padding: 22px;
    }
}
