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

:root {
    --bg-primary: #fbfaf6;
    --bg-secondary: #f4efe8;
    --bg-card: #ffffff;
    --bg-soft: #f8efe6;
    --text-primary: #182630;
    --text-secondary: #5d6b70;
    --text-muted: #8a9698;
    --accent-primary: #087b7d;
    --accent-secondary: #ff7d69;
    --accent-soft: #dff2ef;
    --border: #e8e1d8;
    --shadow-card: 0 22px 60px rgba(24, 38, 48, 0.08);
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
    --container-max: 1180px;
    --navbar-height: 76px;
    --radius: 8px;
    --transition: all 0.25s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 93% 15%, rgba(255, 125, 105, 0.13), transparent 18rem),
        linear-gradient(180deg, #fffdf9 0%, var(--bg-primary) 100%);
    color: var(--text-primary);
    font-family: var(--font-secondary);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 36px 0;
}

.section-subtitle {
    color: var(--accent-secondary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.section-title {
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 3vw, 2.75rem);
    font-weight: 800;
    line-height: 1.02;
}

.section-heading {
    align-items: end;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.gradient-text {
    color: var(--accent-primary);
}

.btn {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    gap: 10px;
    justify-content: center;
    min-height: 42px;
    padding: 11px 20px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 14px 28px rgba(8, 123, 125, 0.18);
}

.btn-primary:hover {
    background: #056f71;
    transform: translateY(-2px);
}

.btn-outline {
    background: #fff;
    border-color: var(--border);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.btn-light {
    background: #fff;
    color: var(--accent-primary);
}

.btn-sm {
    min-height: 38px;
    padding: 9px 18px;
}

.text-link {
    align-items: center;
    color: var(--accent-primary);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    gap: 9px;
    white-space: nowrap;
}

.text-link:hover {
    gap: 13px;
}

.navbar {
    background: rgba(251, 250, 246, 0.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    height: var(--navbar-height);
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar.scrolled {
    border-color: rgba(232, 225, 216, 0.9);
    box-shadow: 0 12px 30px rgba(24, 38, 48, 0.05);
}

.navbar-container {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: space-between;
}

.logo {
    align-items: center;
    display: inline-flex;
    font-family: var(--font-primary);
    font-size: 1.04rem;
    font-weight: 800;
    gap: 10px;
}

.logo-mark {
    background: var(--accent-primary);
    border-radius: 999px;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.35);
    display: inline-block;
    height: 18px;
    width: 18px;
}

.nav-links {
    align-items: center;
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    background: var(--accent-primary);
    border-radius: 999px;
    bottom: 0;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.hamburger {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.hamburger span {
    background: var(--text-primary);
    border-radius: 999px;
    height: 2px;
    transition: var(--transition);
    width: 24px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hero-section {
    min-height: 690px;
    overflow: hidden;
    padding: calc(var(--navbar-height) + 34px) 0 18px;
    position: relative;
}

.hero-section::before {
    background: var(--accent-secondary);
    border-radius: 999px;
    content: "";
    height: 44px;
    position: absolute;
    right: 8%;
    top: 120px;
    width: 44px;
}

.hero-container {
    align-items: center;
    display: grid;
    gap: 44px;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
}

.hero-content {
    padding-top: 30px;
}

.hero-kicker {
    color: var(--accent-secondary);
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(4rem, 8.6vw, 6.7rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.9;
    margin-bottom: 18px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 0.98rem;
    max-width: 470px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 32px;
}

.trusted-row {
    align-items: center;
    color: var(--text-muted);
    display: flex;
    font-size: 0.78rem;
    gap: 16px;
    max-width: 560px;
    overflow: hidden;
}

.trusted-row > span {
    flex: 0 0 auto;
}

.tech-marquee {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    padding: 4px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.tech-track {
    align-items: center;
    display: flex;
    gap: 22px;
    width: max-content;
    animation: techMarquee 24s linear infinite;
}

.tech-marquee:hover .tech-track {
    animation-play-state: paused;
}

.trusted-row strong {
    align-items: center;
    color: var(--text-secondary);
    display: flex;
    flex: 0 0 auto;
    font-weight: 700;
    gap: 7px;
    white-space: nowrap;
}

.trusted-row i {
    color: var(--accent-primary);
}

@keyframes techMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 11px));
    }
}

.hero-image {
    min-height: 540px;
    position: relative;
}

.hero-image::after {
    border: 22px solid var(--accent-primary);
    border-bottom: 0;
    border-left-color: transparent;
    border-radius: 120px 120px 0 0;
    bottom: 105px;
    content: "";
    height: 92px;
    left: 12px;
    position: absolute;
    width: 130px;
    z-index: 0;
}

.hero-arch {
    background: #f5dcca;
    border-radius: 52% 52% 0 0;
    bottom: 0;
    height: 480px;
    left: 50%;
    overflow: hidden;
    position: absolute;
    transform: translateX(-46%);
    width: min(500px, 86%);
    z-index: 1;
}

.dot-field {
    background-image: radial-gradient(rgba(8, 123, 125, 0.45) 1.2px, transparent 1.2px);
    background-size: 17px 17px;
    height: 120px;
    position: absolute;
    right: 4px;
    top: 165px;
    width: 180px;
    z-index: 2;
}

.hero-image-wrapper {
    bottom: 0;
    height: 100%;
    left: 43%;
    overflow: hidden;
    position: absolute;
    transform: translateX(-50%);
    width: 82%;
    z-index: 2;
}

.hero-image-wrapper img {
    height: 100%;
    object-fit: cover;
    object-position: center top;
    width: 100%;
}

.availability-badge {
    align-items: center;
    background: var(--accent-primary);
    border-radius: 999px;
    bottom: 115px;
    color: #fff;
    display: flex;
    flex-direction: column;
    height: 118px;
    justify-content: center;
    padding: 20px;
    position: absolute;
    right: 20px;
    text-align: center;
    width: 118px;
    z-index: 3;
}

.availability-badge strong {
    font-size: 0.9rem;
}

.availability-badge span {
    font-size: 0.72rem;
    line-height: 1.25;
}

.about-panel {
    align-items: center;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow-card);
    display: grid;
    gap: 34px;
    grid-template-columns: 0.9fr 1fr 0.54fr;
    padding: 28px;
}

.about-image {
    border-radius: 22px;
    overflow: hidden;
}

.about-image img {
    aspect-ratio: 1.26;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.about-description {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin: 16px 0 24px;
}

.about-stats {
    display: grid;
    gap: 16px;
}

.stat-card {
    align-items: center;
    display: flex;
    gap: 14px;
}

.stat-card > i {
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--accent-primary);
    display: inline-flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.stat-info h3 {
    color: var(--accent-primary);
    font-size: 1.45rem;
    line-height: 1;
}

.stat-info p {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.services-grid {
    border: 1px solid var(--border);
    border-radius: 22px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    overflow: hidden;
}

.service-card {
    background: rgba(255, 255, 255, 0.54);
    border-right: 1px solid var(--border);
    min-height: 230px;
    padding: 26px 18px 18px;
    position: relative;
    transition: var(--transition);
}

.service-card:last-child {
    border-right: 0;
}

.service-card:hover {
    background: #fff;
    box-shadow: inset 0 4px 0 var(--accent-primary);
}

.service-icon {
    align-items: center;
    background: var(--accent-soft);
    border-radius: var(--radius);
    color: var(--accent-primary);
    display: inline-flex;
    height: 42px;
    justify-content: center;
    margin-bottom: 24px;
    width: 42px;
}

.service-card:nth-child(even) .service-icon {
    background: #fff0e8;
    color: var(--accent-secondary);
}

.service-card h3 {
    font-size: 0.94rem;
    line-height: 1.25;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.76rem;
}

.service-card > a {
    bottom: 18px;
    color: var(--text-primary);
    font-size: 0.82rem;
    position: absolute;
    right: 18px;
}

.projects-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

.project-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.project-card img {
    aspect-ratio: 1.55;
    background: var(--bg-soft);
    object-fit: cover;
    width: 100%;
}

.feature-tint img {
    background: #f9dace;
}

.project-info {
    padding: 18px 20px 20px;
    position: relative;
}

.project-info > span {
    color: var(--accent-primary);
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.project-info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.78rem;
    margin-bottom: 16px;
}

.project-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.project-actions a {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 800;
    gap: 8px;
    min-height: 34px;
    padding: 8px 12px;
}

.project-actions a:first-child {
    background: var(--accent-primary);
    color: #fff;
}

.project-actions a:first-child:hover {
    background: #056f71;
}

.project-tech-icons {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

.project-tech-icons span {
    align-items: center;
    background: var(--accent-soft);
    border: 1px solid rgba(8, 143, 145, 0.16);
    border-radius: 999px;
    color: var(--accent-primary);
    display: inline-flex;
    font-size: 0.94rem;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.project-tech-icons span:nth-child(even) {
    background: #fff0e8;
    border-color: rgba(249, 115, 22, 0.18);
    color: var(--accent-secondary);
}

.project-actions > a:last-child:not(:first-child) {
    color: var(--accent-primary);
    padding-left: 0;
    padding-right: 0;
}

.project-actions > a:last-child:not(:first-child):hover {
    color: var(--text-primary);
}

.impact-section {
    padding: 24px 0;
}

.impact-band {
    align-items: center;
    background: var(--accent-primary);
    border-radius: 22px;
    color: #fff;
    display: grid;
    gap: 22px;
    grid-template-columns: 1.1fr repeat(3, 0.48fr) 1fr;
    padding: 34px;
}

.impact-band .section-subtitle {
    color: rgba(255, 255, 255, 0.72);
}

.impact-band h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.6rem, 2.5vw, 2.35rem);
    line-height: 1;
}

.impact-stat {
    text-align: center;
}

.impact-stat strong {
    display: block;
    font-size: 1.5rem;
}

.impact-stat span,
.skill-bars span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.72rem;
}

.skill-bars {
    display: grid;
    gap: 10px;
}

.skill-bars div {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: 86px 1fr;
}

.skill-bars div::after {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    content: "";
    height: 5px;
    grid-column: 2;
    grid-row: 1;
}

.skill-bars b {
    background: #fff;
    border-radius: 999px;
    display: block;
    grid-column: 2;
    grid-row: 1;
    height: 5px;
    position: relative;
    z-index: 1;
}

.process-layout {
    display: grid;
    gap: 34px;
    grid-template-columns: 0.72fr 1.28fr;
    margin-bottom: 34px;
}

.process-steps {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(5, 1fr);
}

.process-steps article {
    position: relative;
}

.process-steps span {
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-primary);
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 800;
    height: 38px;
    justify-content: center;
    margin-bottom: 12px;
    width: 38px;
}

.process-steps h3 {
    font-size: 0.92rem;
    margin-bottom: 6px;
}

.process-steps p {
    color: var(--text-secondary);
    font-size: 0.76rem;
}

.testimonial-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 0.7fr 1fr 1fr;
}

.testimonial-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
}

.testimonial-card i {
    color: var(--accent-primary);
    margin-bottom: 18px;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-size: 0.86rem;
    margin-bottom: 18px;
}

.testimonial-card strong {
    font-size: 0.82rem;
}

.contact-container {
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-card);
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
    padding: 34px;
}

.contact-left {
    align-self: center;
}

.contact-description {
    color: var(--text-secondary);
    font-size: 0.96rem;
    margin: 16px 0 24px;
    max-width: 560px;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-action {
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: 0 12px 26px rgba(24, 38, 48, 0.06);
    color: var(--text-primary);
    display: inline-flex;
    font-size: 0.84rem;
    font-weight: 800;
    gap: 10px;
    min-height: 46px;
    padding: 12px 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.contact-action i {
    color: var(--accent-primary);
    font-size: 1rem;
    transition: transform 0.25s ease;
}

.contact-action:hover,
.contact-action:focus-visible {
    border-color: rgba(8, 123, 125, 0.32);
    box-shadow: 0 16px 30px rgba(24, 38, 48, 0.1);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.contact-action:hover i,
.contact-action:focus-visible i {
    transform: translateX(2px);
}

.contact-action:focus-visible,
.contact-info-item:focus-visible {
    outline: 3px solid rgba(8, 123, 125, 0.14);
    outline-offset: 4px;
}

.whatsapp-action {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
}

.whatsapp-action i,
.whatsapp-action:hover,
.whatsapp-action:focus-visible {
    color: #fff;
}

.contact-right {
    align-content: start;
    display: grid;
    gap: 12px;
}

.contact-info-item {
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    gap: 14px;
    min-width: 0;
    padding: 15px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-info-item > i {
    align-items: center;
    background: var(--accent-soft);
    border-radius: 999px;
    color: var(--accent-primary);
    display: inline-flex;
    flex: 0 0 38px;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.contact-info-item:hover {
    border-color: rgba(8, 123, 125, 0.22);
    box-shadow: 0 12px 24px rgba(24, 38, 48, 0.07);
    transform: translateY(-2px);
}

.contact-info-item h4 {
    font-size: 0.9rem;
}

.contact-info-item p {
    color: var(--text-secondary);
    font-size: 0.84rem;
    overflow-wrap: anywhere;
}

.footer {
    padding: 28px 0;
}

.footer-container {
    align-items: center;
    border-top: 1px solid var(--border);
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr 1fr 1fr auto auto;
    padding-top: 26px;
}

.footer p,
.footer a {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.footer .logo {
    color: var(--text-primary);
}

.footer-container div {
    display: flex;
    gap: 14px;
}

.back-to-top {
    align-items: center;
    background: var(--accent-primary);
    border-radius: 999px;
    color: #fff !important;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.whatsapp-float {
    align-items: center;
    background: #25d366;
    border-radius: 50%;
    bottom: 24px;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.32), 0 8px 18px rgba(24, 38, 48, 0.16);
    color: #fff;
    display: inline-flex;
    font-size: 1.85rem;
    height: 60px;
    justify-content: center;
    position: fixed;
    right: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    width: 60px;
    z-index: 1002;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    background: #1ebe5d;
    box-shadow: 0 18px 36px rgba(37, 211, 102, 0.38), 0 10px 22px rgba(24, 38, 48, 0.2);
    color: #fff;
    transform: translateY(-3px) scale(1.04);
}

.whatsapp-float:focus-visible {
    outline: 3px solid rgba(37, 211, 102, 0.32);
    outline-offset: 4px;
}

.whatsapp-tooltip {
    background: var(--text-primary);
    border-radius: 999px;
    color: #fff;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
    opacity: 0;
    padding: 9px 12px;
    pointer-events: none;
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translate(8px, -50%);
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.whatsapp-tooltip::after {
    border: 6px solid transparent;
    border-left-color: var(--text-primary);
    content: "";
    left: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.whatsapp-float:hover .whatsapp-tooltip,
.whatsapp-float:focus-visible .whatsapp-tooltip {
    opacity: 1;
    transform: translate(0, -50%);
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.cursor {
    color: var(--accent-primary);
}

@media (max-width: 1080px) {
    .nav-links {
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-card {
        border-bottom: 1px solid var(--border);
    }

    .service-card:nth-child(3n) {
        border-right: 0;
    }

    .impact-band,
    .process-layout,
    .testimonial-grid,
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .navbar-container {
        gap: 14px;
    }

    .nav-menu {
        background: rgba(251, 250, 246, 0.98);
        border-left: 1px solid var(--border);
        box-shadow: var(--shadow-card);
        height: 100vh;
        padding: 104px 28px 28px;
        position: fixed;
        right: -100%;
        top: 0;
        transition: right 0.25s ease;
        width: min(320px, 82vw);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .nav-link {
        font-size: 1rem;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    .hero-container {
        gap: 22px;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
        max-width: 620px;
        padding-top: 0;
    }

    .hero-description {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .trusted-row {
        margin: 0 auto;
    }

    .hero-image {
        min-height: 470px;
    }

    .hero-arch {
        height: 410px;
        width: min(440px, 88%);
    }

    .hero-image-wrapper {
        height: 100%;
        width: 82%;
    }

    .availability-badge {
        bottom: 70px;
        right: 8%;
    }

    .about-panel,
    .contact-container {
        grid-template-columns: 1fr;
    }

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

    .projects-grid,
    .process-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .container {
        padding: 0 18px;
    }

    .logo {
        font-size: 0.95rem;
        min-width: 0;
    }

    .logo span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .section {
        padding: 28px 0;
    }

    .hero-section {
        min-height: auto;
        padding-bottom: 0;
    }

    .hero-container,
    .hero-content {
        max-width: 100%;
        min-width: 0;
    }

    .hero-content {
        text-align: center;
    }

    .hero-section::before {
        height: 30px;
        right: 8%;
        top: 112px;
        width: 30px;
    }

    .hero-title {
        font-size: clamp(2.45rem, 13vw, 3.1rem);
        line-height: 0.98;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        overflow-wrap: normal;
        text-wrap: balance;
    }

    .hero-subtitle,
    .hero-description {
        max-width: 100%;
    }

    .hero-buttons,
    .section-heading {
        align-items: stretch;
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .hero-buttons .btn {
        max-width: 100%;
        width: 100%;
    }

    .trusted-row {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
        max-width: 100%;
        text-align: left;
    }

    .tech-marquee {
        width: 100%;
    }

    .hero-image {
        min-height: 390px;
        margin-left: auto;
        margin-right: auto;
        max-width: 390px;
        width: 100%;
    }

    .hero-arch {
        height: 330px;
        left: 50%;
        transform: translateX(-50%);
        width: min(330px, 88%);
    }

    .hero-image-wrapper {
        height: 100%;
        width: 84%;
    }

    .dot-field {
        right: -12px;
        top: 125px;
    }

    .availability-badge {
        bottom: 48px;
        height: 96px;
        padding: 16px;
        width: 96px;
    }

    .availability-badge strong {
        font-size: 0.78rem;
    }

    .availability-badge span {
        font-size: 0.64rem;
    }

    .about-panel {
        border-radius: 20px;
        padding: 18px;
    }

    .about-stats,
    .services-grid,
    .projects-grid,
    .impact-band,
    .process-layout,
    .process-steps,
    .testimonial-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .service-card,
    .service-card:nth-child(3n) {
        border-bottom: 1px solid var(--border);
        border-right: 0;
    }

    .service-card:last-child {
        border-bottom: 0;
    }

    .impact-band {
        padding: 26px 22px;
    }

    .contact-container {
        gap: 26px;
        padding: 24px 18px;
    }

    .contact-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-action {
        justify-content: center;
        min-height: 48px;
        width: 100%;
    }

    .impact-stat {
        text-align: left;
    }

    .footer-container div {
        flex-wrap: wrap;
    }

    .whatsapp-float {
        bottom: 84px;
        font-size: 1.55rem;
        height: 52px;
        right: 18px;
        width: 52px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 420px) {
    :root {
        --navbar-height: 68px;
    }

    .container {
        padding: 0 14px;
    }

    .nav-menu {
        width: 100vw;
    }

    .hero-title {
        font-size: clamp(2.1rem, 10.8vw, 2.55rem);
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
        padding: 0 2px;
    }

    .hero-image {
        min-height: 340px;
        max-width: 330px;
    }

    .hero-arch {
        height: 292px;
        width: min(330px, 94%);
    }

    .hero-image::after {
        bottom: 78px;
        height: 70px;
        left: -12px;
        width: 100px;
    }

    .dot-field {
        height: 90px;
        right: -42px;
        top: 112px;
        width: 140px;
    }

    .availability-badge {
        bottom: 36px;
        height: 84px;
        right: 0;
        width: 84px;
    }

    .service-card {
        min-height: 190px;
        padding: 22px 18px 18px;
    }

    .skill-bars div {
        grid-template-columns: 70px 1fr;
    }
}
