/* ============================================================
   RESET & BASE
============================================================ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --clr-dark:    #7A1414;
  --clr-mid:     #B83030;
  --clr-card:   #801a14;
  --clr-amber:   #E8A060;
  --clr-text:    #1e1e1e;
  --clr-muted:   #555;
  --clr-rule:    #ddd;
  --clr-li-bg:   #f5f0f0;
}

html{font-size:14px}

img{width: 100%;max-width: 100%;}

body{
  font-family:'Montserrat',system-ui,-apple-system,sans-serif;
  color:var(--clr-text);
  background:#f2f2f2;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

strong{font-weight:700}

/* ============================================================
   PAGE WRAPPER  (A4-proportioned, centered)
============================================================ */
.page{
  max-width:794px;
  margin:0 auto;
  background:#fff;
  padding:30px 38px 28px;
}

/* ============================================================
   TOP HEADER
============================================================ */
.pg-header{
  font-size:14px;
  color:#aaa;
  padding-bottom:9px;
  border-bottom:1px solid var(--clr-rule);
  margin-bottom:22px;
}

/* ============================================================
   SECTION TITLE BAR  (title + extending rule)
============================================================ */
.sec-bar{
  display:flex;
  align-items:flex-end;
  flex-wrap: wrap;
  gap:5px;
  margin-bottom:18px;
}
.sec-bar__title{
  font-size:18.5px;
  font-weight:800;
  color:var(--clr-dark);
  text-transform:uppercase;
  letter-spacing:.07em;
  white-space:nowrap;
}
.sec-bar__line{
  width: 100%;
  height:2.5px;
  background:var(--clr-dark);
}

/* ============================================================
   HERO
============================================================ */
.hero{
  display:flex;
  gap:32px;
  margin-bottom:28px;
  align-items:center;
}

/* --- Left media column --- */
.hero__media{
  flex:0 0 42%;
  position:relative;
}
.hero__media>img{
  width: 100%;
}

