/* Base */
:root {
    --color-ink: #111827;
    --color-muted: #667085;
    --color-soft: #98a2b3;
    --color-line: #e4e7ec;
    --color-panel: #ffffff;
    --color-page: #f6f8fb;
    --color-page-alt: #eef6f4;
    --color-brand: #0f766e;
    --color-brand-dark: #115e59;
    --color-accent: #f59e0b;
    --color-success: #16a34a;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
    --shadow-md: 0 12px 28px rgba(16, 24, 40, 0.10);
    --shadow-lg: 0 24px 70px rgba(17, 24, 39, 0.16);
    --radius: 8px;
    --header-height: 76px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--color-ink);
    background: var(--color-page);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* Animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-24px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid rgba(228, 231, 236, 0.82);
    backdrop-filter: blur(18px);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    width: min(1180px, calc(100% - 40px));
    min-height: var(--header-height);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo,
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.16);
}

.nav-logo h2,
.footer-logo h3 {
    color: var(--color-ink);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 6px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-sm);
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    color: #344054;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--color-brand-dark);
    background: #ecfdf5;
}

.nav-link::after {
    display: none;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
    cursor: pointer;
}

.bar {
    width: 20px;
    height: 2px;
    background: var(--color-ink);
    border-radius: 99px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 90px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(245, 158, 11, 0.18), transparent 30%),
        radial-gradient(circle at 86% 18%, rgba(15, 118, 110, 0.18), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f4fbf9 56%, #f6f8fb 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 92px auto auto 50%;
    width: min(560px, 45vw);
    aspect-ratio: 1;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 999px;
    transform: translateX(-4%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    gap: clamp(36px, 6vw, 76px);
    align-items: center;
}

.hero-text::before {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    margin-bottom: 22px;
    color: var(--color-brand-dark);
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-title {
    max-width: 720px;
    color: var(--color-ink);
    font-size: clamp(2.6rem, 6vw, 4.9rem);
    font-weight: 850;
    line-height: 0.98;
    letter-spacing: 0;
    margin-bottom: 24px;
    animation: fadeInLeft 0.8s ease both;
}

.hero-subtitle {
    max-width: 620px;
    color: #475467;
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    line-height: 1.8;
    margin-bottom: 32px;
    animation: fadeInLeft 0.8s ease 0.12s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    animation: fadeInLeft 0.8s ease 0.2s both;
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInRight 0.8s ease 0.18s both;
}

/* Product mockup */
.mockup-container {
    position: relative;
    width: min(440px, 100%);
    animation: float 5s ease-in-out infinite;
}

.mockup-container::before {
    content: '';
    position: absolute;
    inset: auto 34px -28px;
    height: 34px;
    background: rgba(17, 24, 39, 0.14);
    filter: blur(18px);
    border-radius: 999px;
}

.mockup-screen {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1.34;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.10);
    border-radius: var(--radius);
    background: #111827;
    box-shadow: var(--shadow-lg);
}

.mockup-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.10), transparent);
    pointer-events: none;
}

.mockup-header {
    height: 44px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 16px;
    background: #0b1220;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-header::before,
.mockup-header::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 18px 0 0 #10b981, 36px 0 0 #2dd4bf;
}

.mockup-header::after {
    display: none;
}

.mockup-content {
    padding: 26px;
    min-height: calc(100% - 44px);
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.26), transparent 38%),
        linear-gradient(180deg, #172033 0%, #101828 100%);
}

.mockup-line {
    height: 12px;
    width: 84%;
    margin-bottom: 12px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.72);
}

.mockup-line.short {
    width: 46%;
    background: rgba(45, 212, 191, 0.82);
}

.mockup-line.medium {
    width: 64%;
    background: rgba(255, 255, 255, 0.35);
}

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 30px;
}

.mockup-card {
    min-height: 82px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: var(--color-ink);
    background: #fff;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--color-brand) 0%, #0d9488 100%);
    border-color: transparent;
}

.btn-secondary,
.btn-whatsapp,
.btn-whatsapp-primary {
    color: #fff !important;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%) !important;
    border-color: transparent !important;
    border-radius: var(--radius) !important;
    box-shadow: 0 16px 34px rgba(34, 197, 94, 0.24) !important;
}

