:root {
  color-scheme: light;
  --ink: #122b34;
  --muted: #50646b;
  --deep: #0b222b;
  --teal: #a5e1d3;
  --mint: #d9f4e7;
  --cream: #f7f7f2;
  --line: #dce5e2;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; color: var(--ink); background: #fff; font: 400 1rem/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
section[id] { scroll-margin-top: 5.5rem; }
:focus-visible { outline: 3px solid #1b9786; outline-offset: 4px; }
::selection { background: var(--teal); color: var(--deep); }
.layout-wrap { width: min(100% - 3rem, 1180px); margin-inline: auto; }
.skip-to-main { position: absolute; z-index: 30; top: -5rem; left: 1rem; padding: .6rem 1rem; background: #fff; color: var(--ink); }
.skip-to-main:focus { top: 1rem; }
.eyebrow { margin: 0 0 1rem; color: #267467; font-size: .75rem; font-weight: 800; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.045em; }
h2 { font-size: clamp(2.25rem, 4vw, 4rem); }

.site-header { position: relative; z-index: 10; background: #fff; border-bottom: 1px solid #edf1ed; }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand-mark { display: inline-flex; align-items: center; gap: .75rem; color: var(--deep); text-decoration: none; white-space: nowrap; }
.brand-symbol { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: .65rem; background: var(--deep); color: #fff; font-size: 1.4rem; font-weight: 800; letter-spacing: -.16em; padding-right: .2rem; }
.brand-symbol span { color: var(--teal); }
.brand-name { font-size: 1.05rem; font-weight: 800; line-height: 1.2; letter-spacing: -.025em; }
.brand-name small { display: block; color: #687c7c; font-size: .63rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-top: .25rem; }
.main-navigation { display: flex; align-items: center; justify-content: flex-end; gap: clamp(1rem, 2.4vw, 2.4rem); font-size: .87rem; font-weight: 700; }
.main-navigation a { text-decoration: none; transition: color .2s ease; }
.main-navigation a:hover { color: #217969; }
.main-navigation .nav-contact { padding: .67rem 1rem; border: 1px solid var(--line); border-radius: .4rem; }
.nav-contact span { margin-left: .55rem; }

.hero-section { position: relative; overflow: hidden; isolation: isolate; min-height: 650px; display: flex; align-items: center; color: #fff; background: #0c2731 url('/files/bg.jpg') center 45% / cover no-repeat; }
.hero-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 25, 32, .93) 0%, rgba(8, 29, 35, .8) 42%, rgba(10, 33, 38, .24) 100%), linear-gradient(0deg, rgba(7, 28, 33, .55), transparent 45%); }
.hero-content { padding-block: 6.5rem 5rem; }
.hero-eyebrow { color: var(--teal); }
.hero-section h1 { max-width: 1000px; margin-bottom: 1.5rem; font-size: clamp(3.5rem, 7vw, 6.5rem); font-weight: 750; letter-spacing: -.07em; }
.hero-section h1 em { color: var(--teal); font-style: normal; }
.hero-lead { max-width: 580px; margin-bottom: 2rem; color: #d9e5e2; font-size: clamp(1.04rem, 1.55vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.3rem; min-height: 3.25rem; padding: .75rem 1.35rem; border-radius: .35rem; font-size: .9rem; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--teal); color: var(--deep); }
.button-primary:hover { background: #c7f0e5; }
.button-outline { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.button-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.hero-caption { display: flex; align-items: center; gap: .8rem; margin-top: 5rem; color: #d1e4dd; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-caption > span:not(.caption-line) { opacity: .5; }
.caption-line { display: inline-block; width: 2rem; height: 1px; background: var(--teal); }

.intro-strip { background: var(--deep); color: #fff; }
.intro-grid { display: grid; grid-template-columns: 2.25fr repeat(3, 1fr); align-items: center; gap: 1.5rem; padding-block: 1.75rem; }
.intro-grid p { max-width: 360px; margin: 0; color: #c2d8d1; font-size: .92rem; }
.intro-grid div { display: flex; align-items: baseline; gap: .6rem; padding-left: 1rem; border-left: 1px solid #395059; }
.intro-grid strong { color: var(--teal); font-size: .75rem; }
.intro-grid span { font-size: .92rem; font-weight: 750; }

.section-block { padding-block: clamp(5rem, 9vw, 8rem); }
.services-section { background: var(--cream); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.25rem; }
.section-heading h2 { margin: 0; }
.section-heading > p { max-width: 330px; margin-bottom: .35rem; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.service-card { display: flex; flex-direction: column; min-height: 430px; padding: 1.5rem; background: #fff; border: 1px solid #e7ece7; border-radius: .5rem; box-shadow: 0 15px 40px rgba(18,43,52,.035); }
.card-top { display: flex; align-items: start; justify-content: space-between; margin-bottom: 3.25rem; }
.card-number { color: #6b8281; font-size: .7rem; font-weight: 750; letter-spacing: .1em; }
.card-icon { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: .45rem; background: #e7f5ef; color: #218673; font-size: 1.6rem; line-height: 1; }
.service-card h3 { min-height: 3.2em; margin-bottom: .75rem; font-size: 1.35rem; }
.service-card p { color: var(--muted); font-size: .89rem; }
.service-card ul { margin: auto 0 0; padding: 1.2rem 0 0 1.1rem; border-top: 1px solid var(--line); color: #3c5559; font-size: .8rem; }
.service-card li + li { margin-top: .4rem; }
.service-card li::marker { color: #42a490; }
.service-card > a { margin-top: 1.1rem; color: #1b7666; font-size: .82rem; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: .22rem; }

.software-section { background: #e6f2e9; }
.software-grid { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.software-grid h2 { max-width: 600px; margin-bottom: 1.5rem; }
.software-grid > div:first-child > p:not(.eyebrow) { max-width: 520px; margin-bottom: 1.75rem; color: #435e5b; font-size: 1.05rem; }
.button-dark { background: var(--deep); color: #fff; }
.button-dark:hover { background: #234650; }
.software-panel { position: relative; overflow: hidden; min-height: 400px; padding: 2.2rem; background: var(--deep); border-radius: .55rem; color: #fff; box-shadow: 20px 20px 0 rgba(25,77,69,.1); }
.software-panel::after { content: ""; position: absolute; width: 280px; height: 280px; right: -110px; top: -110px; border: 1px solid #638d81; border-radius: 50%; box-shadow: 0 0 0 58px rgba(165,225,211,.05), 0 0 0 118px rgba(165,225,211,.04); }
.panel-kicker { color: var(--teal); font-size: .7rem; font-weight: 850; letter-spacing: .2em; }
.road-symbol { position: relative; display: flex; justify-content: center; gap: 1rem; width: 130px; height: 130px; margin: 2.7rem auto 2rem; border: 2px solid #a5e1d3; border-radius: 50%; transform: rotate(-20deg); }
.road-symbol span { display: block; width: 3px; height: 78px; margin-top: 24px; background: var(--teal); border-radius: 2px; }
.road-symbol span:nth-child(2) { height: 50px; margin-top: 38px; background: repeating-linear-gradient(to bottom, var(--teal) 0 10px, transparent 10px 17px); }
.software-panel h3 { margin-bottom: .5rem; font-size: 2rem; }
.software-panel p { max-width: 330px; margin: 0; color: #c3d9d2; font-size: .88rem; }

.about-section { background: #fff; }
.about-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.portrait-frame { position: relative; width: min(100%, 420px); padding: 1rem 1rem 0; background: #e9f0ec; border-radius: .5rem; }
.portrait-frame::before { content: ""; position: absolute; left: -1.1rem; bottom: 3rem; width: 4rem; height: 4rem; border-left: 3px solid #79bbaa; border-bottom: 3px solid #79bbaa; }
.portrait-frame img { width: 100%; height: auto; aspect-ratio: 4 / 4.25; object-fit: cover; object-position: center top; border-radius: .35rem .35rem 0 0; }
.portrait-frame span { display: block; padding: .8rem .2rem; color: #42615e; font-size: .8rem; font-weight: 700; }
.about-copy h2 { max-width: 680px; margin-bottom: 1.3rem; }
.about-copy > p:not(.eyebrow) { max-width: 620px; margin-bottom: 2rem; color: var(--muted); font-size: 1.05rem; }
.about-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.about-details h3 { margin-bottom: .7rem; font-size: 1.06rem; letter-spacing: -.02em; }
.about-details p { margin: 0; color: var(--muted); font-size: .85rem; }

.websites-section { padding-block: clamp(3rem, 5vw, 4.5rem); background: #f4f7f4; }
.websites-section .section-heading { margin-bottom: 1.5rem; }
.websites-section .eyebrow { margin-bottom: .5rem; }
.websites-section h2 { font-size: clamp(2rem, 3vw, 3rem); }
.website-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.website-link { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .1rem .75rem; min-height: 96px; padding: 1rem; border: 1px solid #dce7e0; border-radius: .45rem; background: #fff; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.website-link:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(18,43,52,.08); }
.website-link span:first-child { grid-column: 1 / -1; align-self: start; color: #637a76; font-size: .77rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.website-link strong { overflow-wrap: anywhere; font-size: clamp(1rem, 1.5vw, 1.2rem); letter-spacing: -.035em; }
.website-link span:last-child { color: #248877; font-size: 1.3rem; }

.contact-section { padding-block: clamp(5rem, 8vw, 7rem); background: #15343c; color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 4rem; }
.contact-section .eyebrow { color: var(--teal); }
.contact-section h2 { margin-bottom: 1rem; font-size: clamp(2.8rem, 5vw, 5rem); }
.contact-section p:not(.eyebrow) { max-width: 400px; color: #bad0ca; }
.contact-card { display: flex; flex-direction: column; align-items: start; padding: 2.1rem; border: 1px solid #557077; border-radius: .5rem; background: rgba(255,255,255,.035); }
.contact-card > span { margin-bottom: 1.25rem; color: var(--teal); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-link { display: flex; justify-content: space-between; gap: 1rem; width: 100%; padding-block: .7rem; border-bottom: 1px solid #536a6e; font-size: clamp(1.15rem, 2.2vw, 1.8rem); font-weight: 700; letter-spacing: -.03em; text-decoration: none; }
.contact-link:hover { color: var(--teal); }
.contact-link span { color: var(--teal); }
.contact-card small { margin-top: 1.75rem; color: #b5c9c2; line-height: 1.6; }

.site-footer { background: #0b222b; color: #afc3bf; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 84px; padding-block: 1.5rem; font-size: .78rem; }
.text-button { padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: .22rem; }
.text-button:hover { color: #fff; }

.consent-banner { position: fixed; z-index: 20; right: 1rem; bottom: 1rem; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; width: min(calc(100% - 2rem), 690px); padding: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: .55rem; box-shadow: 0 15px 60px rgba(0,0,0,.22); color: var(--ink); }
.consent-banner[hidden] { display: none; }
.consent-banner strong { font-size: 1rem; }
.consent-banner p { margin: .35rem 0 .5rem; color: var(--muted); font-size: .82rem; }
.consent-banner details { color: var(--muted); font-size: .78rem; }
.consent-banner summary { cursor: pointer; text-decoration: underline; }
.consent-actions { display: flex; flex-direction: column; justify-content: center; gap: .5rem; }
.consent-actions button { min-width: 150px; padding: .6rem .8rem; border: 1px solid #cbdcd6; border-radius: .3rem; background: #fff; color: var(--ink); cursor: pointer; font-size: .78rem; font-weight: 750; }
.consent-actions button:hover { border-color: #5a9f8e; }
#consent-accept { border-color: var(--deep); background: var(--deep); color: #fff; }
#consent-accept:hover { background: #244b50; }

@media (max-width: 960px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .website-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { min-height: 370px; }
  .card-top { margin-bottom: 2rem; }
  .service-card h3 { min-height: 0; }
  .intro-grid { grid-template-columns: 1.5fr repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .layout-wrap { width: min(100% - 2rem, 1180px); }
  .header-inner { flex-direction: column; align-items: start; gap: .5rem; padding-block: .8rem; }
  .main-navigation { justify-content: start; flex-wrap: wrap; gap: .4rem 1rem; font-size: .8rem; }
  .main-navigation .nav-contact { padding: 0; border: 0; }
  .hero-section { min-height: 640px; background-position: 58% center; }
  .hero-section::before { background: linear-gradient(90deg, rgba(5,25,32,.93), rgba(8,29,35,.72)); }
  .hero-content { padding-block: 5rem 3rem; }
  .hero-caption { flex-wrap: wrap; margin-top: 4rem; }
  .intro-grid { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
  .intro-grid p { grid-column: 1 / -1; }
  .intro-grid div { padding-left: .5rem; flex-wrap: wrap; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 1rem; }
  .software-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .portrait-frame { width: min(100%, 360px); }
  .about-copy { order: -1; }
}

@media (max-width: 540px) {
  .hero-section h1 { font-size: clamp(3.3rem, 14vw, 4.7rem); }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 330px; }
  .service-grid, .about-details, .website-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .intro-grid div { display: block; }
  .intro-grid span { display: block; }
  .software-panel { min-height: 370px; }
  .contact-card { padding: 1.3rem; }
  .consent-banner { grid-template-columns: 1fr; max-height: calc(100vh - 2rem); overflow: auto; }
  .consent-actions { flex-direction: row; }
  .consent-actions button { flex: 1; min-width: 0; }
}

@media (max-width: 420px) {
  .consent-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
