/* EURO Parcel Portal frontend v0.1 — independent from all application backends */
:root {
  --ink: #071839;
  --navy: #0b214d;
  --muted: #526787;
  --teal: #00aab3;
  --blue: #1755d5;
  --background: #f4f9ff;
  --line: #dce9f8;
  --shadow: 0 18px 45px rgba(28,72,127,.075);
  color-scheme: light;
}
*, *::before, *::after {box-sizing:border-box}
html {scroll-behavior:smooth;scroll-padding-top:100px}
body {margin:0;min-width:320px;background:var(--background);color:var(--ink);font-family:Inter, "Segoe UI", Roboto, Arial, sans-serif;-webkit-font-smoothing:antialiased}
button,a { -webkit-tap-highlight-color:transparent }
a {color:inherit;text-decoration:none}
button {font:inherit;cursor:pointer}
img,svg {display:block;max-width:100%}
img {height:auto}
button:focus-visible,a:focus-visible {outline:3px solid #f4a900;outline-offset:4px}
::selection {background:#a2edf2;color:var(--ink)}
.container {width:min(1580px,calc(100% - 72px));margin-inline:auto}
.skip-link {position:fixed;z-index:100;top:-100px;left:20px;padding:13px 18px;background:#fff;border:2px solid var(--teal);border-radius:9px;font-weight:700}
.skip-link:focus {top:12px}
.page-shell {overflow:hidden;position:relative}
.site-header {position:relative;z-index:8;height:105px;background:linear-gradient(90deg,#f6faff 0%,rgba(249,252,255,.98) 42%,#cdeaff 100%);border-bottom:1px solid rgba(255,255,255,.8)}
.header-inner {height:100%;display:flex;align-items:center;justify-content:space-between;gap:35px}
.brand {display:flex;align-items:center;flex:none}
.brand img {width:225px;height:auto;max-height:83px;object-fit:contain}
.desktop-nav {display:flex;align-items:center;gap:42px;margin-left:auto;margin-right:auto;height:100%}
.desktop-nav a {height:100%;display:flex;align-items:center;justify-content:center;position:relative;font-size:15px;font-weight:650;letter-spacing:-.01em;color:#1c315b;white-space:nowrap;transition:color .18s}
.desktop-nav a:hover,.desktop-nav a.is-active {color:var(--navy)}
.desktop-nav a.is-active::after,.desktop-nav a:hover::after {content:"";position:absolute;bottom:26px;left:0;right:0;height:3px;border-radius:3px;background:var(--teal)}
.login-btn {border:1px solid rgba(30,100,210,.3);background:linear-gradient(120deg,#0c2b64,#071933);color:white;padding:14px 20px 14px 17px;border-radius:100px;display:inline-flex;align-items:center;gap:12px;flex:none;font-size:14px;font-weight:720;box-shadow:0 10px 18px rgba(16,55,107,.16);transition:transform .2s,box-shadow .2s}
.login-btn:hover {transform:translateY(-2px);box-shadow:0 14px 24px rgba(16,55,107,.23)}
.login-btn svg {width:23px;height:23px;fill:none;stroke:#fff;stroke-linecap:round;stroke-width:1.8}
.login-btn .arrow {font-size:19px;padding-left:12px}
.menu-toggle {display:none;width:44px;height:44px;border:1px solid #d3e6f7;background:#fff;border-radius:12px;align-items:center;justify-content:center;flex-direction:column;gap:5px}
.menu-toggle span {display:block;width:19px;height:2px;background:var(--navy);border-radius:2px}
.mobile-nav {display:none}
.hero {min-height:420px;position:relative;isolation:isolate;background:linear-gradient(108deg,#f9fcff 0%,#e9f5ff 49%,#d0eafc 100%)}
.hero-glow {position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 22% 10%,rgba(255,255,255,.95),transparent 48%),radial-gradient(circle at 87% 80%,rgba(16,122,220,.14),transparent 35%)}
.hero-photo {position:absolute;inset:0 0 0 auto;width:61%;height:100%;z-index:-1;background-image:linear-gradient(90deg,rgba(242,249,255,0),rgba(255,255,255,0) 55%),url('../images/hero-europarcel.webp');background-size:cover;background-position:center 53%;-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.4) 10%,#000 24%,#000 100%);mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.4) 10%,#000 24%,#000 100%)}
.hero-inner {min-height:420px;position:relative;display:flex;align-items:center}
.hero-copy {position:relative;z-index:2;max-width:590px;padding:34px 0 40px}
.eyebrow {font-size:12px;line-height:1.5;font-weight:720;letter-spacing:.3em;color:#55719a;margin:0 0 16px}
.hero h1 {font-size:clamp(38px,4.1vw,69px);line-height:1.055;letter-spacing:-.053em;font-weight:820;margin:0;max-width:640px}
.hero h1 span {color:#1764eb;display:block;letter-spacing:-.055em}
.mini-underline {width:50px;height:4px;border-radius:4px;margin:20px 0 16px;background:linear-gradient(90deg,var(--teal),#4ccddd)}
.hero-subtitle {font-size:clamp(16px,1.32vw,20px);line-height:1.6;font-weight:440;color:#213c64;max-width:490px;margin:0 0 22px}
.primary-cta {display:inline-flex;align-items:center;gap:22px;background:linear-gradient(110deg,#05b5b8,#009ca9);color:#fff;font-size:15px;font-weight:730;padding:16px 22px 16px 26px;border-radius:100px;box-shadow:0 12px 26px rgba(0,170,179,.2);transition:transform .2s,box-shadow .2s}
.primary-cta:hover {transform:translateY(-3px);box-shadow:0 16px 33px rgba(0,170,179,.29)}
.primary-cta span {font-size:21px}
.hero-side-note {position:absolute;right:7px;top:26%;color:#fff;text-align:center;font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:clamp(20px,2.5vw,38px);line-height:1.1;transform:rotate(-7deg);text-shadow:0 3px 13px #0c203cbd}
.hero-side-note span {display:block;background:#f8c830;height:3px;width:120px;margin:13px auto 0;transform:rotate(-7deg);border-radius:100%}
.hexagon-atmosphere {position:absolute;inset:0;overflow:hidden;z-index:0;pointer-events:none;opacity:.56}
.hexagon-atmosphere span {position:absolute;display:block;width:85px;aspect-ratio:1;background:linear-gradient(145deg,rgba(255,255,255,.1),rgba(159,199,236,.12));clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.hexagon-atmosphere span:nth-child(1) {left:39%;top:14%;border:1px solid #fff}
.hexagon-atmosphere span:nth-child(2) {left:33%;top:70%;width:130px}
.hexagon-atmosphere span:nth-child(3) {right:2%;top:12%;width:80px}
.hexagon-atmosphere span:nth-child(4) {left:48%;top:5%;width:55px}
.hexagon-atmosphere span:nth-child(5) {right:35%;bottom:-20px;width:95px}
.projects-section {position:relative;padding:52px 0 39px;background:linear-gradient(180deg,#f5faff 0%,#f8fbff 55%,#f4f9ff 100%)}
.projects-section::before {content:"";position:absolute;inset:0 0 auto;height:200px;pointer-events:none;background:radial-gradient(ellipse at 70% 0%,rgba(27,143,231,.08),transparent 55%)}
.section-intro {display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:26px}
.section-intro .eyebrow {margin-bottom:9px;letter-spacing:.22em}
.section-intro h2 {font-size:clamp(25px,2.6vw,37px);line-height:1.2;letter-spacing:-.04em;margin:0}
.section-intro>p {margin:0;max-width:415px;color:var(--muted);font-size:14px;line-height:1.6}
.projects-grid {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;align-items:stretch;position:relative}
.project-card {min-width:0;position:relative;isolation:isolate;text-align:center;background:linear-gradient(180deg,#fff,#fff 74%,#fefeff);border:1px solid #e8f0f9;border-radius:24px 24px 22px 22px;box-shadow:var(--shadow);padding:10px 11px 15px;display:flex;flex-direction:column;align-items:center;transition:transform .25s,box-shadow .25s,border-color .25s}
.project-card:hover {transform:translateY(-6px);box-shadow:0 20px 44px rgba(28,72,127,.15);border-color:var(--accent)}
.project-photo-outline {width:100%;height:192px;padding:3px;background:var(--accent);clip-path:polygon(50% 0%,100% 29%,100% 76%,50% 100%,0 76%,0 29%);filter:drop-shadow(0 7px 15px rgba(10,43,97,.06));flex:none}
.project-photo {width:100%;height:100%;background:var(--soft);clip-path:polygon(50% 0%,100% 29%,100% 76%,50% 100%,0 76%,0 29%);overflow:hidden}
.project-photo img {width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .5s}
.project-card:hover .project-photo img {transform:scale(1.07)}
.project-icon {z-index:1;position:relative;margin-top:-42px;margin-bottom:11px;display:flex;align-items:center;justify-content:center;width:67px;height:67px;flex:none;color:#fff;background:var(--accent);clip-path:polygon(50% 0%,96% 25%,96% 75%,50% 100%,4% 75%,4% 25%);filter:drop-shadow(0 7px 12px rgba(0,0,0,.1))}
.project-icon svg {width:33px;height:33px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linejoin:round;stroke-linecap:round}
.project-card h3 {font-size:clamp(15px,1.23vw,19px);line-height:1.17;letter-spacing:-.045em;margin:0 0 9px;font-weight:730;min-height:45px}
.project-card h3 strong {font-weight:800}
.project-card p {font-size:13.5px;line-height:1.43;letter-spacing:-.015em;color:#263f68;max-width:222px;margin:0 auto 18px;min-height:61px}
.project-action {margin-top:auto;width:min(100%,177px);min-height:43px;border:0;background:var(--accent);color:#fff;border-radius:99px;font-size:14px;font-weight:750;display:flex;align-items:center;justify-content:center;gap:25px;transition:filter .2s,transform .2s}
.project-action:hover {filter:brightness(.92);transform:translateY(-1px)}
.project-action span {font-size:18px;line-height:1}
.project-card[data-project="logistika"] .project-action {color:#172b3b}
.benefits {padding:0 0 52px;background:#f4f9ff}
.benefits-inner {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:24px 0;border-radius:25px;border:1px solid #e4eefb;background:rgba(255,255,255,.9);box-shadow:0 15px 35px rgba(30,70,110,.045)}
.benefit {display:flex;align-items:center;justify-content:center;gap:17px;padding:0 15px;min-width:0;min-height:50px;border-right:1px solid #c5d9f2}
.benefit:last-child {border-right:none}
.benefit svg {width:42px;height:42px;flex:none;fill:none;stroke:#2056a1;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.benefit div {display:flex;flex-direction:column;gap:4px;min-width:0}
.benefit b {font-size:14px;letter-spacing:-.03em}
.benefit span {font-size:12.5px;color:#47628b;line-height:1.35}
.closing-section {background:linear-gradient(110deg,#0d2c5f,#0b1837 65%,#0c3c63);color:#fff;padding:65px 0}
.closing-inner {display:flex;align-items:center;justify-content:space-between;gap:35px}
.closing-inner .eyebrow {color:#67d9df}
.closing-inner h2 {font-size:clamp(26px,3vw,42px);letter-spacing:-.05em;margin:0 0 11px}
.closing-inner p:last-child {color:#c0d5f1;font-size:16px;margin:0}
.closing-link {border:1px solid rgba(185,220,255,.5);color:#fff;white-space:nowrap;padding:16px 23px;border-radius:50px;font-size:14px;font-weight:700;transition:background .2s;display:flex;gap:28px;align-items:center}
.closing-link:hover {background:#ffffff20}
.site-footer {background:#f8fbff;padding:22px 0;border-top:1px solid #dceafa}
.footer-inner {display:flex;align-items:center;gap:23px;color:#527093;font-size:13px}
.footer-inner img {width:125px;height:auto}
.footer-inner p {flex:1;margin:0}
.footer-inner a {font-weight:700;color:#1755d5}
.project-dialog {border:none;border-radius:24px;max-width:min(500px,calc(100% - 30px));width:100%;padding:0;background:#fff;box-shadow:0 25px 80px rgba(4,24,56,.28);color:var(--navy)}
.project-dialog::backdrop {background:rgba(3,18,41,.7);backdrop-filter:blur(5px)}
.dialog-content {position:relative;text-align:center;padding:35px 37px 29px}
.dialog-close {position:absolute;top:12px;right:14px;border:0;background:#eef5fb;width:36px;height:36px;font-size:25px;line-height:1;color:#1c3866;border-radius:50%}
.dialog-symbol {display:grid;place-items:center;width:67px;height:67px;margin:0 auto 18px;font-size:46px;color:var(--dialog-accent,var(--teal))}
.dialog-content .eyebrow {margin-bottom:10px;font-size:11px;letter-spacing:.22em}
.dialog-content h2 {font-size:27px;letter-spacing:-.04em;line-height:1.15;margin:0 0 14px}
.dialog-content p:not(.eyebrow) {color:#405778;line-height:1.65;font-size:15px;margin:0 0 18px}
.dialog-message {background:#f3f8fd;border:1px solid #dceaf5;padding:15px;border-radius:13px;color:#466283;font-size:13px;line-height:1.55;margin-bottom:22px}
.dialog-destination,.dialog-done {display:inline-flex;border:0;border-radius:100px;background:var(--dialog-accent,var(--teal));color:#fff;font-size:14px;font-weight:740;padding:12px 27px;justify-content:center;align-items:center}
.dialog-destination[hidden] {display:none}
.login-symbol {color:var(--teal)}
@media (min-width:1650px) {
  .hero {min-height:475px}
  .hero-inner {min-height:475px}
  .hero-photo {width:63%}
  .project-photo-outline {height:205px}
}
@media (max-width:1330px) {
  .container {width:min(1180px,calc(100% - 56px))}
  .site-header {height:91px}
  .brand img {width:184px}
  .desktop-nav {gap:25px}
  .login-btn {padding:12px 15px;gap:7px}
  .hero {min-height:435px}
  .hero-inner {min-height:435px}
  .hero-copy {max-width:500px}
  .hero h1 {font-size:clamp(40px,4.4vw,59px)}
  .hero-photo {width:65%}
  .hero-side-note {right:12px;font-size:26px}
  .projects-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
  .project-photo-outline {height:230px}
  .project-card {padding:13px 14px 18px}
  .project-card h3 {font-size:20px}
  .project-card p {font-size:14px;min-height:40px}
  .project-icon {width:73px;height:73px}
}
@media (max-width:850px) {
  .site-header {height:84px}
  .container {width:calc(100% - 42px)}
  .brand img {width:174px}
  .desktop-nav,.login-btn {display:none}
  .menu-toggle {display:flex;margin-left:auto}
  .mobile-nav:not([hidden]) {display:flex;position:absolute;left:0;right:0;top:100%;padding:9px 21px 20px;background:#f9fcff;box-shadow:0 16px 25px rgba(10,34,70,.12);flex-direction:column;gap:4px;z-index:30}
  .mobile-nav a,.mobile-login {text-align:left;border:0;background:transparent;padding:13px 7px;font-weight:710;font-size:15px;color:var(--navy)}
  .mobile-login {color:#007e93;display:flex;gap:10px}
  .hero {min-height:580px;background:#f7fbff}
  .hero-inner {min-height:580px;align-items:start}
  .hero-copy {padding:38px 0 0;max-width:650px}
  .hero h1 {max-width:490px;font-size:clamp(38px,7vw,57px)}
  .hero-subtitle {max-width:425px}
  .hero-photo {width:100%;height:55%;top:auto;bottom:0;background-size:cover;background-position:center 60%;-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 25%,#000);mask-image:linear-gradient(180deg,transparent 0%,#000 25%,#000)}
  .hero-side-note {right:20px;top:auto;bottom:34px;font-size:23px}
  .section-intro {align-items:start;flex-direction:column;gap:10px}
  .projects-section {padding-top:36px}
  .projects-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
  .project-photo-outline {height:185px}
  .benefits-inner {grid-template-columns:repeat(2,minmax(0,1fr));row-gap:21px}
  .benefit:nth-child(2) {border-right:none}
  .closing-inner {align-items:start;flex-direction:column}
  .closing-section {padding:46px 0}
}
@media (max-width:520px) {
  .container {width:calc(100% - 30px)}
  .site-header {height:77px}
  .brand img {width:153px}
  .hero {min-height:650px}
  .hero-inner {min-height:650px}
  .hero-copy {padding-top:29px}
  .eyebrow {font-size:10px;letter-spacing:.24em}
  .hero h1 {font-size:clamp(35px,9.6vw,50px);line-height:1.075}
  .hero-subtitle {font-size:15px;max-width:340px;line-height:1.55}
  .primary-cta {padding:13px 19px;font-size:14px}
  .hero-photo {height:42%;background-position:center}
  .hero-side-note {bottom:19px;right:12px;font-size:22px}
  .projects-grid {grid-template-columns:1fr;gap:17px;max-width:400px;margin-inline:auto}
  .project-card {padding:15px 17px 18px}
  .project-photo-outline {height:225px}
  .project-card h3 {min-height:auto;font-size:23px}
  .project-card p {font-size:15px;min-height:auto;margin-bottom:19px;max-width:260px}
  .project-action {width:175px}
  .benefits {padding-bottom:34px}
  .benefits-inner {padding:19px 10px;gap:16px}
  .benefit {padding:0 8px;gap:8px;align-items:start}
  .benefit svg {width:29px;height:29px}
  .benefit b {font-size:12px}
  .benefit span {font-size:11px}
  .closing-inner h2 {font-size:29px}
  .closing-inner p:last-child {font-size:14px;line-height:1.6}
  .footer-inner {flex-wrap:wrap;gap:13px}
  .footer-inner p {flex-basis:100%;order:3}
  .footer-inner a {margin-left:auto}
  .dialog-content {padding:31px 19px 25px}
}
@media (prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto}
  *,*::before,*::after {transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}
