/*
Theme Name: PAMAZ Studio
Template: twentytwentyfive
Version: 2.1.0
Description: PAMAZ - nowoczesna strona technologiczna.
*/

:root {
  --ink:#172332;
  --muted:#637184;
  --accent:#287db9;
  --accent-soft:#e9f3f9;
  --paper:#ffffff;
  --soft:#f6f8fa;
  --border:#e6ebef;
  --dark:#142333;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}
body .wp-site-blocks{overflow-x:clip;background:#fff}
body .wp-block-post-content{margin:0!important}
body .wp-block-post-content>.wp-block-html{margin:0}
a{text-decoration:none}
a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.pz-wrap{width:min(1180px,calc(100% - 48px));margin:auto}

/* HEADER */
.pz-header{
  background:#fff;
  border-bottom:1px solid var(--border);
  position:relative;
  z-index:10;
}
.pz-header-in{
  min-height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}
.pz-brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:var(--ink);
  font-weight:850;
  letter-spacing:.13em;
  font-size:21px;
  white-space:nowrap;
}
.pz-mark{
  display:grid;
  place-items:center;
  width:39px;height:39px;
  background:var(--ink);
  color:#fff;
  border-radius:11px;
  letter-spacing:-.05em;
  font-size:23px;
}
.pz-mark span,.pz-footer-brand span{color:#6ab4e2}
.pz-nav{display:flex;align-items:center;gap:27px;flex-wrap:wrap}
.pz-nav>a{
  font-size:13px;
  font-weight:600;
  color:#556276;
  transition:color .2s;
}
.pz-nav>a:hover{color:var(--accent)}
.pz-nav .pz-nav-cta{
  background:var(--ink);
  color:#fff;
  border-radius:9px;
  padding:13px 19px;
  margin-left:5px;
}
.pz-nav .pz-nav-cta:hover{background:#2b4259;color:#fff}
.pz-nav-cta span{margin-left:8px;font-size:17px}

/* HERO */
.pz-hero{
  padding:93px 0 108px;
  background:linear-gradient(125deg,#fff 38%,#f3f7fa 100%);
  border-bottom:1px solid var(--border);
}
.pz-hero-grid{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:65px;
  align-items:center;
}
.pz-kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:9px 13px;
  background:var(--accent-soft);
  border:1px solid #dbeaf3;
  color:#246c9a;
  border-radius:100px;
  font-size:11px;
  letter-spacing:.09em;
  font-weight:750;
  text-transform:uppercase;
}
.pz-kicker:before{
  content:"";
  display:block;
  width:7px;height:7px;
  background:#3389bd;
  border-radius:50%;
}
.pz-hero h1{
  font-size:clamp(44px,5.7vw,76px);
  letter-spacing:-.065em;
  line-height:1.07;
  font-weight:790;
  margin:29px 0 25px;
  max-width:700px;
  color:var(--ink);
}
.pz-hero h1 span{color:var(--accent)}
.pz-lead{
  color:var(--muted);
  font-size:17px;
  line-height:1.85;
  max-width:640px;
  margin:0;
}
.pz-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:34px}
.pz-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:15px 22px;
  border-radius:9px;
  background:var(--ink);
  color:#fff!important;
  font-size:13px;
  font-weight:700;
  border:1px solid var(--ink);
  transition:transform .2s,background .2s;
}
.pz-button:hover{background:#344a5e;transform:translateY(-2px)}
.pz-button-light{
  background:transparent;
  color:var(--ink)!important;
  border-color:#d8e0e8;
}
.pz-button-light:hover{background:#fff}
.pz-hero-footnote{
  margin-top:41px;
  color:#8a96a4;
  font-size:12px;
  display:flex;
  align-items:center;
  gap:10px;
}
.pz-hero-footnote:before{
  content:"";
  height:1px;width:25px;background:#bcc7d1;
}

/* HERO VISUAL */
.pz-visual{
  position:relative;
  padding:25px;
  border:1px solid #dbe5ed;
  border-radius:22px;
  background:#fff;
  box-shadow:0 28px 90px rgba(31,57,78,.075);
}
.pz-visual-bar{
  display:flex;align-items:center;justify-content:space-between;
  padding-bottom:20px;
  border-bottom:1px solid #eef1f5;
  font-size:12px;
  font-weight:700;
  color:#657485;
}
.pz-dots{display:flex;gap:5px}
.pz-dots i{display:block;width:7px;height:7px;border-radius:50%;background:#d4dce4}
.pz-dots i:first-child{background:#77b3d6}
.pz-diagram{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:19px;
  padding:44px 8px 22px;
}
.pz-core{
  background:var(--dark);
  color:#fff;
  text-align:center;
  border-radius:15px;
  padding:20px 32px;
  box-shadow:0 15px 35px rgba(16,37,57,.16);
}
.pz-core small{display:block;color:#9ab2c3;font-size:10px;letter-spacing:.14em;margin-bottom:7px}
.pz-core strong{font-size:19px;letter-spacing:.04em}
.pz-diagram-line{height:39px;width:1px;background:#accddd;position:relative}
.pz-diagram-line:after{
  content:"";position:absolute;bottom:0;left:50%;
  width:245px;height:1px;
  background:#accddd;transform:translateX(-50%);
}
.pz-node-row{display:grid;grid-template-columns:repeat(3,1fr);width:100%;gap:10px}
.pz-node{
  border:1px solid var(--border);
  border-radius:12px;
  padding:18px 6px;
  text-align:center;
  background:#fafbfd;
  color:#344657;
}
.pz-node svg{display:block;margin:0 auto 9px;width:23px;height:23px;color:#287db9}
.pz-node strong{font-size:11px;font-weight:750}
.pz-visual-bottom{
  border-top:1px solid #eef1f5;
  padding-top:17px;
  display:flex;justify-content:space-between;
  font-size:11px;color:#8c98a4;
}
.pz-status{color:#348b6b;font-weight:700}
.pz-status:before{content:"●";margin-right:6px}

/* SECTIONS */
.pz-section{padding:100px 0}
.pz-eyebrow{
  font-size:11px;
  font-weight:800;
  letter-spacing:.17em;
  color:var(--accent);
  text-transform:uppercase;
  margin:0 0 17px;
}
.pz-section-head{
  display:flex;
  justify-content:space-between;
  gap:40px;
  align-items:end;
  margin-bottom:38px;
}
.pz-section h2{
  font-size:clamp(31px,4vw,49px);
  line-height:1.17;
  letter-spacing:-.05em;
  margin:0;
  max-width:690px;
  color:var(--ink);
}
.pz-section-intro{
  color:var(--muted);
  line-height:1.85;
  font-size:14px;
  max-width:350px;
  margin:0;
}

/* SERVICES */
.pz-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.pz-card{
  min-height:284px;
  padding:29px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  display:flex;
  flex-direction:column;
  color:var(--ink);
  position:relative;
  transition:transform .2s,border-color .2s,box-shadow .2s;
}
.pz-card:hover{
  transform:translateY(-4px);
  border-color:#afcbdc;
  box-shadow:0 18px 40px rgba(34,59,82,.08);
}
.pz-card-top{display:flex;justify-content:space-between;align-items:center}
.pz-card-icon{
  width:46px;height:46px;
  display:grid;place-items:center;
  border-radius:12px;
  background:#edf4f8;
  color:#267ba8;
}
.pz-card-icon svg{width:23px;height:23px}
.pz-card-num{font-size:11px;color:#adb7c2;font-weight:700}
.pz-card h3{
  font-size:20px;
  letter-spacing:-.025em;
  line-height:1.35;
  color:var(--ink);
  margin:29px 0 12px;
  font-weight:760;
}
.pz-card p{
  font-size:13px;
  line-height:1.8;
  color:var(--muted);
  margin:0;
}
.pz-card-more{
  margin-top:auto;
  padding-top:24px;
  color:#287db9;
  font-size:12px;
  font-weight:750;
}
.pz-card:last-child{
  background:#f2f7fa;
  border-color:#e2edf3;
}

/* PHILOSOPHY */
.pz-philosophy{background:#f6f8fa;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.pz-philosophy-grid{
  display:grid;grid-template-columns:.9fr 1.1fr;
  align-items:start;gap:110px;
}
.pz-philosophy .pz-section-intro{max-width:500px;margin-top:25px;font-size:15px}
.pz-values{border-top:1px solid #dfe6ed}
.pz-value{
  display:grid;grid-template-columns:54px 1fr;
  padding:24px 0;
  border-bottom:1px solid #dfe6ed;
  gap:14px;
}
.pz-value-num{font-size:12px;color:var(--accent);font-weight:800;padding-top:6px}
.pz-value h3{font-size:17px;color:var(--ink);margin:0 0 7px}
.pz-value p{margin:0;color:var(--muted);font-size:13px;line-height:1.8}

/* CONTACT */
.pz-contact{padding:105px 0}
.pz-contact-panel{
  background:var(--dark);
  border-radius:22px;
  padding:70px 78px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:50px;
}
.pz-contact-panel .pz-eyebrow{color:#92c9e8}
.pz-contact-panel h2{color:#fff;max-width:650px}
.pz-contact-panel p{color:#b0bfcd;margin:19px 0 0;font-size:14px;line-height:1.8}
.pz-contact-panel .pz-button{
  flex-shrink:0;background:#fff;border-color:#fff;color:var(--ink)!important;
}

/* SUBPAGES */
.pz-inner{padding:95px 0 110px;min-height:55vh;background:#fff}
.pz-inner h1{
  font-size:clamp(37px,5vw,60px);
  letter-spacing:-.05em;
  line-height:1.13;
  color:var(--ink);
  max-width:920px;
  margin:0 0 30px;
}
.pz-inner h2{color:var(--ink);font-size:26px;letter-spacing:-.03em}
.pz-inner .pz-lead{margin-bottom:45px;max-width:780px}
.pz-list{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;list-style:none;padding:0;margin:28px 0 55px;
}
.pz-list li{
  padding:21px 23px;background:#f7f9fa;
  border:1px solid #e5eaf0;border-radius:10px;
  color:#34495a;font-size:14px;
}
.pz-list li:before{content:"✓";color:var(--accent);font-weight:800;margin-right:12px}
.pz-cta{
  border:1px solid #e5ebef;background:#f6f8fa;
  border-radius:16px;padding:44px;
}
.pz-cta h2{font-size:28px;margin:0 0 10px;color:var(--ink)}
.pz-cta p{color:var(--muted);line-height:1.8}
.pz-cta .pz-button{margin-top:10px}

/* FOOTER */
.pz-footer{background:#101e2b;color:#aab8c7;padding:75px 0 30px}
.pz-footer-top{display:flex;justify-content:space-between;gap:50px;padding-bottom:70px}
.pz-footer-brand{font-size:30px;font-weight:850;letter-spacing:.13em;color:#fff}
.pz-footer-top p{font-size:13px;line-height:1.9;margin:17px 0 0}
.pz-footer nav{display:grid;grid-template-columns:repeat(2,max-content);column-gap:55px;row-gap:18px}
.pz-footer nav a{color:#d5e0ea;font-size:13px}
.pz-footer nav a:hover{color:#fff}
.pz-footer-bottom{
  border-top:1px solid #2b3b4a;
  padding-top:25px;
  display:flex;justify-content:space-between;gap:15px;
  flex-wrap:wrap;font-size:11px;color:#8fa1b1;
}

@media(max-width:1000px){
  .pz-hero-grid{gap:35px}
  .pz-philosophy-grid{gap:55px}
  .pz-contact-panel{padding:48px}
}
@media(max-width:820px){
  .pz-header-in{flex-direction:column;align-items:flex-start;padding:22px 0}
  .pz-nav{gap:18px}
  .pz-hero-grid,.pz-philosophy-grid{grid-template-columns:1fr}
  .pz-hero-grid{gap:55px}
  .pz-visual{max-width:600px;width:100%;margin:auto}
  .pz-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pz-contact-panel{flex-direction:column;align-items:flex-start}
  .pz-section-head{flex-direction:column;align-items:flex-start;gap:17px}
  .pz-section-intro{max-width:600px}
}
@media(max-width:560px){
  .pz-wrap{width:calc(100% - 36px)}
  .pz-header-in{gap:20px}
  .pz-nav{gap:14px}
  .pz-nav>a{font-size:12px}
  .pz-hero{padding:65px 0}
  .pz-hero h1{font-size:clamp(40px,11vw,57px)}
  .pz-visual{padding:16px}
  .pz-node{padding:14px 3px}
  .pz-node strong{font-size:10px}
  .pz-section{padding:70px 0}
  .pz-grid,.pz-list{grid-template-columns:1fr}
  .pz-card{min-height:240px}
  .pz-contact{padding:70px 0}
  .pz-contact-panel{padding:35px 26px;border-radius:16px}
  .pz-footer-top{flex-direction:column;padding-bottom:50px}
  .pz-footer nav{column-gap:35px}
  .pz-inner{padding:65px 0}
  .pz-cta{padding:27px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .pz-card,.pz-button{transition:none}
}

/* PAMAZ_COPYWRITING_STYLES_V1 */

.pz-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 65px;
}

.pz-category-nav a {
  color: #344c60;
  border: 1px solid #dfe7ed;
  padding: 11px 16px;
  border-radius: 9px;
  background: #f8fafb;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}

.pz-category-nav a:hover {
  background: #edf4f8;
  border-color: #bad1df;
}

.pz-category {
  margin-top: 60px;
  scroll-margin-top: 30px;
}

.pz-category + .pz-category {
  border-top: 1px solid #e7edf1;
  padding-top: 65px;
  margin-top: 75px;
}

.pz-category-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 27px;
}

.pz-category-header h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -.035em;
  margin: 0;
  color: #172332;
}

.pz-category-header > p {
  max-width: 360px;
  color: #637184;
  font-size: 13px;
  line-height: 1.75;
  margin: 0;
}

.pz-service-page .pz-detail-section {
  margin: 75px 0;
}

.pz-service-page .pz-detail-section h2 {
  margin: 0 0 30px;
  font-size: clamp(26px, 3.3vw, 38px);
  line-height: 1.25;
  letter-spacing: -.035em;
}

.pz-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pz-detail-card {
  background: #f7f9fb;
  border: 1px solid #e5ebf0;
  border-radius: 12px;
  padding: 28px;
}

.pz-detail-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #172332;
  font-weight: 750;
}

.pz-detail-card p {
  margin: 0;
  font-size: 14px;
  color: #637184;
  line-height: 1.8;
}

.pz-service-page .pz-cta .pz-eyebrow {
  margin-bottom: 15px;
}

@media (max-width: 760px) {
  .pz-category-header {
    flex-direction: column;
    align-items: start;
    gap: 14px;
  }

  .pz-category-header > p {
    max-width: 100%;
  }

  .pz-category {
    margin-top: 45px;
  }

  .pz-category + .pz-category {
    margin-top: 55px;
    padding-top: 48px;
  }

  .pz-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pz-category-nav a {
    transition: none;
  }
}

/* PAMAZ_OFFER_V2_STYLES */

.pz-category {
  margin-top: 65px;
}

.pz-category + .pz-category {
  border-top: 1px solid #e6ebef;
  padding-top: 65px;
  margin-top: 75px;
}

.pz-category-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 28px;
}

.pz-category-header h3 {
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.2;
  letter-spacing: -.035em;
  color: #172332;
  margin: 0;
}

.pz-category-header > p {
  color: #637184;
  font-size: 14px;
  line-height: 1.7;
  max-width: 340px;
  margin: 0;
}

.pz-detail-section {
  margin: 75px 0;
}

.pz-detail-section h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  color: #172332;
  line-height: 1.25;
  letter-spacing: -.035em;
  margin-bottom: 30px;
}

.pz-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.pz-detail-card {
  padding: 30px;
  background: #f7f9fa;
  border: 1px solid #e6ebef;
  border-radius: 13px;
}

.pz-detail-card h3 {
  margin: 0 0 13px;
  color: #172332;
  font-size: 19px;
}

.pz-detail-card p {
  margin: 0;
  color: #637184;
  line-height: 1.8;
  font-size: 14px;
}

@media (max-width: 760px) {
  .pz-category-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .pz-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* PAMAZ_AREAS_V3_START */

.pz3-hero h1 {
    font-size: clamp(42px, 5.3vw, 70px);
}

.pz3-hero-visual {
    border: 1px solid #e1e8ee;
    border-radius: 20px;
    background: #fff;
    padding: 18px;
    box-shadow: 0 22px 75px rgba(29,52,72,.07);
}

.pz3-art {
    width: 100%;
    height: auto;
    display: block;
}

.pz3-hero-visual-caption {
    display: flex;
    flex-direction: column;
    gap: 7px;
    border-top: 1px solid #e6ebef;
    padding: 20px 8px 6px;
}

.pz3-hero-visual-caption strong {
    font-size: 16px;
    color: #172332;
}

.pz3-hero-visual-caption span {
    font-size: 12px;
    color: #637184;
}

.pz3-areas {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pz3-area-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e3e9ef;
    border-radius: 18px;
    padding: 26px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.pz3-area-card:hover {
    transform: translateY(-5px);
    border-color: #b5cfe0;
    box-shadow: 0 18px 45px rgba(20,40,60,.08);
}

.pz3-area-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #8695a5;
    font-size: 11px;
    font-weight: 700;
}

.pz3-area-symbol {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eaf3f8;
    color: #287db9;
}

.pz3-area-symbol svg,
.pz3-service-icon svg {
    width: 23px;
    height: 23px;
}

.pz3-area-art {
    margin: 24px 0 12px;
    border-radius: 12px;
    overflow: hidden;
}

.pz3-area-card h3 {
    font-size: 22px;
    line-height: 1.3;
    color: #172332;
    margin: 16px 0 12px;
    letter-spacing: -.03em;
}

.pz3-area-card > p {
    font-size: 13px;
    line-height: 1.8;
    color: #637184;
    margin: 0;
}

.pz3-area-card ul {
    padding: 20px 0 0 17px;
    margin: 16px 0;
    border-top: 1px solid #e7edf1;
    color: #425468;
    font-size: 12px;
    line-height: 2.1;
}

.pz3-more {
    margin-top: auto;
    padding-top: 16px;
    font-weight: 750;
    font-size: 13px;
    color: #287db9;
}

.pz3-hub > .pz-lead {
    max-width: 850px;
}

.pz3-hub-art {
    max-width: 760px;
    margin: 36px 0 55px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e0e9ef;
}

.pz3-block {
    margin: 75px 0;
}

.pz3-block > h2 {
    color: #172332;
    font-size: clamp(27px, 3.5vw, 40px);
    letter-spacing: -.035em;
    line-height: 1.2;
    margin: 0 0 30px;
}

.pz3-copy {
    color: #637184;
    line-height: 1.85;
    max-width: 890px;
}

.pz3-service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.pz3-service {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8fafb;
    border: 1px solid #e3eaf0;
    border-radius: 13px;
    padding: 23px;
    text-decoration: none;
}

.pz3-service:hover {
    border-color: #acc9da;
    background: #f1f7fa;
}

.pz3-service-icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 47px;
    height: 47px;
    color: #287db9;
    background: #e8f2f8;
    border-radius: 12px;
}

.pz3-service-text {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.pz3-service-text strong {
    color: #172332;
    font-size: 16px;
}

.pz3-service-text small {
    color: #637184;
    line-height: 1.7;
    font-size: 12px;
}

.pz3-service-arrow {
    margin-left: auto;
    align-self: flex-start;
    color: #287db9;
}

.pz3-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.pz3-feature {
    background: #f7f9fb;
    border: 1px solid #e3e9ef;
    border-radius: 13px;
    padding: 27px;
    scroll-margin-top: 30px;
}

.pz3-feature h3 {
    font-size: 18px;
    color: #172332;
    margin: 0 0 12px;
}

.pz3-feature p {
    font-size: 14px;
    line-height: 1.8;
    color: #637184;
    margin: 0;
}

@media (max-width: 950px) {
    .pz3-areas {
        grid-template-columns: 1fr;
    }

    .pz3-area-card {
        max-width: 100%;
    }

    .pz3-area-art {
        max-width: 400px;
    }
}

@media (max-width: 680px) {
    .pz3-service-list,
    .pz3-features {
        grid-template-columns: 1fr;
    }

    .pz3-hub-art {
        margin-bottom: 35px;
    }

    .pz3-block {
        margin: 55px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pz3-area-card {
        transition: none;
    }
}

/* PAMAZ_AREAS_V3_END */

/* PAMAZ_GRAPHICS_FIX_V1 */

.pz3-area-art {
    margin: 24px 0 12px;
    overflow: hidden;
    border-radius: 12px;
}

.pz3-area-art img,
.pz3-hub-art img,
.pz3-hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.pz3-area-symbol img,
.pz3-service-icon img {
    display: block;
    width: 24px;
    height: 24px;
}

.pz3-area-symbol,
.pz3-service-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.pz3-area-card {
    overflow: hidden;
}

.pz3-area-card h3 {
    overflow-wrap: anywhere;
}

.pz3-area-art .pz3-art {
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

/* PAMAZ_FOUR_AREAS_V1 */

.pz4-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.pz4-card {
    display: flex;
    flex-direction: column;
    padding: 34px;
    border: 1px solid #e2e8ee;
    border-radius: 18px;
    background: #ffffff;
    text-decoration: none;
    transition:
      transform .2s ease,
      box-shadow .2s ease,
      border-color .2s ease;
}

.pz4-card:hover {
    transform: translateY(-4px);
    border-color: #bdd3e0;
    box-shadow: 0 18px 45px rgba(24, 48, 69, .08);
}

.pz4-card-top {
    display: flex;
    justify-content: space-between;
    color: #397ea8;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .09em;
}

.pz4-card-image {
    margin: 25px 0 18px;
    overflow: hidden;
    border-radius: 12px;
    background: #f2f7fa;
}

.pz4-card-image img,
.pz4-page-image img,
.pz3-hero-visual > img {
    width: 100%;
    height: auto;
    display: block;
}

.pz4-card h3 {
    color: #172332;
    font-size: clamp(22px, 2.5vw, 30px);
    line-height: 1.25;
    letter-spacing: -.035em;
    margin: 0 0 14px;
}

.pz4-card > p {
    color: #637184;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 22px;
}

.pz4-card ul {
    padding: 20px 0 0 21px;
    margin: auto 0 0;
    border-top: 1px solid #e9eef2;
    color: #47596b;
    font-size: 13px;
    line-height: 2.05;
}

.pz4-card-link {
    color: #287db9;
    font-size: 13px;
    font-weight: 750;
    padding-top: 24px;
}

.pz4-page-image {
    max-width: 760px;
    border-radius: 16px;
    overflow: hidden;
    margin: 38px 0 65px;
}

.pz4-section {
    margin: 65px 0;
}

.pz4-section h2 {
    color: #172332;
    font-size: clamp(28px, 3.5vw, 40px);
    letter-spacing: -.04em;
    margin: 0 0 32px;
}

.pz4-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.pz4-feature {
    background: #f7f9fb;
    border: 1px solid #e4eaf0;
    border-radius: 13px;
    padding: 30px;
}

.pz4-feature h3 {
    color: #172332;
    font-size: 19px;
    margin: 0 0 13px;
}

.pz4-feature p {
    color: #637184;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

.pz4-bottom {
    padding: 43px;
    border: 1px solid #e4eaf0;
    background: #f6f8fa;
    border-radius: 16px;
}

.pz4-bottom h2 {
    color: #172332;
    font-size: 29px;
    line-height: 1.3;
    margin: 0 0 15px;
}

.pz4-bottom p {
    color: #637184;
    line-height: 1.8;
    margin-bottom: 25px;
}

@media (max-width: 720px) {
    .pz4-grid,
    .pz4-features {
        grid-template-columns: 1fr;
    }

    .pz4-card {
        padding: 25px;
    }

    .pz4-feature {
        padding: 24px;
    }

    .pz4-bottom {
        padding: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pz4-card {
        transition: none;
    }
}

/* PAMAZ_STOCK_V4_CSS */

.pz4-card-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 12px;
  background: #f3f5f7;
}

.pz4-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.035);
  transition: transform .35s ease, filter .35s ease;
}

.pz4-card:hover .pz4-card-image img {
  transform: scale(1.035);
  filter: saturate(.96) contrast(1.02);
}

.pz4-page-image {
  aspect-ratio: 3 / 2;
  max-width: 1000px;
  overflow: hidden;
  border-radius: 17px;
  background: #f3f5f7;
}

.pz4-page-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.035);
}

@media (prefers-reduced-motion: reduce) {
  .pz4-card-image img {
    transition: none;
  }
}
