:root {
    --bg: #ffffff;
    --bg-strong: #eef8ff;
    --surface: #ffffff;
    --surface-muted: #eef0ff;
    --text: #131426;
    --muted: #6d7085;
    --line: rgba(43, 63, 123, 0.14);
    --accent: #3648d8;
    --accent-dark: #2336a7;
    --accent-soft: #dde4ff;
    --hero-bg: #eef8ff;
    --services-bg: #eef0ff;
    --shadow: 0 22px 45px rgba(48, 66, 138, 0.12);
    --shadow-soft: 0 12px 26px rgba(40, 58, 133, 0.1);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: 1440px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
}

.section {
    padding: 96px 0;
}

.site-header {
    position: relative;
    top: 0;
    z-index: 50;
    background: var(--hero-bg);
    border-bottom: none;
}

.nav-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    min-height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff6a8a 0%, #ffb46c 100%);
    color: #fff;
    font-family: "Sora", sans-serif;
    font-weight: 800;
    letter-spacing: 0.08em;
    transform: rotate(-32deg);
    box-shadow: 0 12px 20px rgba(255, 119, 122, 0.22);
}

.brand-copy strong,
.brand-copy small {
    display: block;
}

.brand-copy strong {
    font-family: "Sora", sans-serif;
    font-size: 0.92rem;
}

.brand-copy small {
    color: var(--muted);
    font-size: 0.76rem;
}

.site-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.site-nav a {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
    transition: color 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--accent);
}

.nav-cta,
.button {
    display: inline-flex;
    position: relative;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.72rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav-cta,
.button-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    box-shadow: 0 18px 30px rgba(47, 73, 255, 0.24);
}

.button-secondary {
    background: #fff;
    border: 1px solid rgba(43, 63, 123, 0.12);
    box-shadow: var(--shadow-soft);
}

.nav-cta:hover,
.button:hover {
    transform: translateY(-2px);
}

.nav-cta::before,
.nav-cta::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.nav-cta::before {
    top: -35%;
    left: -24%;
    width: 34%;
    height: 170%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.42) 52%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transform: translateX(-220%) skewX(-20deg);
    transition: transform 0.85s ease, opacity 0.35s ease;
}

.nav-cta::after {
    inset: -8px;
    border-radius: inherit;
    border: 1px solid rgba(54, 72, 216, 0.18);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.nav-cta.is-animating {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 24px 38px rgba(47, 73, 255, 0.3);
}

.nav-cta.is-animating::before {
    opacity: 1;
    transform: translateX(360%) skewX(-20deg);
}

.nav-cta.is-animating::after {
    opacity: 1;
    transform: scale(1.08);
}

.menu-toggle {
    display: none;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(43, 63, 123, 0.12);
    border-radius: 18px;
    background: #fff;
    color: var(--text);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    padding: 28px 0 56px;
    background: var(--hero-bg);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 2rem;
    align-items: center;
}

.eyebrow,
.section-kicker {
    margin: 0 0 0.8rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: none;
    color: #151515;
}

.hero-name {
    margin: 0 0 0.55rem;
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--muted);
}

.hero-copy h1 {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: clamp(4rem, 8vw, 5.8rem);
    line-height: 0.97;
    letter-spacing: -0.04em;
}

.hero-copy h1 span,
.hero-copy h1 strong {
    display: block;
}

.hero-copy h1 span {
    color: #2839c2;
}

.hero-copy h1 strong {
    color: #2f42d8;
}

.hero-text {
    max-width: 28rem;
    margin: 1.2rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.7rem;
}

.hero-visual {
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: center;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(84, 104, 174, 0.16);
    border-radius: 50%;
}

.orbit-large {
    width: 76%;
    aspect-ratio: 1;
    top: 6%;
    right: 12%;
}

.orbit-small {
    width: 58%;
    aspect-ratio: 1;
    top: 18%;
    right: 21%;
}

.hero-pattern {
    position: absolute;
    width: 112px;
    height: 112px;
    background-image:
        linear-gradient(90deg, transparent 0 35%, rgba(77, 171, 247, 0.85) 35% 58%, transparent 58% 100%),
        linear-gradient(0deg, transparent 0 35%, rgba(77, 171, 247, 0.85) 35% 58%, transparent 58% 100%);
    background-size: 18px 18px;
    opacity: 0.72;
}