.btn-outline {
    color: var(--color-brand-dark);
    background: #fff;
    border-color: #a7f3d0;
}

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

.btn-full {
    width: 100%;
}

/* Sections */
section {
    position: relative;
}

.section-header {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-title {
    color: var(--color-ink);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: 0;
    margin-bottom: 14px;
}

.section-subtitle {
    max-width: 640px;
    margin: 0 auto;
    color: var(--color-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.about-novadev,
.solutions,
.packages,
.custom-systems,
.process,
.testimonials,
.contact {
    padding: 96px 0;
}

.about-novadev,
.process,
.custom-systems {
    background: #ffffff;
}

.solutions {
    background: #f7fbfa;
}

.packages {
    background:
        linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
}

.testimonials {
    background: #f7fbfa;
}

.contact {
    background:
        linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

/* About */
.about-novadev-content {
    max-width: 1060px;
    margin: 0 auto;
}

.about-novadev .section-header {
    margin-left: 0 !important;
    text-align: left !important;
}

.about-novadev .section-subtitle {
    margin-left: 0;
    text-align: left !important;
}

.about-description {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}

.about-description p {
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.85;
}

.about-description strong {
    color: var(--color-brand-dark);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.value-item,
.solution-card,
.package-card,
.process-step,
.testimonial-card,
.contact-form,
.contact-item {
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-panel);
    box-shadow: var(--shadow-sm);
}

.value-item {
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.value-item:hover,
.process-step:hover,
.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: #99f6e4;
    box-shadow: var(--shadow-md);
}

.value-icon,
.solution-icon,
.step-icon,
.author-avatar,
.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--color-brand) 0%, #14b8a6 100%);
    border-radius: var(--radius);
}

.value-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    font-size: 1.2rem;
}

.value-item h3 {
    color: var(--color-ink);
    font-size: 1.08rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.value-item p {
    color: var(--color-muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

/* Solutions */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.solution-card {
    min-height: 100%;
    padding: 26px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.solution-card:hover {
    transform: translateY(-4px);
    border-color: #99f6e4;
    box-shadow: var(--shadow-md);
}

.solution-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
    font-size: 1.12rem;
}

.solution-card h3 {
    color: var(--color-ink);
    font-size: 1.08rem;
    font-weight: 850;
    margin-bottom: 9px;
}

.solution-card p {
    color: var(--color-muted);
    font-size: 0.94rem;
    line-height: 1.68;
}

/* Packages */
.package-note {
    max-width: 720px !important;
    padding: 14px 16px !important;
    margin-top: 24px !important;
    border: 1px solid #fed7aa !important;
    border-radius: var(--radius) !important;
    background: #fffbeb !important;
}

.package-note p {
    color: #92400e !important;
}

.package-note i {
    color: var(--color-accent) !important;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 38px;
    align-items: stretch;
}

.package-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 28px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.package-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--color-brand), #14b8a6, var(--color-accent));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.package-card:hover {
    transform: translateY(-6px);
    border-color: #99f6e4;
    box-shadow: var(--shadow-md);
}

.package-card:hover::before,
.package-card.featured::before {
    opacity: 1;
}

.package-card.featured {
    border-color: #14b8a6;
    box-shadow: 0 18px 44px rgba(15, 118, 110, 0.16);
    transform: translateY(-10px);
}

.package-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 7px 10px;
    color: #064e3b;
    background: #ccfbf1;
    border: 1px solid #99f6e4;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.package-header {
    margin-bottom: 22px;
    padding-right: 14px;
}

.package-name {
    color: var(--color-ink);
    font-size: 1.32rem;
    font-weight: 850;
    margin-bottom: 14px;
}

.package-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 5px;
}

.price-label {
    display: block;
    flex: 0 0 100%;
    margin-bottom: 4px;
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.currency {
    color: var(--color-muted);
    font-size: 1rem;
    font-weight: 800;
}

.amount {
    color: var(--color-ink);
    font-size: clamp(2.3rem, 4vw, 3.1rem);
    font-weight: 900;
    line-height: 1;
}

.package-features {
    flex: 1;
}

.package-features ul {
    list-style: none;
    margin: 0 0 26px;
}

.package-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #475467;
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 12px;
}

