/*
Theme Name: Azurit Print
Theme URI: https://azuritprint.hu/
Author: Mátra Netshop Kft.
Description: Egyedi, reszponzív és teljesen adminisztrálható bemutatkozó WordPress téma az Azurit Print számára.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: azurit-print
*/

:root {
  --az-navy: #061a3b;
  --az-navy-2: #082b5e;
  --az-blue: #0559f5;
  --az-cyan: #00eafa;
  --az-magenta: #ea168c;
  --az-yellow: #ffd11a;
  --az-ink: #07133d;
  --az-muted: #56627a;
  --az-surface: #f4f8fe;
  --az-white: #fff;
  --az-shadow: 0 18px 45px rgba(6, 26, 59, .12);
  --az-radius: 20px;
  --az-container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--az-ink);
  background: var(--az-surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--az-cyan); outline-offset: 3px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.az-container { width: min(calc(100% - 40px), var(--az-container)); margin-inline: auto; }
.az-section { padding: clamp(64px, 8vw, 104px) 0; }
.az-section--light { background: linear-gradient(180deg, #fff, #f3f7fd); }
.az-section-heading { max-width: 900px; margin: 0 auto clamp(34px, 5vw, 54px); text-align: center; }
.az-section-heading h2 {
  margin: 0; color: var(--az-ink); font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.05;
  letter-spacing: -.045em; font-weight: 900;
}
.az-section-heading h2 .az-accent { color: var(--az-blue); }
.az-section-heading h2 span, .az-accent { color: var(--az-blue); }
.az-section-heading p { max-width: 720px; margin: 18px auto 0; color: var(--az-muted); font-size: 1.08rem; }
.az-cmyk-mark { display: inline-flex; gap: 4px; margin-top: 18px; transform: skew(-26deg); }
.az-cmyk-mark i { display: block; width: 26px; height: 6px; border-radius: 2px; }
.az-cmyk-mark i:nth-child(1) { background: var(--az-cyan); }
.az-cmyk-mark i:nth-child(2) { background: var(--az-magenta); }
.az-cmyk-mark i:nth-child(3) { background: var(--az-yellow); }
.az-cmyk-mark i:nth-child(4) { background: #20242e; }

.az-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  padding: 12px 22px; border: 1px solid transparent; border-radius: 12px; cursor: pointer;
  font-weight: 800; line-height: 1.1; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.az-btn::after { content: "→"; font-size: 1.2em; transition: transform .2s ease; }
.az-btn:hover { transform: translateY(-2px); }
.az-btn:hover::after { transform: translateX(4px); }
.az-btn--primary { color: #02152f; background: var(--az-cyan); box-shadow: 0 10px 28px rgba(0, 220, 232, .25); }
.az-btn--primary:hover { background: #31f0f4; }
.az-btn--outline { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(3, 26, 60, .22); backdrop-filter: blur(8px); }
.az-btn--outline:hover { background: rgba(255,255,255,.12); }

/* Header */
.az-site-header {
  position: sticky; top: 0; z-index: 1000; color: #fff;
  background: rgba(4, 25, 58, .96); border-bottom: 1px solid rgba(0, 220, 232, .22);
  box-shadow: 0 8px 28px rgba(0, 12, 31, .22); backdrop-filter: blur(14px);
}
.admin-bar .az-site-header { top: 32px; }
.az-header-inner { min-height: 76px; display: flex; align-items: center; gap: 30px; }
.az-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.az-brand img { width: auto; height: 58px; max-width: 215px; object-fit: contain; }
.az-primary-nav { margin-left: auto; }
.az-primary-nav ul { display: flex; align-items: center; gap: 7px; margin: 0; padding: 0; list-style: none; }
.az-primary-nav a { display: flex; align-items: center; min-height: 42px; padding: 8px 13px; border-radius: 9px; font-weight: 650; font-size: .95rem; }
.az-primary-nav a:hover, .az-primary-nav .current-menu-item > a, .az-primary-nav .current-menu-ancestor > a { color: var(--az-cyan); background: rgba(255,255,255,.06); }
.az-primary-nav .menu-item-has-children { position: relative; }
.az-primary-nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 245px; display: grid; gap: 3px;
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(7px); transition: .18s ease;
  border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: #071f47; box-shadow: var(--az-shadow);
}
.az-primary-nav .menu-item-has-children:hover > .sub-menu, .az-primary-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.az-header-b2b { flex: 0 0 auto; min-height: 42px; padding: 9px 17px; color: #fff; border: 1px solid var(--az-cyan); border-radius: 10px; font-weight: 750; }
.az-header-b2b:hover { color: #051a3a; background: var(--az-cyan); }
.az-menu-toggle { display: none; width: 46px; height: 44px; margin-left: auto; padding: 10px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; }
.az-menu-toggle span { display: block; height: 2px; margin: 5px 0; background: currentColor; }

/* Hero */
.az-hero {
  position: relative; isolation: isolate; min-height: clamp(540px, 66vw, 720px); display: grid; align-items: center;
  color: #fff; background-color: var(--az-navy); background-position: center; background-size: cover; overflow: hidden;
}
.az-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(3,19,48,.98) 0%, rgba(3,25,61,.9) 39%, rgba(3,22,53,.35) 68%, rgba(3,22,53,.18) 100%);
}
.az-hero::after {
  content: ""; position: absolute; inset: auto -8% -40% 48%; z-index: -1; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0,220,232,.18), transparent 65%); filter: blur(20px);
}
.az-hero-content { max-width: 720px; padding: 80px 0; }
.az-hero-kicker { margin: 0 0 16px; color: var(--az-cyan); font-weight: 850; letter-spacing: .13em; text-transform: uppercase; font-size: .82rem; }
.az-hero h1 { margin: 0; font-size: clamp(3.2rem, 7.2vw, 6.6rem); line-height: .93; letter-spacing: -.065em; font-weight: 950; text-wrap: balance; }
.az-hero h1 span { display: block; color: var(--az-cyan); }
.az-hero-text { max-width: 650px; margin: 28px 0 0; color: rgba(255,255,255,.88); font-size: clamp(1.05rem, 1.6vw, 1.28rem); }

/* Technology cards */
.az-tech-grid { display: grid; grid-template-columns: repeat(var(--tech-cols, 5), minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.az-tech-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid #d9e4f2; border-radius: 17px; box-shadow: 0 12px 28px rgba(7, 34, 74, .09); transition: transform .2s ease, box-shadow .2s ease; }
.az-tech-card:hover { transform: translateY(-6px); box-shadow: 0 20px 38px rgba(7, 34, 74, .16); }
.az-tech-card img { width: 100%; aspect-ratio: 1.48; object-fit: cover; }
.az-tech-card-content { padding: 20px 20px 24px; }
.az-tech-card h3 { margin: 0 0 10px; font-size: clamp(1.1rem, 1.6vw, 1.42rem); line-height: 1.06; letter-spacing: -.025em; font-weight: 900; }
.az-tech-card p { margin: 0; color: var(--az-muted); font-size: .95rem; }

/* B2B */
.az-b2b-wrap { background: #fff; padding: 0 0 clamp(60px, 7vw, 90px); }
.az-b2b-wrap--home { background: linear-gradient(180deg, #f3f7fd, #fff); }
.az-b2b {
  position: relative; isolation: isolate; min-height: 430px; overflow: hidden; color: #fff; border-radius: 24px;
  background-color: var(--az-navy); background-position: center; background-size: cover; box-shadow: 0 24px 55px rgba(3, 24, 55, .2);
}
.az-b2b::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2,22,54,.98) 0%, rgba(3,35,76,.95) 49%, rgba(3,24,55,.18) 84%); }
.az-b2b-content { width: 66%; padding: clamp(42px, 6vw, 72px); }
.az-b2b-badge { display: inline-flex; padding: 7px 11px; color: #032449; background: var(--az-cyan); border-radius: 999px; font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.az-b2b h2 { margin: 17px 0 14px; font-size: clamp(2.2rem, 4.4vw, 4.15rem); line-height: .98; letter-spacing: -.055em; font-weight: 950; }
.az-b2b h2 span { color: var(--az-cyan); }
.az-b2b-intro { max-width: 720px; margin: 0; color: rgba(255,255,255,.84); font-size: 1.06rem; }
.az-b2b-features { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; margin: 30px 0; }
.az-b2b-feature svg { width: 30px; height: 30px; color: var(--az-cyan); margin-bottom: 10px; }
.az-b2b-feature h3 { margin: 0 0 5px; font-size: .98rem; }
.az-b2b-feature p { margin: 0; color: rgba(255,255,255,.74); font-size: .83rem; line-height: 1.35; }

/* Solutions */
.az-solutions-grid { display: grid; grid-template-columns: repeat(var(--solution-cols, 2), minmax(0,1fr)); gap: 22px; }
.az-solution-card { position: relative; min-height: 295px; overflow: hidden; border: 1px solid #d8e4f2; border-radius: 20px; background: #fff; box-shadow: var(--az-shadow); }
.az-solution-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.az-solution-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 43%, rgba(255,255,255,.12) 80%); }
.az-solution-content { position: relative; z-index: 2; width: 58%; padding: clamp(28px, 4vw, 44px); }
.az-solution-card h3 { margin: 0 0 11px; font-size: clamp(1.55rem, 2.5vw, 2.25rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 900; }
.az-solution-card p { margin: 0 0 22px; color: var(--az-muted); }
.az-solution-card .az-btn { min-height: 42px; padding: 10px 16px; font-size: .92rem; }

/* Process and contact */
.az-process-section { color: #fff; background: linear-gradient(135deg, #061c45 0%, #073b7a 58%, #061a3b 100%); }
.az-process-section .az-section-heading h2 { color: #fff; }
.az-process-section .az-section-heading h2 span { color: var(--az-cyan); }
.az-process-section .az-section-heading p { color: rgba(255,255,255,.74); }
.az-process-grid { display: grid; grid-template-columns: repeat(var(--process-cols, 3), minmax(0,1fr)); gap: 24px; }
.az-process-card { position: relative; min-height: 175px; padding: 26px; color: var(--az-ink); background: #fff; border-radius: 17px; box-shadow: 0 15px 35px rgba(1,15,40,.18); }
.az-process-card:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -21px; z-index: 3; color: var(--az-cyan); font-size: 1.7rem; font-weight: 900; transform: translateY(-50%); }
.az-process-number { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 15px; color: #031936; background: var(--az-cyan); border-radius: 50%; font-weight: 950; }
.az-process-card img { width: 100%; aspect-ratio: 2.2; margin: -10px 0 18px; object-fit: cover; border-radius: 10px; }
.az-process-card h3 { margin: 0 0 7px; line-height: 1.15; font-size: 1.13rem; }
.az-process-card p { margin: 0; color: var(--az-muted); font-size: .9rem; }
.az-quote-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 28px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.az-quote-copy { flex: 1 1 24rem; min-width: 0; }
.az-quote-copy h2 { margin: 0; font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.12; letter-spacing: -.035em; }
.az-quote-copy h2 span { color: var(--az-cyan); }
.az-quote-copy p { max-width: 650px; margin: 5px 0 0; color: rgba(255,255,255,.85); font-size: .88rem; }
.az-form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; padding: clamp(22px, 3vw, 34px); color: var(--az-ink); background: #fff; border-radius: 18px; box-shadow: 0 20px 55px rgba(0,13,37,.3); }
.az-field { display: grid; gap: 6px; }
.az-field--full { grid-column: 1 / -1; }
.az-field label { font-size: .83rem; font-weight: 800; }
.az-field input, .az-field select, .az-field textarea { width: 100%; min-height: 48px; padding: 11px 13px; color: var(--az-ink); border: 1px solid #cbd8e8; border-radius: 9px; background: #f9fbff; }
.az-field textarea { min-height: 112px; resize: vertical; }
.az-form-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 15px; }
.az-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.az-form-status { margin-bottom: 14px; padding: 13px 16px; border-radius: 10px; font-weight: 750; }
.az-form-status--success { color: #07542c; background: #dff7e9; }
.az-form-status--error { color: #7e1820; background: #fde8ea; }
.az-form-note { margin-right: auto; color: var(--az-muted); font-size: .78rem; }
.az-form-status { grid-column: 1 / -1; padding: 12px 14px; border-radius: 9px; font-weight: 750; }
.az-form-status--success { color: #075934; background: #dff9e9; }
.az-form-status--error { color: #851c2b; background: #ffe3e7; }
.az-hp { position: absolute; left: -9999px; }

/* Footer */
.az-site-footer { color: #fff; background: #031b3f; border-top: 1px solid rgba(0,220,232,.28); }
.az-footer-main { display: grid; grid-template-columns: 1.15fr 2fr 1fr; gap: clamp(34px, 6vw, 70px); padding: 54px 0 42px; }
.az-footer-brand img { width: auto; height: 72px; max-width: 240px; object-fit: contain; }
.az-footer-tagline { margin: 0; color: rgba(255,255,255,.68); font-size: .9rem; }
.az-footer-info { display: contents; }
.az-footer-columns { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 30px; }
.az-footer-column h3, .az-footer-contact h3 { margin: 0 0 14px; color: var(--az-cyan); font-size: .92rem; }
.az-footer-list {
  display: grid;
  gap: .45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #dce7f6;
  font-size: .78rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.az-footer-list a:hover { color: var(--az-cyan); }
.az-footer-contact li { display: grid; grid-template-columns: 1rem minmax(0, 1fr); align-items: start; gap: .55rem; }
.az-footer-contact svg { display: block; width: 1rem; height: 1rem; color: var(--az-cyan); }
.az-footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding: 20px 0; color: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }

/* Inner pages */
.az-page-hero {
  padding: clamp(21px, 3.5vw, 38px) 0;
  text-align: center;
  color: #fff;
  background: linear-gradient(112deg, var(--az-navy), #073776);
  border-bottom: 2px solid var(--az-cyan);
}
.az-page-hero > .az-container,
.az-content { width: min(calc(100% - 40px), 900px); margin-inline: auto; }
.az-page-hero h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.04em; }
.az-content { padding: clamp(24px, 4vw, 42px) 0 clamp(56px, 7vw, 90px); }
.az-content > *:first-child { margin-top: 0; }
.az-content h2, .az-content h3 { line-height: 1.15; letter-spacing: -.025em; }
.az-content > .wp-block-image { margin: 28px 0; }
.az-content > .wp-block-image img { display: block; width: 100%; height: auto; max-height: 410px; object-fit: cover; border-radius: 16px; }
.az-content > .wp-block-image.az-print-banner {
  margin: 0 0 26px;
}
.az-content > .wp-block-image.az-print-banner img {
  aspect-ratio: 2.6;
}
.az-content > .wp-block-list li + li { margin-top: .4em; }
.az-content :is(p, li) > a { color: var(--az-blue); text-decoration: underline; text-underline-offset: .15em; }
.az-content > .wp-block-buttons { margin-top: 26px; }
.az-content .wp-block-button__link:not(.has-background) { background: var(--az-cyan); }
.az-content .wp-block-button__link:not(.has-text-color) { color: #07152c; }

.az-content > .az-program-grid { gap: 16px; margin: 26px 0 0; }
.az-program-grid > .wp-block-column {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 18px;
  border: 1px solid #d3e0f3;
  border-radius: 14px;
  background: #fff;
}
.az-program-grid .wp-block-image { margin: 0 0 16px; }
.az-program-grid .wp-block-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 8px;
  background: #edf3fa;
}
.az-program-grid h2 { margin: 0 0 10px; font-size: 1.22rem; }
.az-program-grid p { margin: 0 0 14px; font-size: .93rem; }
.az-program-grid .wp-block-buttons { margin-top: auto; }
.az-program-grid .wp-block-button__link { padding: 10px 15px; font-size: .87rem; }

.az-content > .az-about-intro { font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.az-content > .az-about-milestones { gap: 14px; margin: 16px 0 32px; }
.az-about-milestones > .wp-block-column {
  padding: 20px;
  background: #fff;
  border: 1px solid #d3e0f3;
  border-radius: 14px;
}
.az-about-milestones h3 { margin: 0 0 8px; color: var(--az-blue); font-size: 1.7rem; }
.az-about-milestones p { margin: 0; }
.az-service-directory { margin-block: 32px 40px; }
.az-service-group + .az-service-group { margin-top: 36px; }
.az-service-group h2 { margin: 0 0 16px; font-size: clamp(1.45rem, 3vw, 1.9rem); }
.az-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 16px;
}
.az-service-grid--solutions { grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr)); }
.az-service-directory .az-service-card { display: flex; flex-direction: column; }
.az-service-directory .az-service-card img { width: 100%; height: auto; aspect-ratio: 2; object-fit: cover; }
.az-service-directory .az-tech-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 18px;
}
.az-service-directory .az-service-card h3 { min-height: 0; font-size: 1.15rem; line-height: 1.2; }
.az-service-directory .az-service-card p { margin-bottom: 12px; font-size: .9rem; line-height: 1.45; }
.az-service-link { margin-top: auto; color: #0753b5; font-size: .9rem; font-weight: 750; }
.az-service-link:hover, .az-service-link:focus-visible { text-decoration: underline; }
.az-content > .az-service-partner {
  padding: clamp(20px, 4vw, 32px);
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(120deg, var(--az-navy), #123d70);
}
.az-service-partner h2 { margin-top: 0; }
.az-content > .az-equipment-intro {
  align-items: center !important;
  gap: clamp(18px, 3.5vw, 36px);
  margin-block: 0 30px;
}
.az-equipment-intro .wp-block-column > :first-child { margin-top: 0; }
.az-equipment-intro .wp-block-column > :last-child { margin-bottom: 0; }
.az-equipment-intro .wp-block-image { max-width: 320px; margin: 0; }
.az-equipment-intro .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
}
.az-content > .az-partner-intro {
  align-items: center !important;
  gap: clamp(18px, 3vw, 38px);
  margin-bottom: 32px;
}
.az-partner-intro .wp-block-column > :first-child { margin-top: 0; }
.az-partner-intro .wp-block-column > :last-child { margin-bottom: 0; }
.az-partner-intro .wp-block-image img {
  display: block;
  max-height: 260px;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.az-content > .az-partner-hero {
  padding: clamp(20px, 4vw, 36px);
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(125deg, var(--az-navy), #123e75);
}
.az-partner-hero h2 { margin-bottom: 10px; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.az-partner-hero p { color: #e3edf9; }
.az-partner-hero .wp-block-image { margin: 0; }
.az-partner-hero .wp-block-image img { max-height: 205px; border-radius: 12px; }
.az-content > .az-partner-machine {
  align-items: center !important;
  gap: clamp(16px, 3vw, 32px);
  margin-block: 12px;
  padding: clamp(14px, 2.5vw, 22px);
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 14px;
}
.az-partner-machine .wp-block-image { margin: 0; }
.az-partner-machine .wp-block-image img {
  display: block;
  width: 100%;
  height: clamp(106px, 16vw, 148px);
  object-fit: contain;
}
.az-partner-machine .wp-block-image:has(> .wp-image-71) {
  position: relative;
  height: clamp(116px, 16vw, 156px);
  overflow: hidden;
}
.az-partner-machine .wp-block-image > .wp-image-71 {
  position: absolute;
  inset: auto 0 0;
  height: 128%;
  object-position: center bottom;
}
.az-partner-machine h3 { margin: 0 0 6px; font-size: 1.2rem; }
.az-partner-machine p { margin: 0 0 6px; }
.az-partner-machine .az-machine-specs { color: #174a82; font-size: .87rem; font-weight: 700; }
.az-partner-machine a { font-size: .9rem; font-weight: 700; }
.az-content .az-partner-section-title { margin-top: 36px; scroll-margin-top: 90px; }
@media (max-width: 560px) {
  .az-content > .az-partner-machine { flex-direction: column; align-items: stretch !important; }
  .az-partner-machine > .wp-block-column { flex-basis: auto !important; }
  .az-partner-machine .wp-block-image img { height: 112px; }
}

.az-contact-layout { width: min(calc(100% - 40px), 1120px); }
.az-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr);
  align-items: start;
  gap: clamp(16px, 3vw, 30px);
  padding-block: clamp(24px, 5vw, 58px) clamp(40px, 7vw, 78px);
}
.az-contact-details,
.az-contact-request {
  min-width: 0;
  padding: clamp(20px, 3.5vw, 36px);
  border-radius: 18px;
}
.az-contact-details {
  color: #fff;
  background: radial-gradient(ellipse at top right, #10427c, transparent 76%),
    linear-gradient(135deg, #04142d, var(--az-navy));
  border: 1px solid #295184;
}
.az-contact-layout h2 { margin: 0 0 18px; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.15; }
.az-contact-details .az-footer-list { gap: 0; font-size: .95rem; }
.az-contact-details li {
  grid-template-columns: 1.25rem minmax(0, 1fr);
  align-items: center;
  gap: .85rem;
  min-height: 50px;
  padding-block: 9px;
  border-top: 1px solid #ffffff26;
}
.az-contact-details svg { width: 1.2rem; height: 1.2rem; }
.az-contact-request { background: #fff; border: 1px solid #d8e4f2; box-shadow: 0 10px 28px #0926530d; }
.az-contact-intro { color: var(--az-muted); margin-bottom: 20px; }
.az-contact-intro p { margin: 0 0 10px; }
.az-contact-request .az-form { padding: 0; background: transparent; box-shadow: none; }
.az-contact-request .az-field :is(input, select) { min-height: 44px; }
.az-contact-request .az-field textarea { min-height: 112px; }
.az-contact-request { scroll-margin-top: 95px; }
@media (max-width: 760px) {
  .az-contact-layout { grid-template-columns: 1fr; }
  .az-contact-layout { width: min(calc(100% - 28px), 1120px); }
}
.az-field input[type="file"] { min-width: 0; font: inherit; font-size: .82rem; }
.az-field input[type="file"]::file-selector-button {
  margin-inline-end: .65rem;
  padding: .4rem .65rem;
  border: 1px solid #cbd8e8;
  border-radius: 6px;
  color: var(--az-ink);
  background: #fff;
  cursor: pointer;
}
.az-field-help { color: var(--az-muted); font-size: .76rem; }

@media (max-width: 900px) {
  .az-tech-grid { grid-template-columns: repeat(var(--tech-cols-tablet, 2), minmax(0,1fr)); }
  .az-primary-nav { position: absolute; inset: 100% 0 auto; display: none; max-height: calc(100dvh - 62px); overflow-y: auto; padding: 18px 20px 24px; background: #061c42; box-shadow: 0 22px 35px rgba(0,0,0,.25); }
  .admin-bar .az-primary-nav { max-height: calc(100dvh - 109px); }
  .az-primary-nav.is-open { display: block; }
  .az-primary-nav ul { align-items: stretch; flex-direction: column; }
  .az-primary-nav a { justify-content: space-between; }
  .az-primary-nav .sub-menu { position: static; min-width: 0; display: grid; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,.04); }
  .az-menu-toggle { display: block; }
  .az-header-b2b { margin-left: 0; }
  .az-tech-grid { grid-template-columns: repeat(var(--tech-cols-tablet, 3), minmax(0, 1fr)); }
  .az-b2b-content { width: 76%; }
  .az-hero-grid { width: min(calc(100% - 40px), var(--az-container)); }
}

@media (max-width: 782px) { .admin-bar .az-site-header { top: 46px; } }

@media (max-width: 760px) {
  .az-container { width: min(calc(100% - 28px), var(--az-container)); }
  .az-brand img { height: 48px; max-width: 170px; }
  .az-header-inner { min-height: 68px; gap: 10px; }
  .az-header-b2b { padding: 8px 11px; font-size: .8rem; }
  .az-hero { min-height: 650px; background-position: 66% center; }
  .az-hero::before { background: linear-gradient(180deg, rgba(2,18,44,.77), rgba(2,20,50,.96) 58%, #031b42 100%); }
  .az-hero-content { padding: 74px 0 58px; align-self: end; }
  .az-hero h1 { font-size: clamp(3.05rem, 14vw, 5rem); }
  .az-btn { width: 100%; }
  .az-tech-grid { grid-template-columns: 1fr; }
  .az-tech-card { display: grid; grid-template-columns: 42% 1fr; }
  .az-tech-card img { height: 100%; aspect-ratio: auto; }
  .az-tech-card-content { padding: 18px; }
  .az-b2b { min-height: 620px; background-position: 69% bottom; }
  .az-b2b::before { background: linear-gradient(180deg, rgba(2,22,54,.98) 0%, rgba(3,35,76,.9) 58%, rgba(3,24,55,.38) 100%); }
  .az-b2b-content { width: 100%; padding: 34px 24px 260px; text-align: center; }
  .az-b2b-features { grid-template-columns: 1fr; text-align: left; }
  .az-solutions-grid { grid-template-columns: 1fr; }
  .az-solution-card { min-height: 390px; }
  .az-solution-card::after { background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 52%, rgba(255,255,255,.1) 100%); }
  .az-solution-content { width: 100%; padding: 28px; }
  .az-solution-content .az-btn { width: auto; }
  .az-process-grid { grid-template-columns: 1fr; }
  .az-process-card:not(:last-child)::after { content: "↓"; top: auto; right: 50%; bottom: -25px; transform: translateX(50%); }
  .az-quote-panel { justify-content: center; }
  .az-quote-copy { text-align: center; }
  .az-form { grid-template-columns: 1fr; }
  .az-field { grid-column: 1 / -1; }
  .az-form-actions { align-items: stretch; flex-direction: column; }
  .az-form-actions .az-btn { width: 100%; }
  .az-footer-main { grid-template-columns: 1fr; }
  .az-footer-columns { grid-template-columns: 1fr 1fr; }
  .az-footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .az-header-b2b { display: none; }
  .az-tech-card { display: block; }
  .az-tech-card img { aspect-ratio: 1.6; }
  .az-footer-columns { grid-template-columns: 1fr; }
}

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

/* V1.1 – a jóváhagyott látványterv arányai és kompozíciója */
.az-site-header { background: linear-gradient(105deg, #03142f, #072951 56%, #041a3b); }
.az-site-footer { background: linear-gradient(115deg, #03142f, var(--az-navy) 54%, #031633); }
.az-btn--primary { box-shadow: 0 3px 14px rgba(0, 234, 250, .15); }
.az-header-inner { min-height: 50px; }
.az-brand img { width: 205px; height: 43px; max-width: none; object-fit: cover; }
.az-primary-nav a { min-height: 34px; font-size: .82rem; }
.az-header-b2b { min-width: 118px; min-height: 34px; padding: 6px 14px; text-align: center; }

.az-hero {
  min-height: 250px;
  background:
    radial-gradient(ellipse at 60% 61%, #0651b9 0%, transparent 46%),
    linear-gradient(114deg, #021334 5%, var(--az-navy) 37%, #032556 74%, #064a96 100%);
}
.az-hero::before {
  background:
    linear-gradient(123deg, transparent 0 87%, #007cdb75 87% 93%, #0057a979 93%),
    linear-gradient(123deg, #0952b046 0 10%, transparent 10%);
}
.az-hero::after { inset: -35% -10% auto auto; width: 52%; background: radial-gradient(circle, #0060d06b, transparent 65%); }
.az-hero-grid { display: grid; width: min(calc(100% - 120px), 1100px); grid-template-columns: 1.06fr .94fr; gap: 32px; align-items: center; }
.az-hero-content { max-width: 600px; padding: 22px 0 24px; }
.az-hero h1 { font-size: clamp(2.55rem, 4.25vw, 3.65rem); line-height: .94; }
.az-cmyk-mark--hero { justify-content: flex-start; margin: 12px 0 0 6px; }
.az-hero-text { max-width: 500px; margin-top: 14px; font-size: .88rem; line-height: 1.42; }
.az-hero-visual { display: grid; place-items: center; min-width: 0; }
.az-hero-visual img { width: min(100%, 390px); max-height: 220px; object-fit: contain; filter: drop-shadow(0 18px 28px rgba(0,10,34,.34)); }
.az-hero-logo {
  position: relative;
  width: min(100%, 220px * 807 / 559);
  filter: drop-shadow(0 18px 28px rgba(0,10,34,.34));
}
.az-hero-visual .az-hero-logo img { display: block; width: 100%; height: auto; filter: none; }
/* The logo's alpha channel keeps the original lettering and its antialiased edges. */
.az-hero-logo::before,
.az-hero-logo::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  mask: url("assets/images/azurit-print-logo-header.png") center / 100% 100% no-repeat;
}
.az-hero-logo::before {
  background: #fdfdfd;
  clip-path: polygon(0 74%, 57% 74%, 53% 89%, 0 89%);
}
.az-hero-logo::after {
  background: #2cfbfc;
  clip-path: polygon(57% 74%, 100% 74%, 100% 89%, 53% 89%);
}

#technologiak.az-section { padding: 20px 0 30px; }
#technologiak .az-section-heading { margin-bottom: 14px; }
#technologiak .az-section-heading h2 { font-size: clamp(2rem, 3.25vw, 3rem); }
#technologiak .az-cmyk-mark { margin-top: 10px; }
.az-tech-grid { gap: 10px; }
.az-tech-card { border-radius: 13px; box-shadow: 0 7px 15px rgba(7,34,74,.12); }
.az-tech-card img { aspect-ratio: 1.85; }
.az-tech-card-content { padding: 10px 12px 13px; }
.az-tech-card h3 { min-height: 2.15em; margin-bottom: 6px; font-size: clamp(.96rem, 1.35vw, 1.18rem); }
.az-tech-card p { font-size: .78rem; line-height: 1.22; }

.az-b2b-wrap { padding-bottom: 25px; }
.az-b2b {
  min-height: 0;
  border-radius: 18px;
  background: radial-gradient(ellipse at 63% 105%, #083e80 0%, transparent 52%),
    linear-gradient(110deg, #03152f, var(--az-navy) 55%, #011632);
  box-shadow: none;
}
.az-b2b::before {
  inset: 0 0 auto auto;
  width: 25%;
  height: 48%;
  background: repeating-linear-gradient(135deg, transparent 0 8px, #158aff80 8px 9px);
  mask-image: linear-gradient(128deg, transparent 24%, #000 64%, transparent 90%);
}
.az-b2b-visual {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 29%;
  height: 57%;
  object-fit: contain;
  object-position: right bottom;
  filter: saturate(.68);
  opacity: .84;
}
.az-b2b-content { position: relative; width: 100%; padding: 24px 3.2%; }
.az-b2b-badge { display: none; }
.az-b2b h2 { margin: 0; text-align: center; font-size: clamp(1.8rem, 3.3vw, 2.6rem); }
.az-b2b .az-cmyk-mark { display: flex; width: max-content; margin: 9px auto 10px; }
.az-b2b-intro { max-width: 64ch; margin-inline: auto; text-align: center; font-size: .96rem; line-height: 1.3; }
.az-b2b-features { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px 0 0; gap: 17px clamp(12px, 2vw, 26px); }
.az-b2b-actions { margin-top: 20px; text-align: center; }
.az-b2b--illustrated :is(.az-b2b-features, .az-b2b-actions) { width: 68%; }
.az-b2b-feature {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 10px;
  align-items: start;
}
.az-b2b-feature svg { grid-row: 1 / span 2; width: 26px; height: 26px; margin: 0; }
.az-b2b-feature h3 { margin: 0 0 4px; font-size: .9rem; line-height: 1.2; }
.az-b2b-feature p { grid-column: 2; color: #c9dbf1; font-size: .8rem; line-height: 1.35; }
.az-b2b-actions .az-btn {
  width: auto;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid var(--az-cyan);
  background: transparent;
  color: var(--az-cyan);
  box-shadow: none;
}
.az-b2b-actions .az-btn:is(:hover, :focus-visible) {
  background: var(--az-cyan);
  color: #02152f;
}

#szakmai-megoldasok.az-section { padding: 25px 0 28px; }
.az-b2b-wrap--home + #szakmai-megoldasok.az-section { padding-top: 8px; }
#szakmai-megoldasok .az-section-heading { margin-bottom: 20px; }
#szakmai-megoldasok .az-section-heading h2,
#ajanlatkeres .az-section-heading h2 { font-size: clamp(1.9rem,3.2vw,2.75rem); }
#szakmai-megoldasok .az-cmyk-mark { margin-top: 9px; }
.az-solutions-grid { gap: 12px; }
.az-solution-card { min-height: 200px; border-radius: 14px; }
.az-solution-content { width: 54%; padding: 20px 23px; }
.az-solution-card h3 { margin-bottom: 7px; font-size: clamp(1.35rem,2.15vw,1.8rem); }
.az-solution-card p { margin-bottom: 13px; font-size: .85rem; line-height: 1.28; }
.az-solution-card .az-btn { min-height: 36px; padding: 8px 13px; font-size: .8rem; }

#ajanlatkeres.az-section { padding: 30px 0 26px; background: #f7faff; }
.az-process-shell { position: relative; overflow: hidden; padding: 24px 28px 22px; color: #fff; background: radial-gradient(ellipse at 49% 115%, #0758bf, transparent 58%), linear-gradient(115deg, #021535, var(--az-navy) 58%, #042c65); border-radius: 18px; box-shadow: 0 16px 35px rgba(5,31,72,.12); }
.az-process-shell::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.55; background:linear-gradient(135deg,transparent 0 13%,rgba(8,112,211,.28) 13% 18%,transparent 18% 100%); }
.az-process-shell > * { position: relative; }
#ajanlatkeres .az-section-heading { margin-bottom: 22px; }
#ajanlatkeres .az-section-heading p { display: none; }
#ajanlatkeres .az-cmyk-mark { margin-top: 10px; }
.az-process-grid { gap: 18px; }
.az-process-card { display:grid; grid-template-columns:34px 38px 1fr; gap:10px; align-items:start; min-height: 88px; padding: 13px 14px; }
.az-process-number { position: static; width: 34px; height: 34px; margin:0; }
.az-process-card .az-process-icon { width:34px; height:34px; margin:0; object-fit:contain; border-radius:0; }
.az-process-copy { min-width:0; }
.az-process-card h3 { font-size: .95rem; }
.az-process-card p { font-size: .74rem; line-height: 1.3; }
.az-form { gap: 8px; padding: 14px; border-radius: 13px; }
.az-field { gap: 3px; }
.az-field label { font-size: .72rem; }
.az-field input,.az-field select { min-height: 37px; padding: 7px 10px; }
.az-field textarea { min-height: 68px; padding: 7px 10px; }
.az-form .az-btn { width: auto; min-height: 38px; padding: 8px 15px; }

.az-footer-main { gap: 36px; padding: 22px 0 16px; }
@media (min-width: 761px) {
  .az-footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px clamp(14px, 2.5vw, 36px);
  }
  .az-footer-main .az-footer-brand {
    width: min(230px, calc((100% - 72px) * .9 / 3.65));
  }
  .az-footer-info .az-footer-columns { display: contents; }
  .az-footer-info :is(.az-footer-column, .az-footer-contact) { min-width: 0; }
}
.az-footer-brand { width: min(100%, 230px); text-align: center; }
.az-footer-brand img { width: 210px; height: 44px; max-width: 100%; object-fit: cover; }
.az-footer-tagline { color: #dce7f6; font-size: .76rem; line-height: 1.45; }
.az-footer-brand img + .az-footer-tagline { margin-top: 8px; }
.az-footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.az-footer-brand > * + .az-footer-social { margin-top: 20px; }
.az-footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #e1edf9;
  border: 1px solid rgba(220, 234, 255, .28);
  border-radius: 8px;
}
.az-footer-social a:hover,
.az-footer-social a:focus-visible { color: var(--az-cyan); border-color: currentColor; }
.az-footer-social svg { width: 17px; height: 17px; }
.az-footer-column h3,.az-footer-contact h3 { margin-bottom: .6rem; font-size: .78rem; }
.az-footer-bottom { padding: 10px 0; font-size: .7rem; }

@media (max-width: 760px) {
  .az-header-inner { min-height: 62px; }
  .az-brand img { width: 175px; height: 37px; object-fit: cover; }
  .az-hero { min-height: 590px; }
  .az-hero-grid { grid-template-columns: 1fr; gap: 0; }
  .az-hero-visual { grid-row: 1; padding-top: 25px; }
  .az-hero-visual img { width: min(75vw,360px); max-height: 220px; }
  .az-hero-logo { width: min(75vw, 100%, 220px * 807 / 559); }
  .az-hero-content { grid-row: 2; padding: 18px 0 42px; text-align: center; }
  .az-hero h1 { font-size: clamp(2.8rem,13vw,4.6rem); }
  .az-cmyk-mark--hero { justify-content: center; margin-inline: auto; }
  .az-hero-text { margin-inline: auto; }
  .az-tech-card h3 { min-height: 0; }
  .az-b2b-content { padding: 25px 20px 20px; }
  .az-b2b--illustrated .az-b2b-content { padding-bottom: clamp(120px, 26vw, 190px); }
  .az-b2b-visual { width: min(75%, 320px); height: clamp(110px, 25vw, 178px); }
  .az-b2b-features { width: 100%; grid-template-columns: 1fr; }
  .az-b2b--illustrated :is(.az-b2b-features, .az-b2b-actions) { width: 100%; }
  .az-solution-card { min-height: 360px; }
  .az-process-shell { padding: 24px 18px 20px; }
  .az-footer-main { grid-template-columns: 1fr; padding-top: 30px; }
  .az-footer-brand { justify-self: center; }
}