.hero-pattern-left {
    left: -44px;
    top: 35%;
    transform: rotate(18deg);
    opacity: 0.35;
    filter: grayscale(1);
}

.hero-pattern-right {
    right: 0;
    top: 7%;
    transform: rotate(-18deg);
}

.hero-photo {
    position: relative;
    z-index: 2;
    width: min(370px, 76vw);
    aspect-ratio: 43 / 58;
    display: grid;
    place-items: end center;
    overflow: visible;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.hero-photo::before {
    content: "";
    position: absolute;
    inset: 10% 8% 5% 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(226, 235, 255, 0.92) 0%, rgba(226, 235, 255, 0.58) 60%, rgba(226, 235, 255, 0) 78%);
    z-index: -1;
}

.hero-photo::after {
    content: "";
    position: absolute;
    inset: 2% 0 9% 0;
    border-radius: 50%;
    border: 1px solid rgba(84, 104, 174, 0.14);
    z-index: -1;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    display: block;
    margin-inline: auto;
    object-fit: contain;
    object-position: center bottom;
    border-radius: 0;
    filter: saturate(1.03) contrast(1.02);
}

.hero-card {
    position: absolute;
    z-index: 3;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(43, 63, 123, 0.08);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.hero-card-review {
    top: 28%;
    left: -6%;
    max-width: 196px;
    padding: 0.8rem 1rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
    color: #f7b633;
    font-size: 0.9rem;
}

.hero-card-review p {
    margin: 0.5rem 0 0.2rem;
    font-family: "Sora", sans-serif;
    font-size: 0.82rem;
}

.hero-card-review span {
    color: var(--muted);
    font-size: 0.74rem;
}

.hero-card-pin {
    top: 57%;
    left: 17%;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    box-shadow: 0 18px 28px rgba(47, 73, 255, 0.28);
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-card-pin:hover,
.hero-card-pin:focus-visible,
.hero-card-pin[aria-expanded="true"] {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 22px 32px rgba(47, 73, 255, 0.34);
}

.hero-location-card {
    position: absolute;
    z-index: 4;
    left: 5%;
    bottom: 28%;
    display: grid;
    gap: 0.3rem;
    min-width: 230px;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(43, 63, 123, 0.08);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(0.96);
    transform-origin: left bottom;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.hero-location-card.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.hero-location-card::after {
    content: "";
    position: absolute;
    left: 32px;
    bottom: -8px;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.96);
    border-right: 1px solid rgba(43, 63, 123, 0.08);
    border-bottom: 1px solid rgba(43, 63, 123, 0.08);
    transform: rotate(45deg);
}

.hero-location-card strong {
    font-size: 0.92rem;
    font-family: "Sora", sans-serif;
}

.hero-location-card span {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

.hero-location-card a {
    width: fit-content;
    margin-top: 0.35rem;
    color: var(--accent-dark);
    font-size: 0.8rem;
    font-weight: 800;
}

.hero-location-card a:hover,
.hero-location-card a:focus-visible {
    text-decoration: underline;
}

.hero-card-social {
    right: -2%;
    bottom: 15%;
    display: flex;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem;
    border-radius: 18px;
}

.hero-card-social a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ffffff;
    color: var(--accent);
    box-shadow: 0 8px 16px rgba(20, 27, 58, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.hero-card-social a i {
    font-size: 1rem;
}

.hero-card-social a:hover,
.hero-card-social a:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(20, 27, 58, 0.14);
}

.hero-card-social .social-whatsapp {
    color: #25d366;
    background: rgba(37, 211, 102, 0.14);
}

.hero-card-social .social-linkedin {
    color: #0a66c2;
    background: rgba(10, 102, 194, 0.14);
}

.hero-card-social .social-dev {
    color: #111111;
    background: rgba(17, 17, 17, 0.1);
}

.hero-card-social .social-github {
    color: #181717;
    background: rgba(24, 23, 23, 0.1);
}

.hero-card-social .social-whatsapp:hover,
.hero-card-social .social-whatsapp:focus-visible {
    background: #25d366;
    color: #ffffff;
}

.hero-card-social .social-linkedin:hover,
.hero-card-social .social-linkedin:focus-visible {
    background: #0a66c2;
    color: #ffffff;
}

.hero-card-social .social-dev:hover,
.hero-card-social .social-dev:focus-visible {
    background: #111111;
    color: #ffffff;
}

.hero-card-social .social-github:hover,
.hero-card-social .social-github:focus-visible {
    background: #181717;
    color: #ffffff;
}

.about {
    background: var(--surface);
    padding: 72px 0 84px;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 4rem;
}

.about-visual {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.about-circle {
    position: absolute;
    border-radius: 50%;
}

.about-circle-one {
    width: 150px;
    height: 150px;
    left: 2%;
    bottom: 8%;
    background: #2c39c7;
}

.about-circle-two {
    width: 62px;
    height: 62px;
    left: 8%;
    top: 26%;
    background: #3d3f9c;
}

.about-circle-three {
    width: 76px;
    height: 76px;
    right: 18%;
    bottom: 22%;
    background: #11172f;
}

.about-portrait {
    position: relative;
    z-index: 1;
    width: min(280px, 78vw);
    aspect-ratio: 4 / 5;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

.about-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    border-radius: 0;
}

.about-copy h2,
.section-heading h2,
.contact-copy h2 {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: clamp(2.1rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.about-copy p,
.section-heading p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

.about-intro {
    margin: 0.8rem 0 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.about-copy>p:last-of-type {
    margin-top: 1.2rem;
}

.skills {
    display: grid;
    gap: 1.1rem;
    margin-top: 2rem;
}

.skill-item {
    display: grid;
    gap: 0.7rem;
}

.skill-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.skill-head h3,
.skill-head span {
    margin: 0;
    font-size: 0.96rem;
    font-weight: 800;
}

.skill-head span {
    display: none;
}

.skill-track {
    height: 6px;
    border-radius: 999px;
    background: #edf1fa;
    overflow: hidden;
}

.skill-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    position: relative;
    transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.skill-fill::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -1px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid currentColor;
    transform: translateY(-50%);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85);
}

.accent-plum {
    background: linear-gradient(90deg, #5d214c 0%, #d44763 100%);
    color: #d44763;
}

.accent-gold {
    background: linear-gradient(90deg, #8e4c08 0%, #ffb03b 100%);
    color: #ffb03b;
}

.accent-slate {
    background: linear-gradient(90deg, #2b323c 0%, #a6b0bd 100%);
    color: #a6b0bd;
}

.accent-indigo {
    background: linear-gradient(90deg, #151753 0%, #4a57ff 100%);
    color: #4a57ff;
}

.services {
    background: var(--services-bg);
    padding: 72px 0 84px;
}

.section-heading {
    max-width: 640px;
    margin: 0 auto 2.4rem;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.35rem;
}

.service-card {
    padding: 2rem 1.5rem;
    background: rgba(246, 244, 240, 0.9);
    border: 1px solid rgba(43, 63, 123, 0.05);
    border-radius: var(--radius-lg);
    box-shadow: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card.is-featured {
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.service-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 0;
    background: transparent;
    color: var(--accent);
    font-size: 1.8rem;
}

.service-card h3 {
    margin: 1.1rem 0 0.7rem;
    font-family: "Sora", sans-serif;
    font-size: 1.04rem;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.9rem;
}

.portfolio {
    background: var(--surface);
    padding: 84px 0 96px;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 2.7rem;
}

.filter-button {
    border: 1px solid rgba(43, 63, 123, 0.12);
    background: #fff;
    color: var(--muted);
    padding: 0.72rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-button:hover,
.filter-button:focus-visible {
    transform: translateY(-1px);
    border-color: var(--accent);
    color: var(--accent);
}

.filter-button.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 18px 30px rgba(47, 73, 255, 0.2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    padding: 0.9rem;
    border-radius: 18px;
    overflow: hidden;
    background: #5a5b62;
    color: #fff;
    min-height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 42px rgba(22, 28, 58, 0.2);
}

.portfolio-card.is-hidden {
    display: none;
}

.portfolio-media {
    aspect-ratio: 16 / 11.5;
    background: linear-gradient(180deg, #1d2235 0%, #dbe1f4 100%);
    border-radius: 12px;
    overflow: hidden;
}

.portfolio-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

.portfolio-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem 0.2rem 0.4rem;
}

.portfolio-tag {
    width: fit-content;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #ffbb63;
    font-size: 0.78rem;
    font-weight: 800;
}

.portfolio-card h3 {
    margin: 0.9rem 0 0.65rem;
    font-family: "Sora", sans-serif;
    font-size: 1.02rem;
    line-height: 1.4;
}

.portfolio-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    font-size: 0.88rem;
}

.portfolio-open {
    margin-top: auto;
    align-self: flex-start;
    min-height: 40px;
    padding: 0.68rem 1rem;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    color: var(--accent-dark);
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.portfolio-open:hover,
.portfolio-open:focus-visible {
    background: var(--accent);
    color: #ffffff;
}

.portfolio-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.portfolio-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.portfolio-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 14, 29, 0.68);
    backdrop-filter: blur(6px);
}

.portfolio-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(88vh, 920px);
    overflow: auto;
    padding: 1.6rem;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 30px 60px rgba(17, 23, 47, 0.26);
}

.portfolio-modal-close {
    position: sticky;
    top: 0;
    margin-left: auto;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--accent-dark);
    cursor: pointer;
}

.portfolio-modal-body {
    display: grid;
    gap: 1.25rem;
}

.portfolio-modal-title {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 1.9rem;
    line-height: 1.2;
}

.portfolio-modal-image {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    border-radius: 18px;
    background: linear-gradient(180deg, #eff4ff 0%, #ffffff 100%);
    padding: 1rem;
}

.portfolio-modal-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.portfolio-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.portfolio-tech-tag {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--accent-dark);
    font-size: 0.82rem;
    font-weight: 800;
}

.portfolio-feature-list {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--muted);
    line-height: 1.7;
}

.portfolio-feature-list li + li {
    margin-top: 0.35rem;
}

.portfolio-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.portfolio-action {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 44px;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
}

.portfolio-action.is-secondary {
    background: #eef2ff;
    color: var(--accent-dark);
}

.contact {
    position: relative;
    padding: 42px 0 56px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(115, 139, 255, 0.22) 0, rgba(115, 139, 255, 0.22) 110px, transparent 111px),
        radial-gradient(circle at bottom left, rgba(121, 144, 255, 0.18) 0, rgba(121, 144, 255, 0.18) 88px, transparent 89px),
        linear-gradient(135deg, #2f49ff 0%, #4f60ff 55%, #13258f 100%);
    color: #fff;
}

.contact::before,
.contact::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(2px);
}

.contact::before {
    width: 170px;
    height: 170px;
    top: -92px;
    right: -48px;
    background: rgba(255, 255, 255, 0.05);
}

.contact::after {
    width: 120px;
    height: 120px;
    bottom: -65px;
    left: -28px;
    background: rgba(255, 255, 255, 0.05);
}

.contact-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: clamp(1.6rem, 3vw, 3rem);
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.section-kicker-light {
    color: rgba(255, 255, 255, 0.76);
}

.contact-copy,
.contact-list {
    position: relative;
    z-index: 1;
}

.contact-copy {
    max-width: 36rem;
}

.contact-copy h2 {
    max-width: 9ch;
    font-size: clamp(2.15rem, 4.4vw, 3.2rem);
    line-height: 1.02;
}

.contact-copy p:last-child {
    margin-top: 0.85rem;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.75;
    font-size: 0.95rem;
    max-width: 30rem;
}

.contact-list {
    display: grid;
    gap: 0.3rem;
    padding-left: 1.35rem;
}

.contact-list::before {
    content: "";
    position: absolute;
    left: 1.45rem;
    top: 0.9rem;
    bottom: 0.9rem;
    width: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 100%);
}

.contact-item {
    position: relative;
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 0.9rem;
    min-height: 78px;
    padding: 0.8rem 0 0.8rem 1.15rem;
    border-radius: 0;
    background: transparent;
    color: #fff;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.contact-item::before {
    content: "";
    position: absolute;
    left: 0.95rem;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
    transform: translateY(-50%);
}

.contact-item::after {
    content: "";
    position: absolute;
    left: 3.45rem;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.contact-item i {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.contact-item span {
    display: grid;
    gap: 0.3rem;
}

.contact-item strong {
    font-size: 0.94rem;
}

.contact-item small {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
}

.contact-item:hover,
.contact-item:focus-visible {
    transform: translateX(8px);
}

.contact-item:hover i,
.contact-item:focus-visible i {
    background: rgba(255, 255, 255, 0.18);
}

.site-footer {
    padding: 4.7rem 0 2.2rem;
    background: #fffbe2;
}

.footer-panel {
    position: relative;
    overflow: visible;
    padding: 4.4rem clamp(1.4rem, 4vw, 2.8rem) 1.5rem;
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(84, 104, 255, 0.16) 0, rgba(84, 104, 255, 0.16) 120px, transparent 121px),
        radial-gradient(circle at bottom left, rgba(58, 82, 220, 0.16) 0, rgba(58, 82, 220, 0.16) 96px, transparent 97px),
        linear-gradient(180deg, #22252f 0%, #181b24 100%);
    color: #fff;
    box-shadow: 0 26px 54px rgba(18, 22, 34, 0.16);
}

.footer-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 20% 18%, transparent 0 64px, rgba(255, 255, 255, 0.05) 65px 66px, transparent 67px),
        radial-gradient(circle at 78% 26%, transparent 0 94px, rgba(255, 255, 255, 0.05) 95px 96px, transparent 97px),
        linear-gradient(120deg, transparent 0 18%, rgba(255, 255, 255, 0.03) 18.2% 18.6%, transparent 18.8% 100%);
    opacity: 0.7;
    pointer-events: none;
}

.footer-portrait {
    position: absolute;
    left: 50%;
    top: 0;
    z-index: 2;
    width: 112px;
    height: 112px;
    padding: 6px;
    border-radius: 36px;
    background: linear-gradient(135deg, #4560ff 0%, #6d85ff 100%);
    box-shadow: 0 18px 34px rgba(40, 58, 133, 0.32);
    transform: translate(-50%, -44%);
}

.footer-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    border-radius: 30px;
}

.footer-brand {
    position: relative;
    z-index: 1;
    text-align: center;
}

.footer-brand h2 {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.45rem);
    line-height: 1.08;
}

.footer-brand p {
    margin: 0.45rem 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.96rem;
    font-style: italic;
}

.footer-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(1.2rem, 3vw, 3rem);
    align-items: start;
    margin-top: 2.25rem;
    padding-top: 1.8rem;
}

.footer-shell::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.09);
    transform: translateX(-50%);
}

