/* Landing SEO /software-dental.html — alinea con sistema MAC (Outfit / primary) */

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter-latin-500-normal.woff2') format('woff2');
}
@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-latin-600-normal.woff2') format('woff2');
}
@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter-latin-700-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Material Icons Round';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('../fonts/material-icons-round.woff2') format('woff2');
}

.material-icons-round {
    font-family: 'Material Icons Round';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
}

:root {
    --sd-primary: #008ACA;
    --sd-primary-deep: #005cbf;
    --sd-ink: #0f172a;
    --sd-muted: #475569;
    --sd-soft: #f1f5f9;
    --sd-white: #ffffff;
    --sd-radius: 14px;
    --sd-font-display: Inter, system-ui, sans-serif;
    --sd-font-body: Inter, system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body.sd-page {
    font-family: var(--sd-font-body);
    color: var(--sd-muted);
    background: var(--sd-white);
    min-height: 100vh;
    line-height: 1.55;
}

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

.sd-container {
    width: min(1120px, calc(100% - 2.5rem));
    margin-inline: auto;
}

/* —— Nav —— */
.sd-nav {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 20;
    padding: 1.1rem 0;
}

.sd-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sd-nav-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.sd-nav-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sd-nav-ghost {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.sd-nav-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
}

.sd-nav-cta {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--sd-primary-deep);
    background: var(--sd-white);
    padding: 0.55rem 1rem;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sd-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

/* —— Hero (full-bleed) —— */
.sd-hero {
    position: relative;
    min-height: min(100vh, 860px);
    display: grid;
    align-items: end;
    padding: 7.5rem 0 3.5rem;
    color: var(--sd-white);
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(0, 60, 110, 0.88) 0%, rgba(0, 138, 202, 0.72) 48%, rgba(0, 90, 150, 0.55) 100%),
        url('../assets/img/dashboard_preview.png') center / cover no-repeat;
}

.sd-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 28%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.35), transparent);
    pointer-events: none;
}

.sd-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    animation: sd-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.sd-brand-mark {
    display: block;
    width: min(280px, 72vw);
    height: auto;
    margin-bottom: 1.35rem;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.28));
    animation: sd-pulse 4.5s ease-in-out infinite;
}

.sd-hero h1 {
    font-family: var(--sd-font-display);
    font-size: clamp(1.85rem, 4.2vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--sd-white);
    margin-bottom: 0.85rem;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.sd-hero-lead {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: rgba(255, 255, 255, 0.92);
    max-width: 34rem;
    margin-bottom: 1.6rem;
}

.sd-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.sd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-family: var(--sd-font-body);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sd-btn-primary {
    background: var(--sd-white);
    color: var(--sd-primary-deep);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.sd-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.sd-btn-secondary {
    background: transparent;
    color: var(--sd-white);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.sd-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

/* —— Sections —— */
.sd-section {
    padding: 4.25rem 0;
}

.sd-section-alt {
    background: var(--sd-soft);
}

.sd-section h2 {
    font-family: var(--sd-font-display);
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    color: var(--sd-ink);
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.sd-section-lead {
    max-width: 40rem;
    margin-bottom: 1.75rem;
    font-size: 1.05rem;
}

.sd-feature-list {
    list-style: none;
    display: grid;
    gap: 0.85rem;
    max-width: 40rem;
}

.sd-feature-list li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    color: var(--sd-ink);
    font-weight: 500;
}

.sd-feature-list .material-icons-round {
    color: var(--sd-primary);
    font-size: 1.35rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.sd-price-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.sd-price-chip {
    flex: 1 1 220px;
    background: var(--sd-white);
    border: 1px solid #e2e8f0;
    border-radius: var(--sd-radius);
    padding: 1.15rem 1.25rem;
}

.sd-price-chip strong {
    display: block;
    font-family: var(--sd-font-display);
    font-size: 1.55rem;
    color: var(--sd-ink);
    margin: 0.2rem 0 0.35rem;
}

.sd-price-chip span {
    font-size: 0.85rem;
    color: var(--sd-muted);
}

.sd-price-chip em {
    font-style: normal;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--sd-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sd-migrate {
    max-width: 40rem;
}

.sd-migrate p {
    margin-bottom: 1.25rem;
}

.sd-final {
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(0, 138, 202, 0.14), transparent 60%),
        var(--sd-white);
}

.sd-final .sd-cta-row {
    justify-content: center;
}

.sd-final .sd-btn-primary {
    background: var(--sd-primary);
    color: var(--sd-white);
}

.sd-final .sd-btn-secondary {
    color: var(--sd-ink);
    border-color: #cbd5e1;
}

.sd-final .sd-btn-secondary:hover {
    background: var(--sd-soft);
}

/* —— Footer —— */
.sd-footer {
    padding: 2.5rem 0 2rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.9rem;
}

.sd-footer-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1.4fr 1fr 1fr;
}

.sd-footer h4 {
    font-family: var(--sd-font-display);
    color: var(--sd-ink);
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
}

.sd-footer ul {
    list-style: none;
    display: grid;
    gap: 0.4rem;
}

.sd-footer a:hover { color: var(--sd-primary); }

.sd-footer-brand img {
    height: 34px;
    width: auto;
    margin-bottom: 0.65rem;
}

.sd-footer-bottom {
    margin-top: 1.75rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    color: #94a3b8;
    font-size: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

@keyframes sd-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes sd-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.sd-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.sd-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 780px) {
    .sd-nav-ghost { display: none; }
    .sd-hero {
        min-height: 78vh;
        padding: 6.5rem 0 2.75rem;
        align-items: center;
        background-position: 65% center;
    }
    .sd-footer-grid {
        grid-template-columns: 1fr;
    }
}
