:root {
    --ink: #11212b;
    --muted: #5d6d79;
    --line: #dce5ea;
    --surface: #ffffff;
    --bg: #f5f7f8;
    --teal: #0f766e;
    --teal-dark: #0a5f59;
    --teal-soft: #e3f3ef;
    --amber: #9a5b00;
    --dark: #071820;
    --dark-2: #0f2a34;
    --shadow: 0 24px 70px rgba(17, 33, 43, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

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

.site-header {
    align-items: center;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    left: 0;
    min-height: 76px;
    padding: 12px clamp(20px, 5vw, 80px);
    position: fixed;
    right: 0;
    top: 0;
    z-index: 20;
}

.brand {
    display: grid;
    gap: 2px;
}

.brand span {
    font-size: 25px;
    font-weight: 900;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
}

.site-header nav {
    align-items: center;
    display: flex;
    gap: 22px;
    font-size: 14px;
    font-weight: 800;
}

.login-link {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 11px 14px;
}

.hero {
    align-items: center;
    background-image: url("gesta-vet-hero.png");
    background-position: center right;
    background-size: cover;
    display: grid;
    min-height: 760px;
    padding: 150px clamp(20px, 5vw, 80px) 82px;
    position: relative;
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(7, 24, 32, 0.98), rgba(7, 24, 32, 0.92) 44%, rgba(7, 24, 32, 0.64) 70%, rgba(7, 24, 32, 0.26)),
        linear-gradient(0deg, rgba(7, 24, 32, 0.42), rgba(7, 24, 32, 0.08));
    inset: 0;
    position: absolute;
}

.hero-content {
    color: #ffffff;
    max-width: 660px;
    position: relative;
    z-index: 1;
}

.eyebrow {
    color: var(--amber);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.hero .eyebrow,
.dark-band .eyebrow {
    color: #ffd992;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(54px, 7vw, 96px);
    line-height: 0.96;
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(32px, 4.2vw, 52px);
    line-height: 1.06;
    margin-bottom: 16px;
}

h3 {
    font-size: 22px;
    line-height: 1.18;
    margin-bottom: 10px;
}

p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.58;
}

.hero-copy {
    color: #edf6f7;
    font-size: clamp(19px, 2vw, 24px);
    max-width: 620px;
}

.hero-actions,
.site-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
}

.button.primary {
    background: var(--teal);
    color: #ffffff;
}

.button.primary:hover {
    background: var(--teal-dark);
}

.button.secondary {
    background: #ffffff;
    color: var(--ink);
}

.button.outline {
    border: 1px solid var(--line);
}

.section {
    padding: 82px clamp(20px, 5vw, 80px);
}

.system-preview {
    background: #ffffff;
    padding-top: 68px;
}

.screenshot-frame {
    background: #eef3f5;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin: 34px 0 0;
    overflow: hidden;
    padding: 12px;
}

.screenshot-frame::before {
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    content: "";
    display: block;
    height: 34px;
    margin: -12px -12px 12px;
}

.screenshot-frame img {
    display: block;
    height: auto;
    width: 100%;
}

.screen-section {
    background: #f8fafb;
}

.screen-gallery {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
}

.screen-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 278px;
    overflow: hidden;
}

.screen-thumb {
    background: #eef3f5;
    border: 0;
    cursor: zoom-in;
    display: block;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100%;
}

.screen-thumb img {
    aspect-ratio: 16 / 9;
    background: #eef3f5;
    border-bottom: 1px solid var(--line);
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease, filter 180ms ease;
    width: 100%;
}

.screen-thumb span {
    align-items: center;
    background: rgba(7, 24, 32, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    gap: 8px;
    left: 50%;
    min-height: 42px;
    opacity: 0;
    padding: 0 18px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.94);
    transition: opacity 180ms ease, transform 180ms ease;
}

.screen-thumb span::before {
    content: "+";
    font-size: 22px;
    line-height: 1;
}

.screen-thumb:hover img,
.screen-thumb:focus-visible img {
    filter: brightness(0.78);
    transform: scale(1.04);
}