.footer-column {
    display: grid;
    gap: 0.55rem;
}

.footer-column:nth-child(2) {
    justify-self: center;
    min-width: 150px;
}

.footer-column:nth-child(3) {
    justify-self: end;
    text-align: right;
}

.footer-column h3 {
    margin: 0 0 0.35rem;
    font-family: "Sora", sans-serif;
    font-size: 1.02rem;
}

.footer-column a,
.footer-column p {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    line-height: 1.6;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-column i {
    width: 1rem;
    text-align: center;
    color: #88a0ff;
    font-size: 0.88rem;
    flex-shrink: 0;
}

.footer-column:nth-child(3) a {
    justify-content: flex-end;
}

.footer-column a:hover,
.footer-column a:focus-visible {
    color: #88a0ff;
    transform: translateX(3px);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.86rem;
    font-weight: 700;
}

.footer-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 800;
}

.footer-pill-primary {
    background: linear-gradient(135deg, #4461ff 0%, #263bc0 100%);
    color: #fff;
    box-shadow: 0 14px 24px rgba(47, 73, 255, 0.22);
}

.footer-social {
    display: flex;
    gap: 0.55rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #9cafef;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
    transform: translateY(-2px);
    background: rgba(76, 103, 255, 0.18);
    border-color: rgba(114, 135, 255, 0.3);
    color: #ffffff;
}

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

    .hero-copy,
    .about-copy,
    .contact-copy {
        text-align: center;
    }

    .hero-text,
    .about-copy>p:last-of-type {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-meta {
        justify-content: center;
    }

    .contact-copy {
        max-width: 100%;
    }

    .contact-copy h2,
    .contact-copy p:last-child {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-list {
        max-width: 42rem;
        width: 100%;
        margin: 0 auto;
    }

    .footer-panel {
        padding-top: 4.2rem;
    }

    .footer-shell {
        grid-template-columns: 1fr;
        margin-top: 1.8rem;
        gap: 1.4rem;
        text-align: center;
    }

    .footer-shell::before {
        display: none;
    }

    .footer-column,
    .footer-column:nth-child(2),
    .footer-column:nth-child(3) {
        justify-self: center;
        text-align: center;
    }

    .footer-column a,
    .footer-column p {
        justify-content: center;
    }

    .footer-bottom {
        justify-content: center;
    }

    .service-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .nav-shell {
        grid-template-columns: auto 1fr auto;
    }

    .menu-toggle {
        display: inline-block;
        justify-self: end;
    }

    .nav-cta {
        display: none;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 1rem;
        right: 1rem;
        display: grid;
        gap: 0.2rem;
        padding: 1rem;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid rgba(43, 63, 123, 0.08);
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .site-nav a {
        padding: 0.8rem 0.5rem;
        border-radius: 14px;
    }

    .site-nav a:hover,
    .site-nav a:focus-visible {
        background: var(--accent-soft);
    }

    .hero-visual {
        min-height: 500px;
    }

    .hero-copy h1 {
        font-size: clamp(3.3rem, 10vw, 4.8rem);
    }

    .hero-card-review {
        left: 0;
    }

    .hero-card-pin {
        left: 20%;
    }

    .hero-card-social {
        right: 1%;
    }
}

@media (max-width: 680px) {
    .section {
        padding: 64px 0;
    }

    .container {
        width: min(var(--container), calc(100% - 1.35rem));
    }

    .hero {
        padding: 16px 0 42px;
    }

    .hero-grid {
        gap: 2.2rem;
    }

    .hero-copy h1 {
        font-size: clamp(2.9rem, 14vw, 4.1rem);
        line-height: 0.98;
    }

    .hero-name {
        font-size: 0.88rem;
    }

    .hero-text {
        font-size: 0.92rem;
        line-height: 1.75;
    }

    .service-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 450px;
        display: block;
        padding-top: 0.2rem;
    }

    .hero-pattern {
        width: 84px;
        height: 84px;
        background-size: 14px 14px;
    }

    .hero-pattern-left {
        left: -18px;
        top: 46%;
        opacity: 0.12;
    }

    .hero-pattern-right {
        right: -8px;
        top: 6%;
        opacity: 0.5;
    }

    .orbit-large {
        width: 96%;
        top: 18%;
        right: 2%;
    }

    .orbit-small {
        width: 76%;
        top: 28%;
        right: 12%;
    }

    .hero-card {
        position: absolute;
        max-width: 100%;
    }

    .hero-card-review {
        top: 3%;
        left: 0;
        margin-left: 0;
        max-width: 210px;
    }

    .hero-photo {
        position: absolute;
        left: 50%;
        bottom: 14px;
        width: min(266px, 72vw);
        aspect-ratio: 43 / 58;
        transform: translateX(-50%);
    }

    .hero-card-pin {
        left: 4%;
        bottom: 44px;
        margin-left: 0;
    }

    .hero-location-card {
        left: 10px;
        bottom: 104px;
        min-width: 0;
        width: min(76vw, 250px);
        padding: 0.82rem 0.9rem;
        transform: translateY(12px) scale(0.96);
        transform-origin: left bottom;
    }

    .hero-location-card.is-visible {
        transform: translateY(0) scale(1);
    }

    .hero-location-card::after {
        left: 18px;
    }

    .hero-card-social {
        right: 0;
        bottom: 40px;
        width: auto;
        max-width: calc(100% - 80px);
        flex-wrap: nowrap;
        justify-content: center;
        padding: 0.45rem 0.55rem;
    }

    .about {
        padding: 56px 0 68px;
    }

    .about-grid {
        gap: 2rem;
    }

    .about-visual {
        min-height: 320px;
    }

    .about-portrait {
        width: min(240px, 72vw);
    }

    .section-heading {
        margin-bottom: 1.8rem;
    }

    .portfolio-filters {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        margin-bottom: 1.7rem;
        scrollbar-width: none;
    }

    .portfolio-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-button {
        white-space: nowrap;
        padding: 0.66rem 0.85rem;
        font-size: 0.84rem;
    }

    .portfolio-grid {
        gap: 1rem;
    }

    .portfolio-card {
        padding: 0.8rem;
    }

    .portfolio-card h3 {
        font-size: 0.98rem;
    }

    .portfolio-modal {
        padding: 0.7rem;
    }

    .portfolio-modal-dialog {
        padding: 1rem;
        border-radius: 20px;
    }

    .portfolio-modal-title {
        font-size: 1.45rem;
    }

    .portfolio-modal-actions {
        display: grid;
    }

    .portfolio-action {
        width: 100%;
        justify-content: center;
    }

    .site-footer {
        padding: 4rem 0 1.8rem;
    }

    .footer-panel {
        padding: 3.8rem 1rem 1.2rem;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(var(--container), calc(100% - 1rem));
    }

    .nav-shell {
        grid-template-columns: 1fr auto;
        gap: 0.75rem;
    }

    .brand {
        min-width: 0;
    }

    .brand-copy strong {
        font-size: 0.84rem;
    }

    .brand-copy small {
        display: none;
    }

    .menu-toggle {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .site-nav {
        left: 0.5rem;
        right: 0.5rem;
        padding: 0.8rem;
        border-radius: 20px;
    }

    .button,
    .hero-meta li {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-copy h1 {
        font-size: clamp(2.4rem, 14vw, 3.25rem);
    }

    .hero-pattern-left {
        display: none;
    }

    .hero-pattern-right {
        width: 72px;
        height: 72px;
        background-size: 12px 12px;
        right: 0;
        top: 2%;
    }

    .orbit-large {
        width: 96%;
        top: 16%;
        right: 2%;
    }

    .orbit-small {
        width: 76%;
        top: 26%;
        right: 12%;
    }

    .hero-photo {
        width: min(230px, 66vw);
        bottom: 12px;
    }

    .hero-card-review {
        top: 2%;
        left: 0;
        width: min(100%, 190px);
        padding: 0.72rem 0.85rem;
    }

    .stars {
        font-size: 0.82rem;
    }

    .hero-card-review p {
        font-size: 0.8rem;
    }

    .hero-card-review span {
        font-size: 0.72rem;
    }

    .hero-card-pin {
        left: 2%;
        bottom: 36px;
        width: 44px;
        height: 44px;
        margin-left: 0;
    }

    .hero-location-card {
        left: 8px;
        bottom: 92px;
        width: min(78vw, 225px);
    }

    .hero-card-social {
        right: 0;
        bottom: 34px;
        width: auto;
        gap: 0.38rem;
        padding: 0.42rem 0.5rem;
        justify-content: center;
    }

    .hero-card-social a {
        width: 34px;
        height: 34px;
    }

    .about-copy h2,
    .section-heading h2 {
        font-size: clamp(1.9rem, 10vw, 2.4rem);
    }

    .about-copy p,
    .section-heading p,
    .service-card p,
    .portfolio-card p {
        font-size: 0.88rem;
    }

    .about-visual {
        min-height: 288px;
    }

    .about-circle-one {
        width: 118px;
        height: 118px;
    }

    .about-circle-two {
        width: 48px;
        height: 48px;
    }

    .about-circle-three {
        width: 58px;
        height: 58px;
    }

    .skill-fill::after {
        width: 12px;
        height: 12px;
        border-width: 2px;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
    }

    .services {
        padding: 56px 0 68px;
    }

    .service-card {
        padding: 1.35rem 1.1rem;
    }

    .service-icon {
        width: 46px;
        height: 46px;
        font-size: 1.45rem;
    }

    .portfolio {
        padding: 68px 0 76px;
    }

    .portfolio-media {
        aspect-ratio: 16 / 10.5;
    }

    .portfolio-open {
        width: 100%;
        justify-content: center;
    }

    .contact-item {
        grid-template-columns: 48px 1fr;
        min-height: 86px;
        padding: 0.9rem 0 0.9rem 1.15rem;
    }

    .contact-list {
        padding-left: 1.15rem;
    }

    .contact-list::before {
        left: 1.2rem;
    }

    .contact-item::before {
        left: 0.65rem;
    }

    .contact-item::after {
        left: 3.3rem;
    }

    .contact-item i {
        width: 48px;
        height: 48px;
    }

    .site-footer {
        padding-top: 4.2rem;
    }

    .footer-panel {
        padding: 3.9rem 1rem 1.3rem;
        border-radius: 28px;
    }

    .footer-portrait {
        width: 92px;
        height: 92px;
        border-radius: 28px;
    }

    .footer-portrait img {
        border-radius: 22px;
    }

    .footer-brand h2 {
        font-size: 1.65rem;
    }

    .footer-brand p {
        font-size: 0.88rem;
    }

    .footer-column a,
    .footer-column p {
        gap: 0.45rem;
        font-size: 0.86rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.85rem;
    }

    .footer-social {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
    }

    .footer-pill {
        width: 100%;
        max-width: 240px;
    }
}