.hero__visual{
  position:relative;
  height:268px;
  background:#eeebe5;
  border-radius:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

/* Ukrainian flag badge */
.ua-flag{
  position:absolute;
  top:10px;
  left:10px;
  width:26px;
  height:26px;
  border-radius:50%;
  overflow:hidden;
  box-shadow:0 1px 4px rgba(0,0,0,.25);
  z-index:3;
  flex-shrink:0;
}
.ua-flag div{height:50%}
.ua-flag .top{background:#005BBB}
.ua-flag .bot{background:#FFD500}

/* Bag mockup */
.bag{
  width:132px;
  height:178px;
  background:linear-gradient(160deg,#e2e2e2 0%,#cacaca 100%);
  border-radius:7px 7px 3px 3px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:2px 5px 14px rgba(0,0,0,.18);
  z-index:1;
}
.bag::before{
  content:'';
  position:absolute;
  top:-13px;
  left:50%;
  transform:translateX(-50%);
  width:68px;
  height:20px;
  background:#d0d0d0;
  border-radius:4px 4px 0 0;
}
.bag::after{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:5px;
  background:#c5c5c5;
  border-radius:7px 7px 0 0;
}
.bag__label{
  font-size:16px;
  font-weight:800;
  color:#8a8a8a;
  text-align:center;
  line-height:1.15;
  letter-spacing:.02em;
  z-index:1;
}

/* Gingerbread cookie */
.cookie{
  position:absolute;
  bottom:14px;
  left:12px;
  width:80px;
  height:80px;
  border-radius:50%;
  background:radial-gradient(circle at 38% 34%,#d4a060 0%,#8b5020 55%,#5e3010 100%);
  box-shadow:0 4px 16px rgba(0,0,0,.3);
  z-index:3;
  overflow:hidden;
}
.cookie::before{
  content:'';
  position:absolute;
  top:26px;
  left:22px;
  width:36px;
  height:28px;
  border-radius:50%;
  background:rgba(120,18,18,.6);
}

/* Decorative circles */
.deco-dots{
  position:absolute;
  right:-14px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  flex-direction:column;
  gap:9px;
  z-index:5;
}
.dot{
  width:21px;
  height:21px;
  border-radius:50%;
}
.dot--o1{background:#E8821E}
.dot--o2{background:#D06818}
.dot--r{background:#7A1414}

/* --- Right content column --- */
.hero__content{flex:1}

.hero-title-bar{
  display:flex;
  align-items:flex-end;
  flex-wrap: wrap;
  gap:12px;
  margin-bottom:13px;
}
.hero-title-bar h1{
  font-size:18.5px;
  font-weight:800;
  color:var(--clr-dark);
  text-transform:uppercase;
  letter-spacing:.06em;
  white-space:nowrap;
}
.hero-title-bar .hr{
  width:100%;
  height:1.5px;
  background:var(--clr-dark);
}

.hero__sub{
  font-size:12.5px;
  font-weight:700;
  color:var(--clr-text);
  margin-bottom:9px;
  line-height:1.4;
}

.hero__desc{
  font-size:11.5px;
  color:#444;
  margin-bottom:11px;
  line-height:1.6;
}

.hero__bullets{
  list-style:none;
  margin-bottom:14px;
}
.hero__bullets li{
  font-size:11.5px;
  color:#333;
  padding-left:11px;
  margin-bottom:4px;
  position:relative;
  line-height:1.5;
}
.hero__bullets li::before{
  content:'•';
  position:absolute;
  left:0;
}

/* Spec row */
.specs{
  display:flex;
  gap:0;
  padding-top:11px;
  border-top:1px solid #e8e0e0;
}
.spec{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.spec>img{
  width: 60px;
}
.spec__lbl{
  font-size:8px;
  font-weight:700;
  text-transform:uppercase;
  color:#999;
  letter-spacing:.07em;
  margin-bottom:5px;
}
.spec__ico{
  width:30px;
  height:30px;
  color:#666;
  margin-bottom:5px;
  flex-shrink:0;
}
.spec__val{
  width: 100%;
  text-align: center;
  font-size:10px;
  color:var(--clr-muted);
  line-height:1.35;
}

/* ============================================================
   RETAIL & PACKAGING
============================================================ */
.retail{margin-bottom:16px}

.ch-fmt{
  display:flex;
  gap:22px;
  margin-bottom:14px;
  align-items:flex-start;
}
.channels,.formats{flex:1}

.sub-h{
  font-size:13.5px;
  font-weight:700;
  color:var(--clr-text);
  margin-bottom:11px;
}

.badges{display:flex;flex-wrap:wrap;gap:7px}
.badge{
  background:var(--clr-dark);
  color:#fff;
  font-size:9px;
  font-weight:700;
  letter-spacing:.05em;
  padding:5px 13px;
  border-radius:20px;
  text-transform:uppercase;
}

.fmt-row{display:flex;gap:13px;align-items:center}
.fmt-bags{display:flex;gap:5px;align-items:center}
.fmt-bags>img.small{
  width: 40px;
}
.fmt-bags>img.medium{
  width: 60px;
}
.fmt-bags>img.big{
  width: 80px;
}
.fbag{
  background:#e2e2e2;
  border-radius:3px 3px 0 0;
  position:relative;
}
.fbag::before{
  content:'';
  position:absolute;
  top:-5px;
  left:50%;
  transform:translateX(-50%);
  width:52%;
  height:8px;
  background:#d2d2d2;
  border-radius:2px 2px 0 0;
}
.fbag--s{width:27px;height:36px}
.fbag--m{width:33px;height:46px}
.fbag--l{width:40px;height:56px}

.fmt-labels{
  font-size:11px;
  color:var(--clr-muted);
  line-height:1.7;
}

/* Three dark cards */
.pkg-cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  margin-bottom:20px;
  gap: 15px;
}
.pkg-card{
  background:var(--clr-card);
  padding:16px 15px;
  border-top-right-radius: 30px;
  border-bottom-left-radius: 30px;
}

.pkg-card__h{
  font-size:12px;
  font-weight:700;
  color:#fff;
  margin-bottom:10px;
  line-height:1.35;
}
.pkg-card ul{list-style:none}
.pkg-card li{
  font-size:11px;
  color:#f0e8e8;
  padding-left:13px;
  margin-bottom:5px;
  position:relative;
  line-height:1.5;
}
.pkg-card li::before{
  content:'•';
  position:absolute;
  left:0;
  color:var(--clr-amber);
}
.pkg-card li em{
  font-style:normal;
  font-size:10.5px;
  color:#c8b8b8;
}

/* ============================================================
   LOGISTICS & COMMERCIAL TERMS
============================================================ */
.logi-comm{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:45px;
  margin-bottom:20px;
}
.logi-comm h2{
  font-size:18.5px;
  font-weight:700;
  color:var(--clr-dark);
  margin-bottom:11px;
}

.arrow-list{list-style:none;display:flex;flex-direction:column;gap:10px}
.arrow-list li{
  display:flex;
  align-items:center;
  gap:9px;
  font-size:11px;
  font-weight: 500;
  color:#575756;
  background:#f1f1f1;
  padding:7px 11px;
  border-radius:100px;
  line-height:1.4;
}
.arrow-btn{
  flex-shrink:0;
  width:19px;
  height:19px;
  border-radius:50%;
  background:var(--clr-dark);
  display:flex;
  align-items:center;
  justify-content:center;
}

/* ============================================================
   WHY HD BAKERY
============================================================ */
.why-hd{margin-bottom:22px}
.why-hd h2{
  font-size:18.5px;
  font-weight:700;
  color:var(--clr-dark);
  margin-bottom:13px;
}
.features{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  justify-content: space-between;
}
.feat{
  display:flex;
  align-items:center;
  font-size:11px;
  color:#333;
  line-height:1.45;
}
.feat__dot{
  flex-shrink:0;
  width:9px;
  height:9px;
  margin-right: 10px;
  border-radius:50%;
  background:var(--clr-dark);
}

/* ============================================================
   FOOTER
============================================================ */
.pg-footer{
  display:flex;
  gap:18px;
  align-items:center;
  padding-top:13px;
  border-top:1px solid var(--clr-rule);
}

.f-qr{flex-shrink:0;text-align:center}
.qr-box{
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:3px;
}
.qr-box{
  width: 77px;
}
.f-site{
  font-size:9px;
  font-weight:700;
  color:#3b3b3b;
  white-space:nowrap;
}

/* .f-contact{flex:0 0 auto} */
.f-company{font-size:12px;font-weight:700;margin-bottom:1px}
.f-person{font-size:10.5px;color:var(--clr-muted);margin-bottom:6px}
.f-info{font-size:10px;color:var(--clr-muted);line-height:1.7}
.f-info span{display:inline-flex;align-items:center;gap:4px}
.f-info span>a{text-decoration: none;color: #1e1e1e;}
.f-info span>a>img{width: 25px;}
.ico-inline{width:11px;height:11px;fill:var(--clr-muted);vertical-align:middle}

.f-certs{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content: end;
  margin-left:auto;
  flex-wrap:wrap;
}
.f-certs>img{
  width: 80%;
}
.cert{display:flex;flex-direction:column;align-items:center;gap:2px}
.cert__b{
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  font-weight:700;
  text-align:center;
  line-height:1.15;
}
.cert__lbl{font-size:7px;color:#aaa;white-space:nowrap;text-align:center}

.cert--eu .cert__b{background:#003399}
.cert--haccp .cert__b{background:#f0f0f0;border:1px solid #ddd;font-size:7px;font-weight:800;color:#444}
.cert--halal .cert__b{background:#2a7030;color:#fff;font-size:13px;font-family:serif}
.cert--u .cert__b{background:#fff;border:2.5px solid #333;color:#333;font-size:17px;font-weight:900}
.cert--ifs .cert__b{background:#003399;color:#fff;font-size:7px;font-weight:800}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width:720px){
  .page{padding:20px}
  .hero{flex-direction:column}
  .hero__media{flex:none;width:100%}
  .hero__visual{height:220px}
  .deco-dots{right:10px}
  .ch-fmt{flex-direction:column}
  .pkg-cards{grid-template-columns:1fr}
  .logi-comm{grid-template-columns:1fr}
  .features{grid-template-columns:repeat(2,1fr)}
  .pg-footer{flex-wrap:wrap}
  .f-certs{margin-left:0}
}

@media (max-width:480px){
  .page{padding:14px}
  .features{grid-template-columns:1fr}
  .specs{flex-wrap:wrap;gap:10px}
  .spec{min-width:42%}
  .pg-footer{flex-direction:column}
  .f-certs{flex-wrap:wrap;justify-content:flex-start}
  .hero-title-bar h1{font-size:15px}
  .sec-bar__title{font-size:12px}
}

@media print{
  body{background:#fff}
  .page{max-width:100%;padding:12mm 14mm;margin:0}
  a{text-decoration:none;color:inherit}
}
