:root {
  --ink: #102333;
  --muted: #617181;
  --brand: #0d6282;
  --brand-dark: #084b67;
  --brand-bright: #168bb6;
  --accent: #ef5c50;
  --surface: #ffffff;
  --surface-soft: #f5f9fb;
  --line: #dbe6eb;
  --radius: 8px;
  --shadow: 0 20px 60px rgba(23, 61, 78, .12);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: #fff;
}
.nav-wrap {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; font-weight: 800; font-size: 24px; letter-spacing: 0; }
.brand img { width: 46px; height: 46px; border-radius: 8px; object-fit: contain; }
.brand-name { color: #fff; }
.main-nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 650; }
.main-nav > a { opacity: .92; transition: opacity .2s ease, transform .2s ease; }
.main-nav > a:hover,
.main-nav > a[aria-current="page"] { opacity: 1; transform: translateY(-1px); }
.main-nav .nav-demo { padding: 10px 19px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; }
.language { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; }
.language img { width: 18px; height: 12px; border-radius: 1px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.flag-pl { width: 20px; height: 12px; border-radius: 1px; background: linear-gradient(#fff 0 50%, #dc143c 50%); box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: #fff; margin: 6px 0; border-radius: 2px; }

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(50,173,210,.36), transparent 32%),
    linear-gradient(125deg, #073c57 0%, #0a5777 52%, #0d698c 100%);
}
.hero-grid {
  min-height: 720px;
  padding-top: 100px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 60px;
}
.hero-copy { position: relative; z-index: 4; padding-bottom: 34px; }
.eyebrow, .section-kicker { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 800; color: var(--brand-bright); }
.hero .eyebrow { color: #8ed8f0; }
.hero h1 { margin: 0; max-width: 610px; font-size: 68px; line-height: .98; letter-spacing: 0; font-weight: 780; }
.hero h1 span { color: #a8e5f5; }
.hero-lead { margin: 24px 0 0; font-size: 20px; line-height: 1.45; color: rgba(255,255,255,.88); }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 750; border: 1px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: wait; opacity: .68; transform: none; }
.button-primary { background: #fff; color: var(--brand-dark); box-shadow: 0 12px 35px rgba(0,0,0,.14); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.04); }
.button-ghost-dark { color: var(--brand-dark); border-color: #c9dbe3; background: #fff; }
.hero-visual { position: relative; z-index: 2; align-self: end; padding-bottom: 16px; }
.hero-visual img { width: min(132%, 720px); max-width: 600px; margin-left: -10%; filter: drop-shadow(0 30px 50px rgba(0,0,0,.24)); border-top-left-radius: 5px; border-top-right-radius: 5px;}
.hero-wave { position: absolute; z-index: 3; width: 100%; max-width: none; left: 0; right: 0; bottom: -1px; height: 154px; pointer-events: none; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .22; }
.hero-glow-a { width: 340px; height: 340px; background: #50caec; right: -110px; top: 80px; }
.hero-glow-b { width: 280px; height: 280px; background: #f35a4f; left: 38%; bottom: 90px; opacity: .07; }

.section { padding: 105px 0; }
.intro { background: #fff; }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
h2 { margin: 0; letter-spacing: 0; line-height: 1.08; font-size: 54px; }
.section-subtitle { margin: 22px 0 0; color: var(--brand); font-weight: 700; font-size: 22px; }
.intro-copy { padding-top: 14px; font-size: 17px; color: #445463; }
.intro-copy p:first-child { margin-top: 0; }
.love-note { margin-top: 34px; padding: 22px 25px; border-left: 4px solid var(--accent); background: #f7fafb; display: grid; gap: 6px; color: var(--ink); }
.love-note strong { color: var(--brand); font-size: 20px; }

.usability { position: relative; background: var(--surface-soft); }
.section-heading.centered { max-width: 830px; text-align: center; margin: 0 auto 54px; }
.section-heading.centered p:last-child { margin: 22px auto 0; max-width: 790px; color: var(--muted); font-size: 17px; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card { min-height: 315px; padding: 30px 27px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 24px rgba(30,74,94,.055); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; background: #e7f3f7; color: var(--brand); margin-bottom: 24px; }
.feature-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.15; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { margin: 0 0 14px; font-size: 20px; line-height: 1.25; letter-spacing: 0; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; }

.contact { padding: 105px 0 90px; background: linear-gradient(135deg, #073f5a 0%, #0b607f 65%, #117596 100%); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: start; }
.section-kicker-light { color: #8fdbef; }
.contact-copy h2 { max-width: 700px; }
.contact-copy > p:not(.section-kicker) { max-width: 630px; margin: 24px 0 30px; color: rgba(255,255,255,.82); font-size: 17px; }
.contact-art { width: 100%; max-width: 560px; height: 270px; object-fit: cover; border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.22); }
.contact-form { padding: 34px; background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: 0 28px 75px rgba(0,0,0,.24); }
.contact-form label { display: grid; gap: 7px; margin-bottom: 16px; }
.contact-form .field-honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.contact-form label span { font-size: 13px; font-weight: 750; color: #4d6070; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #d7e2e7; border-radius: 10px; padding: 12px 13px; color: var(--ink); background: #fbfdfe; outline: none; transition: border-color .18s, box-shadow .18s; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #5fa8c1; box-shadow: 0 0 0 3px rgba(13,98,130,.1); }
.button-light { width: 100%; border: 0; background: var(--brand); color: #fff; border-radius: 10px; }
.hold-submit { position: relative; overflow: hidden; isolation: isolate; min-height: 54px; margin-top: 6px; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.hold-submit::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left; background: rgba(255,255,255,.2); opacity: 0; }
.hold-submit[data-hold-state="holding"]::before { opacity: 1; animation: hold-button-pulse 1.25s ease-in-out infinite; }
.hold-submit[data-hold-state="release-window"],
.hold-submit[data-hold-state="verified"] { background: #17845f; }
.hold-submit[data-hold-state="failed"] { background: var(--accent); }
.hold-submit[data-hold-state="loading"] { background: var(--brand-dark); }
.form-status { min-height: 24px; margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

@keyframes hold-button-pulse {
  0% { transform: scaleX(.18); }
  48% { transform: scaleX(.64); }
  100% { transform: scaleX(.38); }
}

@media (prefers-reduced-motion: reduce) {
  .hold-submit { transition: none; }
  .hold-submit::before { animation: none; opacity: .18; transform: scaleX(.45); }
}

.site-footer { padding: 30px 0; background: #052f45; color: rgba(255,255,255,.78); font-size: 13px; }
.footer-wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 17px; font-weight: 800; }
.footer-brand img { width: 34px; height: 34px; border-radius: 6px; object-fit: contain; }
.footer-wrap p { margin: 0; text-align: center; }
.footer-wrap > a { color: #fff; opacity: .9; }

.blog-main { background: #fff; }
.blog-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: #073f5a;
}
.blog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(5,47,69,.92), rgba(13,98,130,.76));
}
.blog-hero-bg {
  position: absolute;
  inset: 0;
}
.blog-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-hero-inner { position: relative; z-index: 1; padding-top: 72px; }
.blog-hero h1 { margin: 0; font-size: 58px; line-height: 1.04; letter-spacing: 0; }
.blog-hero p:not(.eyebrow) { max-width: 760px; margin: 18px 0 0; color: rgba(255,255,255,.84); font-size: 18px; }
.single-blog-hero { min-height: 460px; }
.blog-list-section { background: var(--surface-soft); }
.blog-list { display: grid; gap: 26px; }
.blog-card {
  display: grid;
  grid-template-columns: minmax(280px, .45fr) 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(30,74,94,.07);
}
.blog-card-media { min-height: 270px; background: #e7f3f7; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { display: grid; align-content: start; padding: 34px; }
.blog-card-body h2 { font-size: 32px; line-height: 1.15; }
.blog-card-body p { margin: 18px 0 0; color: var(--muted); }
.blog-read-more { width: fit-content; margin-top: 24px; background: var(--brand); color: #fff; box-shadow: none; }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 13px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: #607384;
  font-size: 14px;
  font-weight: 700;
}
.post-meta a { color: var(--brand); }
.post-meta li:not(:last-child)::after { content: "/"; margin-left: 13px; color: #a6b7c1; }
.post-section { background: #fff; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
.post-main { min-width: 0; }
.post-cover {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.post-content { margin-top: 30px; color: #314555; font-size: 18px; line-height: 1.78; }
.post-content h2 { margin: 44px 0 18px; color: var(--ink); font-size: 34px; line-height: 1.18; }
.post-content p { margin: 0 0 22px; }
.post-content ul { margin: 0 0 26px; padding-left: 23px; }
.post-content li { margin: 8px 0; }
.post-content img {
  width: 100%;
  height: auto;
  margin: 10px 0 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(30,74,94,.09);
}
.post-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.post-pager a { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #f8fbfc; }
.post-pager span { color: var(--muted); font-size: 13px; font-weight: 750; }
.post-pager strong { color: var(--brand-dark); }
.post-sidebar { position: sticky; top: 24px; display: grid; gap: 20px; }
.sidebar-block { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-soft); }
.sidebar-block h2 { margin-bottom: 16px; font-size: 22px; line-height: 1.2; }
.author-block img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; }
.author-block h3 { margin: 0 0 12px; font-size: 18px; }
.author-block p { margin: 0 0 13px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.recent-posts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.recent-posts a { color: var(--brand-dark); font-weight: 750; }
.recent-posts a[aria-current="page"] { color: var(--accent); }
.simple-page-section { background: var(--surface-soft); }
.simple-page-wrap { max-width: 850px; }
.simple-page-panel { padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 28px rgba(30,74,94,.07); }
.simple-page-panel h2 { font-size: 42px; }
.simple-page-panel p { color: #445463; font-size: 17px; }
.simple-page-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

@media (max-width: 980px) {
  .menu-toggle { display: block; z-index: 22; }
  .main-nav { position: absolute; top: 78px; left: 24px; right: 24px; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px; background: rgba(4,49,69,.98); border: 1px solid rgba(255,255,255,.15); border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.22); }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 12px 14px; border-radius: 8px; }
  .main-nav .nav-demo { border: 0; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-top: 155px; padding-bottom: 78px; gap: 28px; }
  .hero-copy { padding-bottom: 0; text-align: center; }
  .hero h1 { max-width: none; font-size: 50px; }
  .hero-actions { justify-content: center; }
  .hero-visual { padding-bottom: 8px; }
  .hero-visual img { width: min(100%, 540px); max-height: 430px; margin-inline: auto; }
  .intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .contact-art { max-width: 100%; }
  h2 { font-size: 48px; }
  .blog-card { grid-template-columns: 1fr; }
  .blog-card-media { aspect-ratio: 16 / 9; min-height: 0; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .nav-wrap { min-height: 76px; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 21px; }
  .hero { min-height: 690px; }
  .hero-grid { padding-top: 130px; padding-bottom: 1px; }
  .hero h1 { font-size: 38px; }
  .hero-lead { font-size: 18px; }
  .hero-visual { padding-top: 5px; padding-bottom: 8px; }
  .hero-visual img { max-height: 345px; border-radius: 5px;}
  .hero-wave { height: 96px; }
  .section { padding: 78px 0; }
  h2 { font-size: 36px; }
  .intro-grid { gap: 35px; }
  .features { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .contact { padding: 78px 0; }
  .contact-form { padding: 24px 20px; }
  .footer-wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; }
  .blog-hero { min-height: 360px; }
  .blog-hero-inner { padding-top: 80px; }
  .blog-hero h1 { font-size: 40px; }
  .blog-card-body { padding: 24px; }
  .blog-card-body h2 { font-size: 28px; }
  .post-content { font-size: 16px; }
  .post-content h2 { font-size: 28px; }
  .post-pager, .post-sidebar { grid-template-columns: 1fr; }
  .simple-page-panel { padding: 28px 22px; }
  .simple-page-panel h2 { font-size: 32px; }
}

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