.screen-thumb:hover span,
.screen-thumb:focus-visible span {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.screen-card div {
    padding: 14px;
}

.screen-card > div > span {
    background: var(--teal-soft);
    border-radius: 999px;
    color: var(--teal-dark);
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 10px;
    padding: 6px 9px;
    text-transform: uppercase;
}

.screen-card h3 {
    margin-bottom: 0;
    font-size: 18px;
}

.featured-screen {
    border-color: var(--teal);
    box-shadow: var(--shadow);
}

.screen-lightbox {
    align-items: center;
    background: rgba(7, 24, 32, 0.86);
    display: none;
    inset: 0;
    justify-content: center;
    padding: clamp(16px, 4vw, 54px);
    position: fixed;
    z-index: 80;
}

.screen-lightbox[aria-hidden="false"] {
    display: flex;
}

.screen-lightbox figure {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
    margin: 0;
    max-height: 88vh;
    max-width: min(1180px, 94vw);
    overflow: hidden;
    width: 100%;
}

.screen-lightbox img {
    background: #eef3f5;
    display: block;
    max-height: calc(88vh - 58px);
    object-fit: contain;
    width: 100%;
}

.screen-lightbox figcaption {
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: 17px;
    font-weight: 900;
    padding: 16px 20px;
}

.lightbox-close {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    cursor: pointer;
    font-weight: 900;
    min-height: 44px;
    padding: 0 16px;
    position: fixed;
    right: clamp(16px, 4vw, 46px);
    top: clamp(16px, 4vw, 34px);
    z-index: 81;
}

.lightbox-open {
    overflow: hidden;
}

.intro {
    align-items: start;
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
}

.intro-copy p {
    font-size: 20px;
}

.proof-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
}

.proof-grid span {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 800;
    padding: 14px 16px;
}

.section-title {
    max-width: 900px;
}

.module-section {
    background: #ffffff;
}

.module-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 36px;
}

.module-card,
.plan-card,
.addon-card,
.contact form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
}

.module-card {
    min-height: 230px;
}

.module-card span,
.plan-card span,
.addon-card span {
    background: var(--teal-soft);
    border-radius: 999px;
    color: var(--teal-dark);
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 34px;
    padding: 7px 10px;
    text-transform: uppercase;
}

.module-card.required {
    background: #f8fbfb;
    border-color: var(--teal);
}

.add-ons {
    background: #ffffff;
}

.addon-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
}

.addon-card {
    min-height: 240px;
}

.addon-card strong {
    display: block;
    font-size: 34px;
    margin: 10px 0 18px;
}

.addon-card.highlight {
    border-color: var(--amber);
    box-shadow: 0 24px 70px rgba(154, 91, 0, 0.13);
}

.addon-card.highlight span {
    background: #fff2d7;
    color: var(--amber);
}

.dark-band {
    background: var(--dark);
    color: #ffffff;
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.dark-band p {
    color: #c8d7dc;
}

.dark-list {
    display: grid;
    gap: 14px;
}

.dark-list div {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    padding: 20px;
}

.dark-list strong,
.dark-list span {
    display: block;
}

.dark-list span {
    color: #c8d7dc;
    margin-top: 6px;
}

.plans {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 36px;
}

.plan-card {
    box-shadow: none;
}

.plan-card strong {
    display: block;
    font-size: 30px;
    margin: 20px 0;
}

.plan-card ul {
    color: var(--muted);
    line-height: 1.9;
    margin: 0;
    padding-left: 20px;
}

.plan-card.featured {
    border-color: var(--teal);
    box-shadow: var(--shadow);
}

.contact {
    align-items: start;
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.7fr);
}

form {
    display: grid;
    gap: 14px;
}

label {
    color: var(--ink);
    display: grid;
    font-size: 14px;
    font-weight: 900;
    gap: 7px;
}

input,
textarea {
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font: inherit;
    min-height: 46px;
    padding: 11px 12px;
    width: 100%;
}

textarea {
    min-height: 118px;
    resize: vertical;
}

.site-footer {
    align-items: center;
    background: var(--ink);
    color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    padding: 30px clamp(20px, 5vw, 80px);
}

.site-footer span,
.site-footer a {
    color: #c8d7dc;
}

@media (max-width: 1160px) {
    .module-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .addon-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .site-header {
        align-items: flex-start;
        display: grid;
        gap: 12px;
        position: static;
    }

    .site-header nav {
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero {
        min-height: 780px;
        padding-top: 70px;
    }

    .hero-shade {
        background: rgba(7, 24, 32, 0.78);
    }

    .intro,
    .dark-band,
    .contact {
        grid-template-columns: 1fr;
    }

    .module-grid,
    .screen-gallery,
    .plans,
    .addon-grid,
    .proof-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .site-header nav a {
        width: 100%;
    }

    .login-link,
    .button {
        width: 100%;
    }

    .section {
        padding-bottom: 58px;
        padding-top: 58px;
    }
}