.package-features i {
    width: 19px;
    height: 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    color: var(--color-success);
    background: #dcfce7;
    border-radius: 50%;
    font-size: 0.68rem;
}

.packages-footer {
    margin-top: 34px !important;
    padding-top: 24px !important;
    border-top: 1px solid var(--color-line) !important;
}

.packages-footer p {
    color: var(--color-muted) !important;
}

.custom-project-note {
    max-width: 900px;
    margin: 34px auto 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: flex-start;
    padding: 24px;
    border: 1px solid #99f6e4;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
    box-shadow: var(--shadow-sm);
}

.custom-project-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--color-brand) 0%, #14b8a6 100%);
    border-radius: var(--radius);
    font-size: 1.15rem;
}

.custom-project-note h3 {
    color: var(--color-ink);
    font-size: 1.18rem;
    font-weight: 850;
    margin-bottom: 8px;
}

.custom-project-note p {
    color: var(--color-muted);
    font-size: 0.96rem;
    line-height: 1.75;
}

/* Custom systems */
.systems-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: stretch;
}

.systems-highlight {
    padding: 32px;
    border: 1px solid #134e4a;
    border-radius: var(--radius);
    color: #fff;
    background:
        linear-gradient(135deg, rgba(245, 158, 11, 0.18), transparent 42%),
        linear-gradient(135deg, #0f766e 0%, #101828 100%);
    box-shadow: var(--shadow-md);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    margin-bottom: 18px;
    color: #ccfbf1;
    border: 1px solid rgba(204, 251, 241, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.systems-highlight h3 {
    max-width: 520px;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    font-weight: 850;
    line-height: 1.12;
    margin-bottom: 16px;
}

.systems-highlight p {
    max-width: 560px;
    color: #d1fae5;
    line-height: 1.75;
    margin-bottom: 24px;
}

.systems-highlight .btn {
    box-shadow: none;
}

.systems-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.system-item {
    min-height: 92px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    color: #344054;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    font-size: 0.95rem;
    font-weight: 750;
    line-height: 1.45;
}

.system-item i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-brand-dark);
    background: #ccfbf1;
    border-radius: var(--radius);
}

.system-item h4 {
    color: var(--color-ink);
    font-size: 0.98rem;
    font-weight: 850;
    line-height: 1.25;
    margin-bottom: 6px;
}

.system-item p {
    color: var(--color-muted);
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.55;
}

/* Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    counter-reset: step;
}

.process-step {
    position: relative;
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.step-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    font-size: 1.15rem;
}

.step-title {
    color: var(--color-ink);
    font-size: 1.05rem;
    font-weight: 850;
    margin-bottom: 10px;
}

.step-description {
    color: var(--color-muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.testimonial-card {
    padding: 26px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-content p {
    color: #344054;
    font-size: 1rem;
    line-height: 1.75;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--color-line);
}

.author-avatar {
    width: 42px;
    height: 42px;
    font-size: 0.92rem;
}

.author-info h4 {
    color: var(--color-ink);
    font-size: 0.98rem;
    font-weight: 850;
}

.author-info span {
    color: var(--color-muted);
    font-size: 0.85rem;
}

/* Contact */
.contact-trust {
    max-width: 840px;
    margin: 0 auto 34px !important;
    padding: 16px 20px !important;
    border: 1px solid #bbf7d0 !important;
    border-radius: var(--radius) !important;
    background: #f0fdf4 !important;
}

.contact-trust span {
    color: #14532d !important;
}

.contact-content {
    display: block;
    max-width: 720px;
    margin: 0 auto;
}

.whatsapp-primary {
    margin-bottom: 28px !important;
}

.whatsapp-primary .btn {
    min-height: 58px;
    padding: 0 26px !important;
    font-size: 1.05rem !important;
}

.whatsapp-primary p {
    color: var(--color-muted) !important;
}

.contact-form-secondary {
    max-width: 560px !important;
}

.contact-form {
    padding: 28px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    min-height: 50px;
    padding: 13px 14px;
    border: 1px solid #d0d5dd;
    border-radius: var(--radius);
    color: var(--color-ink);
    background: #fff;
    font: inherit;
    font-size: 0.96rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-soft);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-brand);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.13);
}

.contact-info {
    display: block !important;
    margin-top: 34px !important;
    padding-top: 24px !important;
    border-top: 1px solid var(--color-line) !important;
}

.contact-info > div {
    gap: 14px !important;
}

.contact-item {
    min-height: 72px;
    padding: 14px 16px !important;
    text-align: left;
}

.contact-icon {
    width: 42px;
    height: 42px;
    color: #fff !important;
    font-size: 0.98rem;
}

.contact-details p {
    color: #344054 !important;
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

/* Footer */
.footer {
    padding: 54px 0 24px;
    color: #d0d5dd;
    background: #101828;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) 1fr 1fr;
    gap: 40px;
    margin-bottom: 34px;
}

.footer-logo {
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo .logo-img {
    width: 48px;
    height: 48px;
}

.footer-logo h3,
.footer-links h4,
.footer-social h4 {
    color: #fff;
    margin-bottom: 12px;
}

.footer-logo p,
.footer-links a,
.footer-bottom {
    color: #98a2b3;
}

.footer-logo p {
    max-width: 430px;
    line-height: 1.75;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #5eead4;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    background: var(--color-brand);
    border-color: var(--color-brand);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    text-align: center;
    font-size: 0.9rem;
}

/* Legacy/support selectors */
.portfolio,
.about {
    padding: 96px 0;
    background: #fff;
}

.loading {
    opacity: 0.7;
    pointer-events: none;
}

.hover-lift {
    transition: transform 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
}

.btn:focus,
input:focus,
textarea:focus,
.nav-link:focus,
.nav-toggle:focus {
    outline: 2px solid rgba(20, 184, 166, 0.5);
    outline-offset: 3px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text {
        max-width: 820px;
    }

    .hero-image {
        justify-content: flex-start;
    }

    .solutions-grid,
    .packages-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .package-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 68px;
    }

    .container,
    .nav-container {
        width: min(100% - 30px, 1180px);
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 15px;
        right: 15px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 10px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--color-line);
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        left: 15px;
    }

    .nav-link {
        justify-content: center;
        min-height: 46px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        min-height: auto;
        padding: 112px 0 70px;
    }

    .hero::before {
        display: none;
    }

    .hero-content,
    .hero-text,
    .section-header,
    .about-novadev .section-header,
    .about-novadev .section-subtitle {
        text-align: center !important;
    }

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

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

    .about-novadev,
    .solutions,
    .packages,
    .custom-systems,
    .process,
    .testimonials,
    .contact {
        padding: 72px 0;
    }

    .about-description,
    .about-values,
    .solutions-grid,
    .packages-grid,
    .systems-layout,
    .systems-list,
    .process-steps,
    .testimonials-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .about-description {
        gap: 16px;
    }

    .solution-card,
    .package-card,
    .process-step,
    .testimonial-card,
    .contact-form {
        padding: 22px;
    }

    .contact-trust > div,
    .contact-info > div {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-item {
        justify-content: flex-start !important;
    }

    .custom-project-note {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .custom-project-icon {
        margin: 0 auto;
    }

    .systems-highlight {
        padding: 26px;
        text-align: center;
    }

    .footer-content,
    .footer-logo {
        text-align: center;
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container,
    .nav-container {
        width: min(100% - 24px, 1180px);
    }

    .nav-logo h2 {
        font-size: 1.12rem;
    }

    .logo-img {
        width: 38px;
        height: 38px;
    }

    .hero-title {
        font-size: 2.35rem;
    }

    .hero-buttons .btn,
    .whatsapp-primary .btn {
        width: 100%;
    }

    .mockup-grid {
        gap: 8px;
    }

    .mockup-content {
        padding: 20px;
    }

    .mockup-card {
        min-height: 58px;
    }

    .section-header {
        margin-bottom: 34px;
    }

    .amount {
        font-size: 2.55rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    .header,
    .footer,
    .btn {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
        background: #fff;
        color: #000;
    }
}
